OSDN Git Service

ARM: dts: ls1021a: add reboot node to .dtsi
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 5 Dec 2017 08:12:47 +0000 (09:12 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:15:44 +0000 (16:15 +0800)
The LS1021A can be reset via the dcfg regmap in the same way as the
arm64 layerscape SoCs, so add the corresponding DT node.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/ls1021a.dtsi

index a861a4b..2bd04cd 100644 (file)
                             <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
        };
 
+       reboot {
+               compatible = "syscon-reboot";
+               regmap = <&dcfg>;
+               offset = <0xb0>;
+               mask = <0x02>;
+       };
+
        soc {
                compatible = "simple-bus";
                #address-cells = <2>;