IPMI device

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

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

IPMI device bindings

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ipmi-kcs", "ipmi-smic", "ipmi-bt"

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

interrupts — not listed as required here #

Interface is polled if this property is omitted.

Maximum number of items (maxItems): 1

reg-size — not listed as required here #

The access width of the register in bytes. Defaults to 1.

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

Allowed values (enum): 1, 2, 4, 8

reg-spacing — not listed as required here #

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

The number of bytes between register starts. Defaults to 1.

reg-shift — not listed as required here #

The amount of bits to shift the register content to the right to get the data into bit zero.

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

Maximum value (maximum): 56

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) #

smic@fff3a000 {
    compatible = "ipmi-smic";
    device_type = "ipmi";
    reg = <0xfff3a000 0x1000>;
    interrupts = <0 24 4>;
    reg-size = <4>;
    reg-spacing = <4>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page