summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2022-09-12 07:59:13 +0000
committerChristian Marangi2022-09-13 20:19:10 +0000
commitcfd916065f54ca439a4b3bad9869023fe64d1c0b (patch)
tree888abc96c54908a6a3fe839f2d672ec7a9971cb9
parentfb59070466a4d50938888d9d23e592598f686019 (diff)
downloadopenwrt-cfd916065f54ca439a4b3bad9869023fe64d1c0b.tar.gz
mt7621: fix Linksys E7350 GPIO
When converting this device to use both GMACs, I mistakenly removed state_default, which prevented GPIO LEDs and keys from being used. Fixes: f4eef5f2a184 ("ramips: add support for Linksys E7350") Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r--target/linux/ramips/dts/mt7621_linksys_e7350.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_linksys_e7350.dts b/target/linux/ramips/dts/mt7621_linksys_e7350.dts
index 0cdfcb4683..d7b8c214b9 100644
--- a/target/linux/ramips/dts/mt7621_linksys_e7350.dts
+++ b/target/linux/ramips/dts/mt7621_linksys_e7350.dts
@@ -165,6 +165,13 @@
};
};
+&state_default {
+ gpio {
+ groups = "i2c", "uart3", "jtag", "wdt";
+ function = "gpio";
+ };
+};
+
&gmac1 {
status = "okay";
label = "wan";