MLK-17429-1 Documentation: add doc for SIMv2
authorGao Pan <pandy.gao@nxp.com>
Fri, 19 Jan 2018 07:38:39 +0000 (15:38 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:53:09 +0000 (14:53 -0500)
add devicetree binding doc for SIMv2

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Reviewed-by: Andy Duan <fugang.duan@nxp.com>
Documentation/devicetree/bindings/sim/imx_sim.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sim/imx_sim.txt b/Documentation/devicetree/bindings/sim/imx_sim.txt
new file mode 100644 (file)
index 0000000..58e709b
--- /dev/null
@@ -0,0 +1,20 @@
+* NXP SIMv2 for i.MX6ul and i.MX7d
+
+Required properties:
+- compatible :
+  - "fsl,imx7d-sim" for SIMv2 compatible with the one integrated on i.MX7d soc
+  - "fsl,imx6ul-sim" for SIMv2 compatible with the one integrated on i.MX6ul soc
+- reg : address and length of SIMv2 registers
+- interrupt : core interrupt controller
+- clocks : SIMv2 clock specifier
+
+Examples:
+
+sim2: sim@021b4000 {
+       compatible = "fsl,imx6ul-sim";
+       reg = <0x021b4000 0x4000>;
+       interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
+       clocks = <&clks IMX6UL_CLK_SIM2>;
+       clock-names = "sim";
+       status = "disabled";
+};