1
0
Fork 0

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>
hifive-unleashed-5.1
Zhangfei Gao 2014-10-29 14:00:25 +08:00 committed by Wei Xu
parent f4d0ab1e6d
commit 92cfcb26fc
1 changed files with 7 additions and 1 deletions

View File

@ -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 {