1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/ipmi/ipmi-ipmb.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: IPMI IPMB device bindings
8
9description: IPMI IPMB device bindings
10
11maintainers:
12  - Corey Minyard <cminyard@mvista.com>
13
14properties:
15  compatible:
16    enum:
17      - ipmi-ipmb
18
19  device_type:
20    items:
21      - const: "ipmi"
22
23  reg:
24    maxItems: 1
25
26  bmcaddr:
27    $ref: /schemas/types.yaml#/definitions/uint8
28    description: The address of the BMC on the IPMB bus.  Defaults to 0x20.
29
30  retry-time:
31    $ref: /schemas/types.yaml#/definitions/uint32
32    description: |
33      Time between retries of sends, in milliseconds.  Defaults to 250.
34
35  max-retries:
36    $ref: /schemas/types.yaml#/definitions/uint32
37    description: Number of retries before a failure is declared.  Defaults to 1.
38
39required:
40  - compatible
41  - reg
42
43additionalProperties: false
44
45examples:
46  - |
47    i2c {
48            #address-cells = <1>;
49            #size-cells = <0>;
50
51            ipmi-ipmb@40 {
52                    compatible = "ipmi-ipmb";
53                    device_type = "ipmi";
54                    reg = <0x40>;
55                    bmcaddr = /bits/ 8 <0x20>;
56                    retry-time = <250>;
57                    max-retries = <1>;
58            };
59    };
60