1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mxs 4 $id: http://devicetree.org/schemas/i2c/i2c-mxs.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Freescale MXS Inter IC (I2C) Controller 7 title: Freescale MXS Inter IC (I2C) Controller 8 8 9 maintainers: 9 maintainers: 10 - Shawn Guo <shawnguo@kernel.org> 10 - Shawn Guo <shawnguo@kernel.org> 11 11 12 allOf: 12 allOf: 13 - $ref: /schemas/i2c/i2c-controller.yaml# 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - fsl,imx23-i2c 18 - fsl,imx23-i2c 19 - fsl,imx28-i2c 19 - fsl,imx28-i2c 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 interrupts: 24 interrupts: 25 maxItems: 1 25 maxItems: 1 26 26 27 clock-frequency: 27 clock-frequency: 28 enum: [ 100000, 400000 ] 28 enum: [ 100000, 400000 ] 29 29 30 dmas: 30 dmas: 31 maxItems: 1 31 maxItems: 1 32 32 33 dma-names: 33 dma-names: 34 const: rx-tx 34 const: rx-tx 35 35 36 required: 36 required: 37 - compatible 37 - compatible 38 - reg 38 - reg 39 - interrupts 39 - interrupts 40 - dmas 40 - dmas 41 - dma-names 41 - dma-names 42 42 43 unevaluatedProperties: false 43 unevaluatedProperties: false 44 44 45 examples: 45 examples: 46 - | 46 - | 47 i2c@80058000 { 47 i2c@80058000 { 48 compatible = "fsl,imx28-i2c"; 48 compatible = "fsl,imx28-i2c"; 49 reg = <0x80058000 2000>; 49 reg = <0x80058000 2000>; 50 interrupts = <111>; 50 interrupts = <111>; 51 clock-frequency = <100000>; 51 clock-frequency = <100000>; 52 dmas = <&dma_apbx 6>; 52 dmas = <&dma_apbx 6>; 53 dma-names = "rx-tx"; 53 dma-names = "rx-tx"; 54 }; 54 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.