I2C-Bus adapter for MPC824x/83xx/85xx/86xx/512x/52xx SoCs
Schema identifier ($id): "http://devicetree.org/schemas/i2c/i2c-mpc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chris Packham <chris.packham@alliedtelesis.co.nz>"
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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"mpc5200-i2c","fsl,mpc5200-i2c","fsl,mpc5121-i2c","fsl,mpc8313-i2c","fsl,mpc8543-i2c","fsl,mpc8544-i2c"Item 2
Exact value (
const):"fsl-i2c"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,mpc5200b-i2c"Item 2
Exact value (
const):"fsl,mpc5200-i2c"Item 3
Exact value (
const):"fsl-i2c"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
fsl,preserve-clocking — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
if defined, the clock settings from the bootloader are preserved (not touched)
fsl,timeout — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Deprecated (deprecated): true
I2C bus timeout in microseconds
fsl,i2c-erratum-a004447 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Indicates the presence of QorIQ erratum A-004447, which says that the standard i2c recovery scheme mechanism does not work and an alternate implementation is needed.
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
/* MPC5121 based board */
i2c@1740 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,mpc5121-i2c", "fsl-i2c";
reg = <0x1740 0x20>;
interrupts = <11 0x8>;
interrupt-parent = <&ipic>;
clock-frequency = <100000>;
};
/* MPC5200B based board */
i2c@3d00 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,mpc5200b-i2c", "fsl,mpc5200-i2c", "fsl-i2c";
reg = <0x3d00 0x40>;
interrupts = <2 15 0>;
interrupt-parent = <&mpc5200_pic>;
fsl,preserve-clocking;
};
/* MPC8544 base board */
i2c@3100 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,mpc8544-i2c", "fsl-i2c";
reg = <0x3100 0x100>;
interrupts = <43 2>;
interrupt-parent = <&mpic>;
clock-frequency = <400000>;
i2c-transfer-timeout-us = <10000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)