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 74fe4b014c)
This commit is contained in:
parent
c09f5e0a63
commit
3f98e35e98
@ -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";
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user