1c217cf81SAnson Huang# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c217cf81SAnson Huang%YAML 1.2 3c217cf81SAnson Huang--- 4c217cf81SAnson Huang$id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# 5c217cf81SAnson Huang$schema: http://devicetree.org/meta-schemas/core.yaml# 6c217cf81SAnson Huang 7c217cf81SAnson Huangtitle: Freescale Low Power Inter IC (LPI2C) for i.MX 8c217cf81SAnson Huang 9c217cf81SAnson Huangmaintainers: 10c217cf81SAnson Huang - Anson Huang <Anson.Huang@nxp.com> 11c217cf81SAnson Huang 1241c38c27SKrzysztof KozlowskiallOf: 1341c38c27SKrzysztof Kozlowski - $ref: /schemas/i2c/i2c-controller.yaml# 1441c38c27SKrzysztof Kozlowski 15c217cf81SAnson Huangproperties: 16c217cf81SAnson Huang compatible: 17755f6292SKrzysztof Kozlowski oneOf: 18755f6292SKrzysztof Kozlowski - enum: 19c217cf81SAnson Huang - fsl,imx7ulp-lpi2c 20755f6292SKrzysztof Kozlowski - items: 21aa6fed90SAbel Vesa - enum: 22aa6fed90SAbel Vesa - fsl,imx8qxp-lpi2c 23*6544bcdbSAbel Vesa - fsl,imx8dxl-lpi2c 24aa6fed90SAbel Vesa - fsl,imx8qm-lpi2c 25755f6292SKrzysztof Kozlowski - const: fsl,imx7ulp-lpi2c 26c217cf81SAnson Huang 27c217cf81SAnson Huang reg: 28c217cf81SAnson Huang maxItems: 1 29c217cf81SAnson Huang 30c217cf81SAnson Huang interrupts: 31c217cf81SAnson Huang maxItems: 1 32c217cf81SAnson Huang 3341c38c27SKrzysztof Kozlowski assigned-clock-parents: true 3441c38c27SKrzysztof Kozlowski assigned-clock-rates: true 3541c38c27SKrzysztof Kozlowski assigned-clocks: true 3641c38c27SKrzysztof Kozlowski clock-frequency: true 3741c38c27SKrzysztof Kozlowski 3841c38c27SKrzysztof Kozlowski clock-names: 3941c38c27SKrzysztof Kozlowski maxItems: 1 4041c38c27SKrzysztof Kozlowski 41c217cf81SAnson Huang clocks: 42c217cf81SAnson Huang maxItems: 1 43c217cf81SAnson Huang 4441c38c27SKrzysztof Kozlowski power-domains: 4541c38c27SKrzysztof Kozlowski maxItems: 1 4641c38c27SKrzysztof Kozlowski 47c217cf81SAnson Huangrequired: 48c217cf81SAnson Huang - compatible 49c217cf81SAnson Huang - reg 50c217cf81SAnson Huang - interrupts 51c217cf81SAnson Huang - clocks 52c217cf81SAnson Huang 5341c38c27SKrzysztof KozlowskiunevaluatedProperties: false 54c217cf81SAnson Huang 55c217cf81SAnson Huangexamples: 56c217cf81SAnson Huang - | 57c217cf81SAnson Huang #include <dt-bindings/clock/imx7ulp-clock.h> 58c217cf81SAnson Huang #include <dt-bindings/interrupt-controller/arm-gic.h> 59c217cf81SAnson Huang 6041c38c27SKrzysztof Kozlowski i2c@40a50000 { 61c217cf81SAnson Huang compatible = "fsl,imx7ulp-lpi2c"; 62c217cf81SAnson Huang reg = <0x40A50000 0x10000>; 63c217cf81SAnson Huang interrupt-parent = <&intc>; 64c217cf81SAnson Huang interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 65c217cf81SAnson Huang clocks = <&clks IMX7ULP_CLK_LPI2C7>; 66c217cf81SAnson Huang }; 67