Quellcode durchsuchen

ath79: fix LibreRouter-v1 watchdog and poe_pass

Watchdog and poe_passthrough gpios require the jtag disabled.

Signed-off-by: Santiago Piccinini <[email protected]>
Santiago Piccinini vor 3 Jahren
Ursprung
Commit
2ad949b11d
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts

+ 4 - 0
target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts

@@ -40,6 +40,10 @@
 	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>;