summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
diff options
context:
space:
mode:
authorGuodong Xu <guodong.xu@linaro.org>2017-08-14 17:50:44 +0800
committerWei Xu <xuwei5@hisilicon.com>2017-08-16 09:32:09 +0100
commitb6b681c1442e0f5485e4d6d1b427c63ddc66ae93 (patch)
tree92b2d8a57f6759266e09b2d0a480ba8ca55de0af /arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
parent313aebda8432afd98ff1663cbc62f2c35245a006 (diff)
downloadlwn-b6b681c1442e0f5485e4d6d1b427c63ddc66ae93.tar.gz
lwn-b6b681c1442e0f5485e4d6d1b427c63ddc66ae93.zip
arm64: dts: hikey960: Add support for syscon-reboot-mode
Add support to hikey960 dts for the syscon-reboot-mode driver. Cc: John Stultz <john.stultz@linaro.org> Signed-off-by: Guodong Xu <guodong.xu@linaro.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts')
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
index b96d865649a0..ce5e8747219e 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
@@ -39,6 +39,20 @@
reg = <0x0 0x0 0x0 0x0>;
};
+ reboot-mode-syscon@32100000 {
+ compatible = "syscon", "simple-mfd";
+ reg = <0x0 0x32100000 0x0 0x00001000>;
+
+ reboot-mode {
+ compatible = "syscon-reboot-mode";
+ offset = <0x0>;
+
+ mode-normal = <0x77665501>;
+ mode-bootloader = <0x77665500>;
+ mode-recovery = <0x77665502>;
+ };
+ };
+
keys {
compatible = "gpio-keys";
pinctrl-names = "default";