aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-02-15 18:45:22 +0000
committerJohn Crispin <blogic@openwrt.org>2016-02-15 18:45:22 +0000
commitffaee94bac564f21df4e6759c09894ba4c63a825 (patch)
treefb88ed88ac3bf4dca493f916a5e951bb5c5719c3 /target/linux/ramips/base-files/lib
parent6ed31331080728a23d8ba71d7959ff447240a41f (diff)
downloadmaster-187ad058-ffaee94bac564f21df4e6759c09894ba4c63a825.tar.gz
master-187ad058-ffaee94bac564f21df4e6759c09894ba4c63a825.tar.bz2
master-187ad058-ffaee94bac564f21df4e6759c09894ba4c63a825.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48721 3c298f89-4303-0410-b956-a3cf2f4a3e73
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|\