aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files/etc
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2022-10-05 23:35:21 +0900
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-09 22:45:06 +0200
commit32e41ba18a41eac8cc782de78fd988b18fc44527 (patch)
tree1cfdb0e729d4b9e63171d6a0d44c4946c9b2ed12 /target/linux/ipq40xx/base-files/etc
parent579ea6b97079cf57949892969064dbee3203d1f4 (diff)
downloadupstream-32e41ba18a41eac8cc782de78fd988b18fc44527.tar.gz
upstream-32e41ba18a41eac8cc782de78fd988b18fc44527.tar.bz2
upstream-32e41ba18a41eac8cc782de78fd988b18fc44527.zip
ipq40xx: convert to DSA and enable Sony NCP-HG100/Cellular
This patch converts networking on Sony NCP-HG100/Cellular to DSA and re-enables support for the device. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc')
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/01_leds4
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/02_network1
2 files changed, 3 insertions, 2 deletions
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 74f31e778f..cd68ed32c0 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq40xx/base-files/etc/board.d/01_leds
@@ -95,8 +95,8 @@ qxwlan,e2600ac-c2)
ucidef_set_led_wlan "wlan5g" "WLAN1" "green:wlan1" "phy1tpt"
;;
sony,ncp-hg100-cellular)
- ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
- ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "lan"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
ucidef_set_led_netdev "wwan" "WWAN" "green:wan-4" "wwan0"
;;
zyxel,nbg6617 |\
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 583b5c8fbd..1089a7f3f8 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
@@ -34,6 +34,7 @@ ipq40xx_setup_interfaces()
luma,wrtq-329acn|\
mikrotik,cap-ac|\
netgear,wac510|\
+ sony,ncp-hg100-cellular|\
zte,mf289f)
ucidef_set_interfaces_lan_wan "lan" "wan"
;;