mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
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>
This commit is contained in:
parent
79f76e574c
commit
70f864d108
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ sysc: syscon@0 {
|
||||||
wdt: watchdog@100 {
|
wdt: watchdog@100 {
|
||||||
compatible = "mediatek,mt7621-wdt";
|
compatible = "mediatek,mt7621-wdt";
|
||||||
reg = <0x100 0x100>;
|
reg = <0x100 0x100>;
|
||||||
|
mediatek,sysctl = <&sysc>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio: gpio@600 {
|
gpio: gpio@600 {
|
||||||
|
|
Loading…
Reference in a new issue