ath79: fix LibreRouter-v1 watchdog and poe_pass
authorSantiago Piccinini <spiccinini@altermundi.net>
Fri, 30 Sep 2022 13:44:04 +0000 (10:44 -0300)
committerDavid Bauer <mail@david-bauer.net>
Sun, 2 Oct 2022 09:39:13 +0000 (11:39 +0200)
Watchdog and poe_passthrough gpios require the jtag disabled.

Signed-off-by: Santiago Piccinini <spiccinini@altermundi.net>
target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts

index 6cd8ba4578beeacd9f831cd9ca53df814b316912..a9c03b7edae0fcc591273f3c80e924a710905b18 100644 (file)
        keys {
                compatible = "gpio-keys";
 
+               pinctrl-names = "default";
+               /* GPIO1 (poe_pass) and GPIO2 (watchdog) requires jtag disabled */
+               pinctrl-0 = <&jtag_disable_pins>;
+
                reset {
                        label = "Reset";
                        linux,code = <KEY_RESTART>;