Amlogic Meson I2C Controller

Schema identifier ($id): "http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#"

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Beniamino Galvani <b.galvani@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "amlogic,meson6-i2c", "amlogic,meson-gxbb-i2c", "amlogic,meson-axg-i2c"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c@c8100500 {
    compatible = "amlogic,meson6-i2c";
    reg = <0xc8100500 0x20>;
    interrupts = <92>;
    clocks = <&clk81>;
    #address-cells = <1>;
    #size-cells = <0>;

    eeprom@52 {
        compatible = "atmel,24c32";
        reg = <0x52>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2019 BayLibre, SAS

Line 20: Meson6, Meson8 and compatible SoCs

Line 21: GXBB and compatible SoCs

Line 22: AXG and compatible SoCs

Edit this page