From: Sergio Paracuellos Date: Tue, 14 Feb 2023 10:39:34 +0000 (+0100) Subject: mips: dts: ralink: mt7621: add phandle to system controller node for watchdog X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=70f864d1084734f8816a247c24e6876d2dfb5f89;p=linux.git mips: dts: ralink: mt7621: add phandle to system controller node for watchdog To allow to access system controller registers from watchdog driver code add a phandle in the watchdog 'wdt' node. This avoid using arch dependent operations in driver code. Reviewed-by: Arınç ÜNAL Signed-off-by: Sergio Paracuellos Acked-by: Guenter Roeck Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index c16295d27fa67..7caed0d14f11a 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -73,6 +73,7 @@ wdt: watchdog@100 { compatible = "mediatek,mt7621-wdt"; reg = <0x100 0x100>; + mediatek,sysctl = <&sysc>; }; gpio: gpio@600 {