summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot/dts/mti/sead3.dts
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-08-26 15:17:44 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-10-05 01:31:20 +0200
commita1ec6003f21547199f57ab529d0eff742917d637 (patch)
treed6736ee342e0da8e02e7fedaa374f4dc1fcbae6c /arch/mips/boot/dts/mti/sead3.dts
parent70bfdcec9ad9bcd3217f85fd422012777d86e168 (diff)
downloadlinux-0-day-a1ec6003f21547199f57ab529d0eff742917d637.tar.gz
linux-0-day-a1ec6003f21547199f57ab529d0eff742917d637.tar.xz
MIPS: SEAD3: Use generic restart-poweroff driver
Remove the custom platform code to restart when instructed to power off, instead relying upon the generic restart-poweroff driver probed via DT to do the same thing. Remove also the halt implementation, which is incorrect. The generic MIPS version will hang the system as halt should. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: Jacek Anaszewski <j.anaszewski@samsung.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14057/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot/dts/mti/sead3.dts')
-rw-r--r--arch/mips/boot/dts/mti/sead3.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/mti/sead3.dts b/arch/mips/boot/dts/mti/sead3.dts
index 047ff7aa5c21e..32a5ab988b65b 100644
--- a/arch/mips/boot/dts/mti/sead3.dts
+++ b/arch/mips/boot/dts/mti/sead3.dts
@@ -103,6 +103,10 @@
offset = <0x50>;
mask = <0x4d>;
};
+
+ poweroff {
+ compatible = "restart-poweroff";
+ };
};
system-controller@1f000200 {