NXP PCA9541 I2C bus master selector

Schema identifier ($id): "http://devicetree.org/schemas/i2c/nxp,pca9541.yaml#"

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

Maintainers (maintainers): "Peter Rosin <peda@axentia.se>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,pca9541"

reg — required here #

Maximum number of items (maxItems): 1

i2c-arb — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/i2c/i2c-controller.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

I2C arbitration bus node.

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

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

    i2c-arbitrator@74 {
        compatible = "nxp,pca9541";
        reg = <0x74>;

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

            eeprom@54 {
                compatible = "atmel,24c08";
                reg = <0x54>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page