1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Freescale Low Power Inter IC (LPI2C) for i.MX 8 9maintainers: 10 - Anson Huang <Anson.Huang@nxp.com> 11 12allOf: 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 15properties: 16 compatible: 17 oneOf: 18 - enum: 19 - fsl,imx7ulp-lpi2c 20 - items: 21 - enum: 22 - fsl,imx8qxp-lpi2c 23 - fsl,imx8qm-lpi2c 24 - const: fsl,imx7ulp-lpi2c 25 26 reg: 27 maxItems: 1 28 29 interrupts: 30 maxItems: 1 31 32 assigned-clock-parents: true 33 assigned-clock-rates: true 34 assigned-clocks: true 35 clock-frequency: true 36 37 clock-names: 38 maxItems: 1 39 40 clocks: 41 maxItems: 1 42 43 power-domains: 44 maxItems: 1 45 46required: 47 - compatible 48 - reg 49 - interrupts 50 - clocks 51 52unevaluatedProperties: false 53 54examples: 55 - | 56 #include <dt-bindings/clock/imx7ulp-clock.h> 57 #include <dt-bindings/interrupt-controller/arm-gic.h> 58 59 i2c@40a50000 { 60 compatible = "fsl,imx7ulp-lpi2c"; 61 reg = <0x40A50000 0x10000>; 62 interrupt-parent = <&intc>; 63 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 64 clocks = <&clks IMX7ULP_CLK_LPI2C7>; 65 }; 66