diff options
author | Daniel Palmer <daniel@0x0f.com> | 2020-07-28 19:03:21 +0900 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-07-28 13:15:47 +0200 |
commit | 7e836785bc11aca306ce6acbb43f8a5b5d0a9880 (patch) | |
tree | 24838bf39c21ee2db0947e2499b482f65a9a14eb /arch/arm | |
parent | 9345a99710aa3a7ad600b2089672cb0f2088f1ff (diff) |
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 <daniel@0x0f.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/mstar-v7.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index bb7fb3e689a7..c7458c67c4df 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -78,6 +78,13 @@ reg = <0x1c00 0x100>; }; + reboot { + compatible = "syscon-reboot"; + regmap = <&pmsleep>; + offset = <0xb8>; + mask = <0x79>; + }; + l3bridge: l3bridge@204400 { compatible = "mstar,l3bridge"; reg = <0x204400 0x200>; |