aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorXuefu Lin <xuefulin@gmail.com>2016-09-30 19:41:12 +0800
committerJohn Crispin <john@phrozen.org>2016-10-04 11:50:46 +0200
commitdce5c4f5c8629af13bdb7cb5803a349cb8305d70 (patch)
tree91a59fce0b0af0641a2c1c9f3c11e60f3379c655 /target/linux/ramips/base-files/etc
parenta51a11931bbca510d035432f6b496b3678db05b1 (diff)
downloadupstream-dce5c4f5c8629af13bdb7cb5803a349cb8305d70.tar.gz
upstream-dce5c4f5c8629af13bdb7cb5803a349cb8305d70.tar.bz2
upstream-dce5c4f5c8629af13bdb7cb5803a349cb8305d70.zip
ramips: Add support for Phicomm K2 PSG1218
- CPU: MT7620A 580MHz - Flash: 8MB - RAM: 64MB - External PA+LNA on both WLAN2.4 and WLAN5 - 4x LAN ethernet and 1x WAN ethernet Signed-off-by: Xuefu Lin <xuefulin@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh3
3 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 8bc3d0cda7..52119383b0 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -255,6 +255,9 @@ pbr-m1)
psg1208)
set_wifi_led "$board:white:wlan2g"
;;
+psg1218)
+ ucidef_set_led_default "power" "power" "$board:red:status" "1"
+ ;;
px-4885)
set_wifi_led "$board:orange:wifi"
set_usb_led "$board:blue:storage"
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index c8b57ca64e..5ad9a13b86 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -84,6 +84,7 @@ ramips_setup_interfaces()
oy-0001|\
pbr-m1|\
psg1208|\
+ psg1218|\
sap-g3200u3|\
sk-wb8|\
wf-2881|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 7870ce2ffb..98afa05e04 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -93,6 +93,9 @@ get_status_led() {
psg1208)
status_led="$board:white:wps"
;;
+ psg1218)
+ status_led="$board:blue:status"
+ ;;
cy-swr1100|\
w502u)
status_led="$board:blue:wps"