From 7eaec5533cb5c4f532f5c330d4401e218cf3ac6a Mon Sep 17 00:00:00 2001 From: Rasmus Villemoes Date: Tue, 5 Dec 2017 09:12:47 +0100 Subject: [PATCH] ARM: dts: ls1021a: add reboot node to .dtsi 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 Signed-off-by: Shawn Guo --- arch/arm/boot/dts/ls1021a.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index a861a4b9e319..2bd04cdd618f 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -108,6 +108,13 @@ ; }; + reboot { + compatible = "syscon-reboot"; + regmap = <&dcfg>; + offset = <0xb0>; + mask = <0x02>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; -- 2.11.0