summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2023-02-14 11:39:34 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2023-02-28 23:09:32 +0100
commit70f864d1084734f8816a247c24e6876d2dfb5f89 (patch)
tree800911fb578b14541900ba2135898fafbd89ec9d /arch
parent79f76e574c3690261d6165f008b7054e54c6dca9 (diff)
downloadlinux-stable-70f864d1084734f8816a247c24e6876d2dfb5f89.tar.gz
linux-stable-70f864d1084734f8816a247c24e6876d2dfb5f89.tar.bz2
linux-stable-70f864d1084734f8816a247c24e6876d2dfb5f89.zip
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 <arinc.unal@arinc9.com> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/boot/dts/ralink/mt7621.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi
index c16295d27fa6..7caed0d14f11 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 {