[openwrt/openwrt] rockchip: rework LED configurations for the NanoPi R6C/R6S
LEDE Commits
lede-commits at lists.infradead.org
Sun Sep 22 08:38:24 PDT 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/37cedc7e865a5059979e9b80defba86ef9149a41
commit 37cedc7e865a5059979e9b80defba86ef9149a41
Author: Antonio Flores <antflores627 at gmail.com>
AuthorDate: Sun Sep 1 22:24:35 2024 -0400
rockchip: rework LED configurations for the NanoPi R6C/R6S
This commits fixes the LED on the NanoPi R6 series
after changes in the DTS
https://lore.kernel.org/all/20240612205056.397204-4-seb-dev@mail.de
Reported by Github user: gSpotx2f
Signed-off-by: Antonio Flores <antflores627 at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16275
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/rockchip/armv8/base-files/etc/board.d/01_leds | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds b/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds
index 0b88fd4528..e28069cf7b 100644
--- a/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds
+++ b/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds
@@ -13,6 +13,7 @@ friendlyarm,nanopi-r2c-plus|\
friendlyarm,nanopi-r2s|\
friendlyarm,nanopi-r4s|\
friendlyarm,nanopi-r4s-enterprise|\
+friendlyarm,nanopi-r6c|\
xunlong,orangepi-r1-plus|\
xunlong,orangepi-r1-plus-lts)
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
@@ -28,14 +29,10 @@ friendlyarm,nanopi-r5s)
ucidef_set_led_netdev "lan1" "LAN1" "green:lan-1" "eth1"
ucidef_set_led_netdev "lan2" "LAN2" "green:lan-2" "eth2"
;;
-friendlyarm,nanopi-r6c)
- ucidef_set_led_netdev "wan" "WAN" "wan_led" "eth0"
- ucidef_set_led_netdev "lan1" "LAN1" "lan1_led" "eth1"
- ;;
friendlyarm,nanopi-r6s)
- ucidef_set_led_netdev "wan" "WAN" "wan_led" "eth1"
- ucidef_set_led_netdev "lan1" "LAN1" "lan1_led" "eth2"
- ucidef_set_led_netdev "lan2" "LAN2" "lan2_led" "eth0"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+ ucidef_set_led_netdev "lan1" "LAN1" "green:lan-1" "eth2"
+ ucidef_set_led_netdev "lan2" "LAN2" "green:lan-2" "eth0"
;;
esac
More information about the lede-commits
mailing list