forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
f4d0ab1e6d
commit
92cfcb26fc
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user