summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/hisi-x5hd2.dtsi
diff options
context:
space:
mode:
authorZhangfei Gao <zhangfei.gao@linaro.org>2014-10-29 14:00:25 +0800
committerWei Xu <xuwei5@hisilicon.com>2014-11-07 19:29:53 +0800
commit92cfcb26fca45aafa7eb9b8a4401a361caa88dec (patch)
treec562584bcc4dfe118f182a94491c988b1525b708 /arch/arm/boot/dts/hisi-x5hd2.dtsi
parentf4d0ab1e6d4947e1220c0bab1ae22e471af954ea (diff)
downloadblackbird-op-linux-92cfcb26fca45aafa7eb9b8a4401a361caa88dec.tar.gz
blackbird-op-linux-92cfcb26fca45aafa7eb9b8a4401a361caa88dec.zip
ARM: dts: hix5hd2: add reboot node
Reuse syscon-reboot, drivers/power/reset/syscon-reboot.c Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm/boot/dts/hisi-x5hd2.dtsi')
-rw-r--r--arch/arm/boot/dts/hisi-x5hd2.dtsi8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi
index b8deb6ce2679..c52722b14e4a 100644
--- a/arch/arm/boot/dts/hisi-x5hd2.dtsi
+++ b/arch/arm/boot/dts/hisi-x5hd2.dtsi
@@ -393,7 +393,13 @@
sysctrl: system-controller@00000000 {
compatible = "hisilicon,sysctrl", "syscon";
reg = <0x00000000 0x1000>;
- reboot-offset = <0x4>;
+ };
+
+ reboot {
+ compatible = "syscon-reboot";
+ regmap = <&sysctrl>;
+ offset = <0x4>;
+ mask = <0xdeadbeef>;
};
cpuctrl@00a22000 {
OpenPOWER on IntegriCloud