diff options
author | Zhangfei Gao <zhangfei.gao@linaro.org> | 2014-10-29 02:00:25 -0400 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2014-11-07 06:29:53 -0500 |
commit | 92cfcb26fca45aafa7eb9b8a4401a361caa88dec (patch) | |
tree | c562584bcc4dfe118f182a94491c988b1525b708 | |
parent | f4d0ab1e6d4947e1220c0bab1ae22e471af954ea (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/hisi-x5hd2.dtsi | 8 |
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 @@ | |||
393 | sysctrl: system-controller@00000000 { | 393 | sysctrl: system-controller@00000000 { |
394 | compatible = "hisilicon,sysctrl", "syscon"; | 394 | compatible = "hisilicon,sysctrl", "syscon"; |
395 | reg = <0x00000000 0x1000>; | 395 | reg = <0x00000000 0x1000>; |
396 | reboot-offset = <0x4>; | 396 | }; |
397 | |||
398 | reboot { | ||
399 | compatible = "syscon-reboot"; | ||
400 | regmap = <&sysctrl>; | ||
401 | offset = <0x4>; | ||
402 | mask = <0xdeadbeef>; | ||
397 | }; | 403 | }; |
398 | 404 | ||
399 | cpuctrl@00a22000 { | 405 | cpuctrl@00a22000 { |