Skip to content

Commit

Permalink
ARM: dts: hix5hd2: add reboot node
Browse files Browse the repository at this point in the history
Reuse syscon-reboot, drivers/power/reset/syscon-reboot.c

Signed-off-by: Zhangfei Gao <[email protected]>
Signed-off-by: Wei Xu <[email protected]>
  • Loading branch information
zhangfeigao authored and joyxu committed Nov 7, 2014
1 parent f4d0ab1 commit 92cfcb2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion arch/arm/boot/dts/hisi-x5hd2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 92cfcb2

Please sign in to comment.