1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/ipmi/ipmi-s 4 $id: http://devicetree.org/schemas/ipmi/ipmi-smic.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: IPMI device 7 title: IPMI device 8 8 9 description: IPMI device bindings 9 description: IPMI device bindings 10 10 11 maintainers: 11 maintainers: 12 - Corey Minyard <cminyard@mvista.com> 12 - Corey Minyard <cminyard@mvista.com> 13 13 14 properties: 14 properties: 15 compatible: 15 compatible: 16 enum: 16 enum: 17 - ipmi-kcs 17 - ipmi-kcs 18 - ipmi-smic 18 - ipmi-smic 19 - ipmi-bt 19 - ipmi-bt 20 20 21 device_type: 21 device_type: 22 items: 22 items: 23 - const: ipmi 23 - const: ipmi 24 24 25 reg: 25 reg: 26 maxItems: 1 26 maxItems: 1 27 27 28 interrupts: 28 interrupts: 29 description: Interface is polled if this p 29 description: Interface is polled if this property is omitted. 30 maxItems: 1 30 maxItems: 1 31 31 32 reg-size: 32 reg-size: 33 description: The access width of the regis 33 description: The access width of the register in bytes. Defaults to 1. 34 $ref: /schemas/types.yaml#/definitions/uin 34 $ref: /schemas/types.yaml#/definitions/uint32 35 enum: [1, 2, 4, 8] 35 enum: [1, 2, 4, 8] 36 36 37 reg-spacing: 37 reg-spacing: 38 $ref: /schemas/types.yaml#/definitions/uin 38 $ref: /schemas/types.yaml#/definitions/uint32 39 description: The number of bytes between r 39 description: The number of bytes between register starts. Defaults to 1. 40 40 41 reg-shift: 41 reg-shift: 42 description: | 42 description: | 43 The amount of bits to shift the register 43 The amount of bits to shift the register content to the right to get 44 the data into bit zero. 44 the data into bit zero. 45 $ref: /schemas/types.yaml#/definitions/uin 45 $ref: /schemas/types.yaml#/definitions/uint32 46 maximum: 56 46 maximum: 56 47 47 48 required: 48 required: 49 - compatible 49 - compatible 50 - reg 50 - reg 51 51 52 additionalProperties: false 52 additionalProperties: false 53 53 54 examples: 54 examples: 55 - | 55 - | 56 smic@fff3a000 { 56 smic@fff3a000 { 57 compatible = "ipmi-smic"; 57 compatible = "ipmi-smic"; 58 device_type = "ipmi"; 58 device_type = "ipmi"; 59 reg = <0xfff3a000 0x1000>; 59 reg = <0xfff3a000 0x1000>; 60 interrupts = <0 24 4>; 60 interrupts = <0 24 4>; 61 reg-size = <4>; 61 reg-size = <4>; 62 reg-spacing = <4>; 62 reg-spacing = <4>; 63 }; 63 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.