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
12properties:
13  compatible:
14    enum:
15      - fsl,imx7ulp-lpi2c
16      - fsl,imx8qxp-lpi2c
17      - fsl,imx8qm-lpi2c
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31  - interrupts
32  - clocks
33
34additionalProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/clock/imx7ulp-clock.h>
39    #include <dt-bindings/interrupt-controller/arm-gic.h>
40
41    lpi2c7@40a50000 {
42        compatible = "fsl,imx7ulp-lpi2c";
43        reg = <0x40A50000 0x10000>;
44        interrupt-parent = <&intc>;
45        interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
46        clocks = <&clks IMX7ULP_CLK_LPI2C7>;
47    };
48