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-i 4 $id: http://devicetree.org/schemas/ipmi/ipmi-ipmb.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: IPMI IPMB device 7 title: IPMI IPMB device 8 8 9 description: IPMI IPMB device bindings 9 description: IPMI IPMB 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-ipmb 17 - ipmi-ipmb 18 18 19 device_type: 19 device_type: 20 items: 20 items: 21 - const: ipmi 21 - const: ipmi 22 22 23 reg: 23 reg: 24 maxItems: 1 24 maxItems: 1 25 25 26 bmcaddr: 26 bmcaddr: 27 $ref: /schemas/types.yaml#/definitions/uin 27 $ref: /schemas/types.yaml#/definitions/uint8 28 description: The address of the BMC on the 28 description: The address of the BMC on the IPMB bus. Defaults to 0x20. 29 29 30 retry-time: 30 retry-time: 31 $ref: /schemas/types.yaml#/definitions/uin 31 $ref: /schemas/types.yaml#/definitions/uint32 32 description: | 32 description: | 33 Time between retries of sends, in millis 33 Time between retries of sends, in milliseconds. Defaults to 250. 34 34 35 max-retries: 35 max-retries: 36 $ref: /schemas/types.yaml#/definitions/uin 36 $ref: /schemas/types.yaml#/definitions/uint32 37 description: Number of retries before a fa 37 description: Number of retries before a failure is declared. Defaults to 1. 38 38 39 slave-dev: 39 slave-dev: 40 $ref: /schemas/types.yaml#/definitions/pha 40 $ref: /schemas/types.yaml#/definitions/phandle 41 description: | 41 description: | 42 The slave i2c device. If not present, t 42 The slave i2c device. If not present, the main device is used. This 43 lets you use two devices on the IPMB, on 43 lets you use two devices on the IPMB, one for master and one for slave, 44 in case you have a slave device that can 44 in case you have a slave device that can only be a slave. The slave 45 will receive messages and the master wil 45 will receive messages and the master will transmit. 46 46 47 required: 47 required: 48 - compatible 48 - compatible 49 - reg 49 - reg 50 50 51 additionalProperties: false 51 additionalProperties: false 52 52 53 examples: 53 examples: 54 - | 54 - | 55 i2c { 55 i2c { 56 #address-cells = <1>; 56 #address-cells = <1>; 57 #size-cells = <0>; 57 #size-cells = <0>; 58 58 59 ipmi-ipmb@40 { 59 ipmi-ipmb@40 { 60 compatible = "ipmi-ipmb"; 60 compatible = "ipmi-ipmb"; 61 device_type = "ipmi"; 61 device_type = "ipmi"; 62 reg = <0x40>; 62 reg = <0x40>; 63 bmcaddr = /bits/ 8 <0x20>; 63 bmcaddr = /bits/ 8 <0x20>; 64 retry-time = <250>; 64 retry-time = <250>; 65 max-retries = <1>; 65 max-retries = <1>; 66 }; 66 }; 67 }; 67 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.