aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-09-12 00:59:13 -0700
committerChristian Marangi <ansuelsmth@gmail.com>2022-09-13 22:19:10 +0200
commitcfd916065f54ca439a4b3bad9869023fe64d1c0b (patch)
tree888abc96c54908a6a3fe839f2d672ec7a9971cb9 /target
parentfb59070466a4d50938888d9d23e592598f686019 (diff)
downloadupstream-cfd916065f54ca439a4b3bad9869023fe64d1c0b.tar.gz
upstream-cfd916065f54ca439a4b3bad9869023fe64d1c0b.tar.bz2
upstream-cfd916065f54ca439a4b3bad9869023fe64d1c0b.zip
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>
Diffstat (limited to 'target')
-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";