Broadcom Kona family I2C controller

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

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

Maintainers (maintainers): "Florian Fainelli <f.fainelli@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 #

Array item rules (items) #

Item 1

Allowed values (enum): "brcm,bcm11351-i2c", "brcm,bcm21664-i2c", "brcm,bcm23550-i2c"

Item 2

Exact value (const): "brcm,kona-i2c"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-frequency — required here #

Allowed values (enum): 100000, 400000, 1000000, 3400000

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

i2c@3e016000 {
    compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c";
    reg = <0x3e016000 0x80>;
    interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&bsc1_clk>;
    clock-frequency = <400000>;
    #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)

Edit this page