realtek: convert BT-G711AX to DSA and add LAN LEDs

With the recent support for DSA on RTL9607C, convert the
network config on this device from eth0 to all 4 lans and
add the leds for these lans.

Signed-off-by: Rustam Adilov <adilov@tutamail.com>
Link: https://github.com/openwrt/openwrt/pull/26115
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
This commit is contained in:
Rustam Adilov authored and Markus Stockhausen committed 2026-10-29 19:33:58 +01:00
1 parent ca454c00b6
commit c1c4ac8a7d
2 files changed
+7 -2

No files matched your search

@@ -6,6 +6,12 @@ board=$(board_name)
board_config_update
case $board in
bt-pon,bt-g711ax)
ucidef_set_led_netdev "lan1" "lan1" "green:lan-1" "lan1"
ucidef_set_led_netdev "lan2" "lan2" "green:lan-2" "lan2"
ucidef_set_led_netdev "lan3" "lan3" "green:lan-3" "lan3"
ucidef_set_led_netdev "lan4" "lan4" "green:lan-4" "lan4"
;;
esac
board_config_flush
@@ -25,8 +25,7 @@ realtek_setup_interfaces()
case $board in
bt-pon,bt-g711ax)
# No DSA switch driver yet.
ucidef_set_interface_lan "eth0"
ucidef_set_interface_lan "$lan_list"
;;
*)
ucidef_set_bridge_device switch