[openwrt/openwrt] ath79: fix LibreRouter-v1 watchdog and poe_pass

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 2 02:39:44 PDT 2022


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2ad949b11dbaa4c634868d55a4452d5a558776bd

commit 2ad949b11dbaa4c634868d55a4452d5a558776bd
Author: Santiago Piccinini <spiccinini at altermundi.net>
AuthorDate: Fri Sep 30 10:44:04 2022 -0300

    ath79: fix LibreRouter-v1 watchdog and poe_pass
    
    Watchdog and poe_passthrough gpios require the jtag disabled.
    
    Signed-off-by: Santiago Piccinini <spiccinini at altermundi.net>
---
 target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts b/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
index 6cd8ba4578..a9c03b7eda 100644
--- a/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
+++ b/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>;




More information about the lede-commits mailing list