Path: blob/master/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml
26307 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/i2c/i2c-mpc.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: I2C-Bus adapter for MPC824x/83xx/85xx/86xx/512x/52xx SoCs78maintainers:9- Chris Packham <chris.packham@alliedtelesis.co.nz>1011allOf:12- $ref: /schemas/i2c/i2c-controller.yaml#1314properties:15compatible:16oneOf:17- items:18- enum:19- mpc5200-i2c20- fsl,mpc5200-i2c21- fsl,mpc5121-i2c22- fsl,mpc8313-i2c23- fsl,mpc8543-i2c24- fsl,mpc8544-i2c25- const: fsl-i2c26- items:27- const: fsl,mpc5200b-i2c28- const: fsl,mpc5200-i2c29- const: fsl-i2c3031reg:32maxItems: 13334interrupts:35maxItems: 13637fsl,preserve-clocking:38$ref: /schemas/types.yaml#/definitions/flag39description: |40if defined, the clock settings from the bootloader are41preserved (not touched)4243fsl,timeout:44$ref: /schemas/types.yaml#/definitions/uint3245deprecated: true46description: |47I2C bus timeout in microseconds4849fsl,i2c-erratum-a004447:50$ref: /schemas/types.yaml#/definitions/flag51description: |52Indicates the presence of QorIQ erratum A-004447, which53says that the standard i2c recovery scheme mechanism does54not work and an alternate implementation is needed.5556required:57- compatible58- reg59- interrupts6061unevaluatedProperties: false6263examples:64- |65/* MPC5121 based board */66i2c@1740 {67#address-cells = <1>;68#size-cells = <0>;69compatible = "fsl,mpc5121-i2c", "fsl-i2c";70reg = <0x1740 0x20>;71interrupts = <11 0x8>;72interrupt-parent = <&ipic>;73clock-frequency = <100000>;74};7576- |77/* MPC5200B based board */78i2c@3d00 {79#address-cells = <1>;80#size-cells = <0>;81compatible = "fsl,mpc5200b-i2c", "fsl,mpc5200-i2c", "fsl-i2c";82reg = <0x3d00 0x40>;83interrupts = <2 15 0>;84interrupt-parent = <&mpc5200_pic>;85fsl,preserve-clocking;86};8788- |89/* MPC8544 base board */90i2c@3100 {91#address-cells = <1>;92#size-cells = <0>;93compatible = "fsl,mpc8544-i2c", "fsl-i2c";94reg = <0x3100 0x100>;95interrupts = <43 2>;96interrupt-parent = <&mpic>;97clock-frequency = <400000>;98i2c-transfer-timeout-us = <10000>;99};100...101102103