Commit 92cfcb26 authored by Zhangfei Gao's avatar Zhangfei Gao Committed by Wei Xu

ARM: dts: hix5hd2: add reboot node

Reuse syscon-reboot, drivers/power/reset/syscon-reboot.c
Signed-off-by: default avatarZhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent f4d0ab1e
......@@ -393,7 +393,13 @@ l2: l2-cache {
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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment