From 92cfcb26fca45aafa7eb9b8a4401a361caa88dec Mon Sep 17 00:00:00 2001 From: Zhangfei Gao Date: Wed, 29 Oct 2014 14:00:25 +0800 Subject: ARM: dts: hix5hd2: add reboot node Reuse syscon-reboot, drivers/power/reset/syscon-reboot.c Signed-off-by: Zhangfei Gao Signed-off-by: Wei Xu --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'arch/arm/boot/dts/hisi-x5hd2.dtsi') 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 @@ 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 { -- cgit v1.2.3