OSDN Git Service

ARM: dts: imx7ulp: add sim node
authorAnson Huang <anson.huang@nxp.com>
Fri, 11 Jan 2019 06:22:55 +0000 (06:22 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 11 Feb 2019 01:22:25 +0000 (09:22 +0800)
i.MX7ULP SoC revision info is inside the SIM mode's JTAG_ID
register, add sim node to support SoC revision check.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7ulp.dtsi

index b86daf7..fca6e50 100644 (file)
                        gpio-ranges = <&iomuxc1 0 96 32>;
                };
        };
+
+       m4aips1: bus@41080000 {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0x41080000 0x80000>;
+               ranges;
+
+               sim: sim@410a3000 {
+                       compatible = "fsl,imx7ulp-sim", "syscon";
+                       reg = <0x410a3000 0x1000>;
+               };
+       };
 };