blob: 7152a95278f6752fb9300316848553aa311d40fe [file] [log] [blame]
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chen Jun <chenjun14@huawei.com>
Date: Mon, 6 Feb 2017 10:51:03 +0800
Subject: ANDROID: arm64: dts: hi3660: adb reboot node
Add "hisilicon,hi3660-reboot" node for hi3660.
Eventually when we've transitioned to UEFI this can be dropped.
As we can then use syscon-reboot-mode.
Bug: 146450171
Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Chen Jun <chenjun14@huawei.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I5612ec7f58af38d6d06cee8f5adbf285660ce21a
---
arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
index d0d633da6fc1..59b28a5381b8 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
@@ -367,6 +367,13 @@
#clock-cells = <1>;
};
+ reboot {
+ compatible = "hisilicon,hi3660-reboot";
+ pmu-regmap = <&pmuctrl>;
+ sctrl-regmap = <&sctrl>;
+ reboot-offset = <0x4>;
+ };
+
iomcu: iomcu@ffd7e000 {
compatible = "hisilicon,hi3660-iomcu", "syscon";
reg = <0x0 0xffd7e000 0x0 0x1000>;