Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / ipmi / ipmi-ipmb.yaml
blob52647bff31affea9e2269f2791d07cb26066c93a
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#
7 title: IPMI IPMB device
9 description: IPMI IPMB device bindings
11 maintainers:
12   - Corey Minyard <cminyard@mvista.com>
14 properties:
15   compatible:
16     enum:
17       - ipmi-ipmb
19   device_type:
20     items:
21       - const: ipmi
23   reg:
24     maxItems: 1
26   bmcaddr:
27     $ref: /schemas/types.yaml#/definitions/uint8
28     description: The address of the BMC on the IPMB bus.  Defaults to 0x20.
30   retry-time:
31     $ref: /schemas/types.yaml#/definitions/uint32
32     description: |
33       Time between retries of sends, in milliseconds.  Defaults to 250.
35   max-retries:
36     $ref: /schemas/types.yaml#/definitions/uint32
37     description: Number of retries before a failure is declared.  Defaults to 1.
39   slave-dev:
40     $ref: /schemas/types.yaml#/definitions/phandle
41     description: |
42       The slave i2c device.  If not present, the main device is used. This
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 only be a slave.  The slave
45       will receive messages and the master will transmit.
47 required:
48   - compatible
49   - reg
51 additionalProperties: false
53 examples:
54   - |
55     i2c {
56             #address-cells = <1>;
57             #size-cells = <0>;
59             ipmi-ipmb@40 {
60                     compatible = "ipmi-ipmb";
61                     device_type = "ipmi";
62                     reg = <0x40>;
63                     bmcaddr = /bits/ 8 <0x20>;
64                     retry-time = <250>;
65                     max-retries = <1>;
66             };
67     };