From 8c9a2d41412ab56042470f2bf32769a3d0b4d296 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Wed, 2 Aug 2023 10:33:25 -0500 Subject: [PATCH] ARM: dts: nspire: Use syscon-reboot to handle restart Writing this bit can be handled by the syscon-reboot driver. Add this node to DT. Signed-off-by: Andrew Davis Tested-by: Fabian Vogt Reviewed-by: Linus Walleij Reviewed-by: Fabian Vogt Signed-off-by: Arnd Bergmann --- arch/arm/boot/dts/nspire/nspire.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/nspire/nspire.dtsi b/arch/arm/boot/dts/nspire/nspire.dtsi index bb240e6a3a6f..48fbc9d533c3 100644 --- a/arch/arm/boot/dts/nspire/nspire.dtsi +++ b/arch/arm/boot/dts/nspire/nspire.dtsi @@ -172,7 +172,14 @@ }; misc: misc@900a0000 { + compatible = "ti,nspire-misc", "syscon", "simple-mfd"; reg = <0x900a0000 0x1000>; + + reboot { + compatible = "syscon-reboot"; + offset = <0x08>; + value = <0x02>; + }; }; pwr: pwr@900b0000 { -- 2.50.1