diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2017-12-05 11:12:47 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-12-26 11:15:44 +0300 |
commit | 7eaec5533cb5c4f532f5c330d4401e218cf3ac6a (patch) | |
tree | 64bf35f1ea46f2f046b69edaac2dae51b6b02b95 /arch/arm/boot/dts/ls1021a.dtsi | |
parent | 5df704c2e1c69028d96a1130e22eb0f4bfea987a (diff) | |
download | linux-7eaec5533cb5c4f532f5c330d4401e218cf3ac6a.tar.xz |
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 <rasmus.villemoes@prevas.dk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/ls1021a.dtsi')
-rw-r--r-- | arch/arm/boot/dts/ls1021a.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; }; + reboot { + compatible = "syscon-reboot"; + regmap = <&dcfg>; + offset = <0xb0>; + mask = <0x02>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; |