aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/generic/base-files')
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/02_network2
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds
index 08ca2a8398..a345dca4af 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds
@@ -40,6 +40,10 @@ alfa-network,n5q)
ucidef_set_led_rssi "signal3" "SIGNAL3" "green:signal3" "wlan0" "50" "100"
ucidef_set_led_rssi "signal4" "SIGNAL4" "green:signal4" "wlan0" "75" "100"
;;
+alfa-network,pi-wifi4)
+ ucidef_set_led_netdev "lan_data" "LAN_DATA" "orange:lan_data" "eth0" "tx rx"
+ ucidef_set_led_netdev "lan_link" "LAN_LINK" "green:lan_link" "eth0" "link"
+ ;;
alfa-network,r36a)
ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
ucidef_set_led_switch "wan" "WAN" "blue:wan" "switch0" "0x10"
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index 4d0766d262..d03399a054 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -13,6 +13,7 @@ ath79_setup_interfaces()
adtran,bsap1840|\
allnet,all-wap02860ac|\
alfa-network,ap121f|\
+ alfa-network,pi-wifi4|\
arduino,yun|\
aruba,ap-105|\
avm,fritz1750e|\
@@ -418,6 +419,7 @@ ath79_setup_macs()
alfa-network,ap121fe|\
alfa-network,n2q|\
alfa-network,n5q|\
+ alfa-network,pi-wifi4|\
alfa-network,r36a|\
engenius,ens202ext-v1)
label_mac=$(mtd_get_mac_binary art 0x1002)