diff options
| author | Shiji Yang | 2026-03-30 14:56:02 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-03-31 13:54:48 +0000 |
| commit | 3f98e35e98b1c57459ab521aef6d24cee833ff8b (patch) | |
| tree | 561a1ac65f334e343832d611952162812f302e79 | |
| parent | c09f5e0a63aaa9230e1f8bfb697dadbfa609a75d (diff) | |
| download | openwrt-3f98e35e98b1c57459ab521aef6d24cee833ff8b.tar.gz | |
ramips: fix WAN LED GPIO for Xiaomi Mi Router 4C
Correct WAN LED GPIO and its pinctrl group.
Fixes: https://github.com/openwrt/openwrt/issues/18578
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22696
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 74fe4b014c0291589e913a9572047a00dfa7b13e)
| -rw-r--r-- | target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4c.dts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4c.dts b/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4c.dts index a406c8f124..dd06fafd75 100644 --- a/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4c.dts +++ b/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4c.dts @@ -34,7 +34,7 @@ wan { function = LED_FUNCTION_WAN; color = <LED_COLOR_ID_BLUE>; - gpios = <&gpio 37 GPIO_ACTIVE_LOW>; + gpios = <&gpio 42 GPIO_ACTIVE_LOW>; }; }; @@ -59,6 +59,13 @@ }; }; +&state_default { + gpio { + groups = "gpio", "wdt", "p1led_an", "wled_an"; + function = "gpio"; + }; +}; + &ehci { status = "disabled"; }; |