IPMI IPMB device

Schema identifier ($id): "http://devicetree.org/schemas/ipmi/ipmi-ipmb.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

IPMI IPMB device bindings

Maintainers (maintainers): "Corey Minyard <cminyard@mvista.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ipmi-ipmb"

device_type — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "ipmi"

reg — required here #

Maximum number of items (maxItems): 1

bmcaddr — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8

The address of the BMC on the IPMB bus. Defaults to 0x20.

retry-time — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Time between retries of sends, in milliseconds. Defaults to 250.

max-retries — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Number of retries before a failure is declared. Defaults to 1.

slave-dev — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

The slave i2c device. If not present, the main device is used. This lets you use two devices on the IPMB, one for master and one for slave, in case you have a slave device that can only be a slave. The slave will receive messages and the master will transmit.

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        ipmi-ipmb@40 {
                compatible = "ipmi-ipmb";
                device_type = "ipmi";
                reg = <0x40>;
                bmcaddr = /bits/ 8 <0x20>;
                retry-time = <250>;
                max-retries = <1>;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page