From 8b38a9450bd0e07306641d9250e1565f5804351b Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 15 Feb 2016 18:45:22 +0000 Subject: ramips: Add support for Phicomm PSG1208 This patch adds support for Phicomm PSG1208.This is a router with MT7620A SoC with 8M flash and 64M ram. The WPS led is uesd as status_led because the power light can't be controlled with GPIO. It seems that the 5g wifi led is connected to MT7612E and it can't be controlled with GPIO too. Signed-off-by: Chuanhong Guo SVN-Revision: 48721 --- 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, 6 insertions(+), 1 deletion(-) (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 b10f5f1eba..d1b4e159ae 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -208,6 +208,9 @@ pbr-m1) ucidef_set_led_default "power" "power" "$board:blue:power" "1" ucidef_set_led_default "sys" "sys" "$board:blue:sys" "1" ;; +psg1208) + set_wifi_led "$board:white:wlan2g" + ;; 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 98537292b1..0121e51665 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -74,6 +74,7 @@ ramips_setup_interfaces() mzk-w300nh2|\ oy-0001|\ pbr-m1|\ + psg1208|\ sap-g3200u3|\ wf-2881|\ whr-300hp2|\ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 59c5965396..c7c7815b25 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -75,7 +75,8 @@ get_status_led() { dir-645) status_led="$board:green:wps" ;; - cf-wr800n) + cf-wr800n|\ + psg1208) status_led="$board:white:wps" ;; cy-swr1100|\ -- cgit v1.2.3