Skip to content

Commit 7e83678

Browse files
fifteenhexarndb
authored andcommitted
ARM: mstar: Add reboot support
MStar v7 SoCs support reset by writing a magic value to a register in the "pmsleep" area. This adds a node for using the syscon reboot driver to trigger a reset. Signed-off-by: Daniel Palmer <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 9345a99 commit 7e83678

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

arch/arm/boot/dts/mstar-v7.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@
7878
reg = <0x1c00 0x100>;
7979
};
8080

81+
reboot {
82+
compatible = "syscon-reboot";
83+
regmap = <&pmsleep>;
84+
offset = <0xb8>;
85+
mask = <0x79>;
86+
};
87+
8188
l3bridge: l3bridge@204400 {
8289
compatible = "mstar,l3bridge";
8390
reg = <0x204400 0x200>;

0 commit comments

Comments
 (0)