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-imx 4 $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Freescale Low Power Inter IC (LPI2C) fo 7 title: Freescale Low Power Inter IC (LPI2C) for i.MX 8 8 9 maintainers: 9 maintainers: 10 - Shawn Guo <shawnguo@kernel.org> 10 - Shawn Guo <shawnguo@kernel.org> 11 - Sascha Hauer <s.hauer@pengutronix.de> 11 - Sascha Hauer <s.hauer@pengutronix.de> 12 - Fabio Estevam <festevam@gmail.com> 12 - Fabio Estevam <festevam@gmail.com> 13 13 14 allOf: 14 allOf: 15 - $ref: /schemas/i2c/i2c-controller.yaml# 15 - $ref: /schemas/i2c/i2c-controller.yaml# 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 oneOf: 19 oneOf: 20 - enum: 20 - enum: 21 - fsl,imx7ulp-lpi2c 21 - fsl,imx7ulp-lpi2c 22 - items: 22 - items: 23 - enum: 23 - enum: 24 - fsl,imx8qxp-lpi2c 24 - fsl,imx8qxp-lpi2c 25 - fsl,imx8dxl-lpi2c 25 - fsl,imx8dxl-lpi2c 26 - fsl,imx8qm-lpi2c 26 - fsl,imx8qm-lpi2c 27 - fsl,imx8ulp-lpi2c 27 - fsl,imx8ulp-lpi2c 28 - fsl,imx93-lpi2c 28 - fsl,imx93-lpi2c 29 - fsl,imx95-lpi2c 29 - fsl,imx95-lpi2c 30 - const: fsl,imx7ulp-lpi2c 30 - const: fsl,imx7ulp-lpi2c 31 31 32 reg: 32 reg: 33 maxItems: 1 33 maxItems: 1 34 34 35 interrupts: 35 interrupts: 36 maxItems: 1 36 maxItems: 1 37 37 38 assigned-clock-parents: true 38 assigned-clock-parents: true 39 assigned-clock-rates: true 39 assigned-clock-rates: true 40 assigned-clocks: true 40 assigned-clocks: true 41 clock-frequency: true 41 clock-frequency: true 42 42 43 clock-names: 43 clock-names: 44 items: 44 items: 45 - const: per 45 - const: per 46 - const: ipg 46 - const: ipg 47 47 48 clocks: 48 clocks: 49 maxItems: 2 49 maxItems: 2 50 50 51 dmas: 51 dmas: 52 items: 52 items: 53 - description: DMA controller phandle an 53 - description: DMA controller phandle and request line for TX 54 - description: DMA controller phandle an 54 - description: DMA controller phandle and request line for RX 55 55 56 dma-names: 56 dma-names: 57 items: 57 items: 58 - const: tx 58 - const: tx 59 - const: rx 59 - const: rx 60 60 61 power-domains: 61 power-domains: 62 maxItems: 1 62 maxItems: 1 63 63 64 required: 64 required: 65 - compatible 65 - compatible 66 - reg 66 - reg 67 - interrupts 67 - interrupts 68 - clocks 68 - clocks 69 69 70 unevaluatedProperties: false 70 unevaluatedProperties: false 71 71 72 examples: 72 examples: 73 - | 73 - | 74 #include <dt-bindings/clock/imx7ulp-clock. 74 #include <dt-bindings/clock/imx7ulp-clock.h> 75 #include <dt-bindings/interrupt-controller 75 #include <dt-bindings/interrupt-controller/arm-gic.h> 76 76 77 i2c@40a50000 { 77 i2c@40a50000 { 78 compatible = "fsl,imx7ulp-lpi2c"; 78 compatible = "fsl,imx7ulp-lpi2c"; 79 reg = <0x40A50000 0x10000>; 79 reg = <0x40A50000 0x10000>; 80 interrupt-parent = <&intc>; 80 interrupt-parent = <&intc>; 81 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVE 81 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 82 clocks = <&clks IMX7ULP_CLK_LPI2C7>, 82 clocks = <&clks IMX7ULP_CLK_LPI2C7>, 83 <&clks IMX7ULP_CLK_NIC1_BUS_D 83 <&clks IMX7ULP_CLK_NIC1_BUS_DIV>; 84 }; 84 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.