aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-02-15 18:45:22 +0000
committerJohn Crispin <john@openwrt.org>2016-02-15 18:45:22 +0000
commit8b38a9450bd0e07306641d9250e1565f5804351b (patch)
tree1bf3e527edbc9ab276a30bf6d46a17e5c34610b7 /target/linux/ramips/base-files/lib
parentf60cc5df9cd10731f883417358f445ad70346ad9 (diff)
downloadupstream-8b38a9450bd0e07306641d9250e1565f5804351b.tar.gz
upstream-8b38a9450bd0e07306641d9250e1565f5804351b.tar.bz2
upstream-8b38a9450bd0e07306641d9250e1565f5804351b.zip
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 <gch981213@gmail.com> SVN-Revision: 48721
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index aed8350291..c6c32fe7db 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -292,6 +292,9 @@ ramips_board_detect() {
*"PBR-M1")
name="pbr-m1"
;;
+ *"PSG1208")
+ name="psg1208"
+ ;;
*"PSR-680W"*)
name="psr-680w"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 78edd22164..5575b4c980 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -84,6 +84,7 @@ platform_check_image() {
nw718|\
oy-0001|\
pbr-m1|\
+ psg1208|\
psr-680w|\
px-4885|\
re6500|\