Skip to content

Commit

Permalink
Add pinctrl to watchdog
Browse files Browse the repository at this point in the history
... but now saying "a legacy watchdog module is probably present"
instead of "ath79-wdt 18060008.wdt: unable to register misc device,
err=-16"
  • Loading branch information
CodingMarco committed Mar 29, 2024
1 parent cb19eea commit 5cda532
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
};

watchdog {
pinctrl-names = "default";
pinctrl-0 = <&wdt_gpio15>;

compatible = "linux,wdt-gpio";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
hw_algo = "toggle";
Expand Down Expand Up @@ -228,3 +231,9 @@
reg = <1>;
};
};

&pinmux {
wdt_gpio15: pinmux_wdt_gpio15 {
pinctrl-single,bits = <0xc 0x0 0xFF000000>;
};
};

0 comments on commit 5cda532

Please sign in to comment.