mt7621: fix Linksys E7350 GPIO
authorRosen Penev <rosenp@gmail.com>
Mon, 12 Sep 2022 07:59:13 +0000 (00:59 -0700)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 13 Sep 2022 20:19:10 +0000 (22:19 +0200)
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>
target/linux/ramips/dts/mt7621_linksys_e7350.dts

index 0cdfcb468389f5468c3abc10239abcb67f2e3ec1..d7b8c214b9b91dcf6581b268a8c86dba4a0b2aac 100644 (file)
        };
 };
 
+&state_default {
+       gpio {
+               groups = "i2c", "uart3", "jtag", "wdt";
+               function = "gpio";
+       };
+};
+
 &gmac1 {
        status = "okay";
        label = "wan";