Cadence I3C master block

Schema identifier ($id): "http://devicetree.org/schemas/i3c/cdns,i3c-master.yaml#"

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

Maintainers (maintainers): "Boris Brezillon <bbrezillon@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): i3c.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "cdns,i3c-master"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "axiado,ax3000-i3c"

Item 2

Exact value (const): "cdns,i3c-master"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "sysclk"

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i3c@d040000 {
    compatible = "cdns,i3c-master";
    clocks = <&coreclock>, <&i3csysclock>;
    clock-names = "pclk", "sysclk";
    interrupts = <3 0>;
    reg = <0x0d040000 0x1000>;
    #address-cells = <3>;
    #size-cells = <0>;
    i2c-scl-hz = <100000>;

    eeprom@57{
        compatible = "atmel,24c01";
        reg = <0x57 0x0 0x10>;
        pagesize = <0x8>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page