Skip to content

Commit 70f864d

Browse files
parakatsbogend
authored andcommitted
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>
1 parent 79f76e5 commit 70f864d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/mips/boot/dts/ralink/mt7621.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
wdt: watchdog@100 {
7474
compatible = "mediatek,mt7621-wdt";
7575
reg = <0x100 0x100>;
76+
mediatek,sysctl = <&sysc>;
7677
};
7778

7879
gpio: gpio@600 {

0 commit comments

Comments
 (0)