Freescale MXS Inter IC (I2C) Controller

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

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

Maintainers (maintainers): "Shawn Guo <shawnguo@kernel.org>"

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): "fsl,imx23-i2c", "fsl,imx28-i2c"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

Allowed values (enum): 100000, 400000

dmas — required here #

Maximum number of items (maxItems): 1

dma-names — required here #

Exact value (const): "rx-tx"

Required in this object (required): "compatible", "reg", "interrupts", "dmas", "dma-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c@80058000 {
    compatible = "fsl,imx28-i2c";
    reg = <0x80058000 2000>;
    interrupts = <111>;
    clock-frequency = <100000>;
    dmas = <&dma_apbx 6>;
    dma-names = "rx-tx";
};

Source notes #

Annotations retained from the schema source

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

Edit this page