[openwrt/openwrt] mt7621: fix Linksys E7350 GPIO
LEDE Commits
lede-commits at lists.infradead.org
Tue Sep 13 13:19:43 PDT 2022
ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/cfd916065f54ca439a4b3bad9869023fe64d1c0b
commit cfd916065f54ca439a4b3bad9869023fe64d1c0b
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Mon Sep 12 00:59:13 2022 -0700
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 at gmail.com>
---
target/linux/ramips/dts/mt7621_linksys_e7350.dts | 7 +++++++
1 file changed, 7 insertions(+)
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";
More information about the lede-commits
mailing list