From 57577bb8ccaa79adc30e0c4b1f85a88a84e3ebfe Mon Sep 17 00:00:00 2001 From: Jack Chen Date: Fri, 14 Oct 2022 15:58:46 +0800 Subject: ipq40xx: convert to DSA and enable mobipromo,cm520-79f Convert to DSA and enable the MobiPromo CM520-79F device again. Signed-off-by: Jack Chen Reviewed-by: Robert Marko --- target/linux/ipq40xx/base-files/etc/board.d/01_leds | 6 +++--- target/linux/ipq40xx/base-files/etc/board.d/02_network | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'target/linux/ipq40xx/base-files') diff --git a/target/linux/ipq40xx/base-files/etc/board.d/01_leds b/target/linux/ipq40xx/base-files/etc/board.d/01_leds index 748b6f5b82..ac03c3317a 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/01_leds +++ b/target/linux/ipq40xx/base-files/etc/board.d/01_leds @@ -81,9 +81,9 @@ mikrotik,sxtsq-5-ac) ucidef_set_led_rssi "rssihigh" "rssihigh" "green:rssihigh" "wlan0" "81" "100" ;; mobipromo,cm520-79f) - ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1" - ucidef_set_led_switch "lan1" "LAN1" "blue:lan1" "switch0" "0x10" - ucidef_set_led_switch "lan2" "LAN2" "blue:lan2" "switch0" "0x08" + ucidef_set_led_netdev "wan" "WAN" "blue:wan" "wan" + ucidef_set_led_netdev "lan1" "LAN1" "blue:lan1" "lan1" + ucidef_set_led_netdev "lan2" "LAN2" "blue:lan2" "lan2" ;; netgear,ex6100v2 |\ netgear,ex6150v2) diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index 56d38bd6a7..fc9751eb13 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -56,7 +56,8 @@ ipq40xx_setup_interfaces() compex,wpj428) ucidef_set_interface_lan "lan1 lan2" ;; - glinet,gl-b1300) + glinet,gl-b1300|\ + mobipromo,cm520-79f) ucidef_set_interfaces_lan_wan "lan1 lan2" "wan" ;; mikrotik,wap-ac) -- cgit v1.2.3