From: Rosen Penev Date: Mon, 12 Sep 2022 07:59:13 +0000 (-0700) Subject: mt7621: fix Linksys E7350 GPIO X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cfd916065f54ca439a4b3bad9869023fe64d1c0b;p=openwrt%2Fstaging%2Fthess.git 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 --- 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";