From dce5c4f5c8629af13bdb7cb5803a349cb8305d70 Mon Sep 17 00:00:00 2001 From: Xuefu Lin Date: Fri, 30 Sep 2016 19:41:12 +0800 Subject: 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 --- target/linux/ramips/base-files/etc/board.d/01_leds | 3 +++ target/linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/etc/diag.sh | 3 +++ 3 files changed, 7 insertions(+) (limited to 'target/linux/ramips/base-files/etc') 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 8bc3d0c..5211938 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 c8b57ca..5ad9a13 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 7870ce2..98afa05 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" -- cgit v1.1