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 <[email protected]> Signed-off-by: Sergio Paracuellos <[email protected]> Acked-by: Guenter Roeck <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 79f76e5 commit 70f864d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)