arm64: dts: ls1088a: Add reboot nodes
authorLi Yang <leoyang.li@nxp.com>
Sat, 4 Dec 2021 01:15:36 +0000 (19:15 -0600)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Dec 2021 08:33:02 +0000 (16:33 +0800)
ls1088a has a separate reset register block.  Define it in dts and use
it for reboot.

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi

index f891ef6..1eda080 100644 (file)
                clock-output-names = "sysclk";
        };
 
+       reboot {
+               compatible = "syscon-reboot";
+               regmap = <&reset>;
+               offset = <0x0>;
+               mask = <0x02>;
+       };
+
        soc {
                compatible = "simple-bus";
                #address-cells = <2>;
                        little-endian;
                };
 
+               reset: syscon@1e60000 {
+                       compatible = "fsl,ls1088a-reset", "syscon";
+                       reg = <0x0 0x1e60000 0x0 0x10000>;
+               };
+
                isc: syscon@1f70000 {
                        compatible = "fsl,ls1088a-isc", "syscon";
                        reg = <0x0 0x1f70000 0x0 0x10000>;