Skip to content

Commit

Permalink
dt-bindings: i2c: imx-lpi2c: add devicetree bindings
Browse files Browse the repository at this point in the history
Add a binding document for lpi2c driver.

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
  • Loading branch information
Gao Pan authored and Wolfram Sang committed Dec 1, 2016
1 parent 531ccab commit 20ce1e3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
* Freescale Low Power Inter IC (LPI2C) for i.MX

Required properties:
- compatible :
- "fsl,imx7ulp-lpi2c" for LPI2C compatible with the one integrated on i.MX7ULP soc
- "fsl,imx8dv-lpi2c" for LPI2C compatible with the one integrated on i.MX8DV soc
- reg : address and length of the lpi2c master registers
- interrupt-parent : core interrupt controller
- interrupts : lpi2c interrupt
- clocks : lpi2c clock specifier

Examples:

lpi2c7: lpi2c7@40A50000 {
compatible = "fsl,imx8dv-lpi2c";
reg = <0x40A50000 0x10000>;
interrupt-parent = <&intc>;
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX7ULP_CLK_LPI2C7>;
};

0 comments on commit 20ce1e3

Please sign in to comment.