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 236544bcdbSAbel Vesa - fsl,imx8dxl-lpi2c 24aa6fed90SAbel Vesa - fsl,imx8qm-lpi2c 25*993c2c89SJacky Bai - fsl,imx8ulp-lpi2c 26755f6292SKrzysztof Kozlowski - const: fsl,imx7ulp-lpi2c 27c217cf81SAnson Huang 28c217cf81SAnson Huang reg: 29c217cf81SAnson Huang maxItems: 1 30c217cf81SAnson Huang 31c217cf81SAnson Huang interrupts: 32c217cf81SAnson Huang maxItems: 1 33c217cf81SAnson Huang 3441c38c27SKrzysztof Kozlowski assigned-clock-parents: true 3541c38c27SKrzysztof Kozlowski assigned-clock-rates: true 3641c38c27SKrzysztof Kozlowski assigned-clocks: true 3741c38c27SKrzysztof Kozlowski clock-frequency: true 3841c38c27SKrzysztof Kozlowski 3941c38c27SKrzysztof Kozlowski clock-names: 4041c38c27SKrzysztof Kozlowski maxItems: 1 4141c38c27SKrzysztof Kozlowski 42c217cf81SAnson Huang clocks: 43c217cf81SAnson Huang maxItems: 1 44c217cf81SAnson Huang 4541c38c27SKrzysztof Kozlowski power-domains: 4641c38c27SKrzysztof Kozlowski maxItems: 1 4741c38c27SKrzysztof Kozlowski 48c217cf81SAnson Huangrequired: 49c217cf81SAnson Huang - compatible 50c217cf81SAnson Huang - reg 51c217cf81SAnson Huang - interrupts 52c217cf81SAnson Huang - clocks 53c217cf81SAnson Huang 5441c38c27SKrzysztof KozlowskiunevaluatedProperties: false 55c217cf81SAnson Huang 56c217cf81SAnson Huangexamples: 57c217cf81SAnson Huang - | 58c217cf81SAnson Huang #include <dt-bindings/clock/imx7ulp-clock.h> 59c217cf81SAnson Huang #include <dt-bindings/interrupt-controller/arm-gic.h> 60c217cf81SAnson Huang 6141c38c27SKrzysztof Kozlowski i2c@40a50000 { 62c217cf81SAnson Huang compatible = "fsl,imx7ulp-lpi2c"; 63c217cf81SAnson Huang reg = <0x40A50000 0x10000>; 64c217cf81SAnson Huang interrupt-parent = <&intc>; 65c217cf81SAnson Huang interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 66c217cf81SAnson Huang clocks = <&clks IMX7ULP_CLK_LPI2C7>; 67c217cf81SAnson Huang }; 68