64 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/ipmi/ipmi-smic.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: IPMI device8 9description: IPMI device bindings10 11maintainers:12 - Corey Minyard <cminyard@mvista.com>13 14properties:15 compatible:16 enum:17 - ipmi-kcs18 - ipmi-smic19 - ipmi-bt20 21 device_type:22 items:23 - const: ipmi24 25 reg:26 maxItems: 127 28 interrupts:29 description: Interface is polled if this property is omitted.30 maxItems: 131 32 reg-size:33 description: The access width of the register in bytes. Defaults to 1.34 $ref: /schemas/types.yaml#/definitions/uint3235 enum: [1, 2, 4, 8]36 37 reg-spacing:38 $ref: /schemas/types.yaml#/definitions/uint3239 description: The number of bytes between register starts. Defaults to 1.40 41 reg-shift:42 description: |43 The amount of bits to shift the register content to the right to get44 the data into bit zero.45 $ref: /schemas/types.yaml#/definitions/uint3246 maximum: 5647 48required:49 - compatible50 - reg51 52additionalProperties: false53 54examples:55 - |56 smic@fff3a000 {57 compatible = "ipmi-smic";58 device_type = "ipmi";59 reg = <0xfff3a000 0x1000>;60 interrupts = <0 24 4>;61 reg-size = <4>;62 reg-spacing = <4>;63 };64