Renesas RZ/V2M I2C Bus Interface

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

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

Maintainers (maintainers): "Fabrizio Castro <fabrizio.castro.jz@renesas.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 #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r9a09g011-i2c"

Item 2

Exact value (const): "renesas,rzv2m-i2c"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

Data transmission/reception interrupt

Item 2

Status interrupt

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "tia"

Item 2

Exact value (const): "tis"

clock-frequency — not listed as required here #

Default value (default): 100000

Allowed values (enum): 100000, 400000

Desired I2C bus clock frequency in Hz.

clocks — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "power-domains", "resets", "#address-cells", "#size-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r9a09g011-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

i2c0: i2c@a4030000 {
    compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c";
    reg = <0xa4030000 0x80>;
    interrupts = <GIC_SPI 232 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 236 IRQ_TYPE_EDGE_RISING>;
    interrupt-names = "tia", "tis";
    clocks = <&cpg CPG_MOD R9A09G011_IIC_PCLK0>;
    resets = <&cpg R9A09G011_IIC_GPA_PRESETN>;
    power-domains = <&cpg>;
    clock-frequency = <100000>;
    #address-cells = <1>;
    #size-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Line 19: RZ/V2M

Edit this page