]> Git Repo - linux.git/commitdiff
mips: dts: ralink: mt7621: add phandle to system controller node for watchdog
authorSergio Paracuellos <[email protected]>
Tue, 14 Feb 2023 10:39:34 +0000 (11:39 +0100)
committerThomas Bogendoerfer <[email protected]>
Tue, 28 Feb 2023 22:09:32 +0000 (23:09 +0100)
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 <[email protected]>
Signed-off-by: Sergio Paracuellos <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
arch/mips/boot/dts/ralink/mt7621.dtsi

index c16295d27fa6750e082a614c11893c089774a908..7caed0d14f11a68de7f309ba83d4990ebc5e5e37 100644 (file)
@@ -73,6 +73,7 @@
                wdt: watchdog@100 {
                        compatible = "mediatek,mt7621-wdt";
                        reg = <0x100 0x100>;
+                       mediatek,sysctl = <&sysc>;
                };
 
                gpio: gpio@600 {
This page took 0.05428 seconds and 4 git commands to generate.