13a076b30SCorey Minyard# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 23a076b30SCorey Minyard%YAML 1.2 33a076b30SCorey Minyard--- 43a076b30SCorey Minyard$id: http://devicetree.org/schemas/ipmi/ipmi-ipmb.yaml# 53a076b30SCorey Minyard$schema: http://devicetree.org/meta-schemas/core.yaml# 63a076b30SCorey Minyard 784e85359SKrzysztof Kozlowskititle: IPMI IPMB device 83a076b30SCorey Minyard 93a076b30SCorey Minyarddescription: IPMI IPMB device bindings 103a076b30SCorey Minyard 113a076b30SCorey Minyardmaintainers: 123a076b30SCorey Minyard - Corey Minyard <cminyard@mvista.com> 133a076b30SCorey Minyard 143a076b30SCorey Minyardproperties: 153a076b30SCorey Minyard compatible: 163a076b30SCorey Minyard enum: 173a076b30SCorey Minyard - ipmi-ipmb 183a076b30SCorey Minyard 193a076b30SCorey Minyard device_type: 203a076b30SCorey Minyard items: 21*45698208SRob Herring - const: ipmi 223a076b30SCorey Minyard 233a076b30SCorey Minyard reg: 243a076b30SCorey Minyard maxItems: 1 253a076b30SCorey Minyard 263a076b30SCorey Minyard bmcaddr: 273a076b30SCorey Minyard $ref: /schemas/types.yaml#/definitions/uint8 283a076b30SCorey Minyard description: The address of the BMC on the IPMB bus. Defaults to 0x20. 293a076b30SCorey Minyard 303a076b30SCorey Minyard retry-time: 313a076b30SCorey Minyard $ref: /schemas/types.yaml#/definitions/uint32 323a076b30SCorey Minyard description: | 333a076b30SCorey Minyard Time between retries of sends, in milliseconds. Defaults to 250. 343a076b30SCorey Minyard 353a076b30SCorey Minyard max-retries: 363a076b30SCorey Minyard $ref: /schemas/types.yaml#/definitions/uint32 373a076b30SCorey Minyard description: Number of retries before a failure is declared. Defaults to 1. 383a076b30SCorey Minyard 3900d93611SCorey Minyard slave-dev: 4000d93611SCorey Minyard $ref: /schemas/types.yaml#/definitions/phandle 4100d93611SCorey Minyard description: | 4200d93611SCorey Minyard The slave i2c device. If not present, the main device is used. This 4300d93611SCorey Minyard lets you use two devices on the IPMB, one for master and one for slave, 4400d93611SCorey Minyard in case you have a slave device that can only be a slave. The slave 4500d93611SCorey Minyard will receive messages and the master will transmit. 4600d93611SCorey Minyard 473a076b30SCorey Minyardrequired: 483a076b30SCorey Minyard - compatible 493a076b30SCorey Minyard - reg 503a076b30SCorey Minyard 513a076b30SCorey MinyardadditionalProperties: false 523a076b30SCorey Minyard 533a076b30SCorey Minyardexamples: 543a076b30SCorey Minyard - | 553a076b30SCorey Minyard i2c { 563a076b30SCorey Minyard #address-cells = <1>; 573a076b30SCorey Minyard #size-cells = <0>; 583a076b30SCorey Minyard 593a076b30SCorey Minyard ipmi-ipmb@40 { 603a076b30SCorey Minyard compatible = "ipmi-ipmb"; 613a076b30SCorey Minyard device_type = "ipmi"; 623a076b30SCorey Minyard reg = <0x40>; 633a076b30SCorey Minyard bmcaddr = /bits/ 8 <0x20>; 643a076b30SCorey Minyard retry-time = <250>; 653a076b30SCorey Minyard max-retries = <1>; 663a076b30SCorey Minyard }; 673a076b30SCorey Minyard }; 68