aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
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/etc
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/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, 6 insertions, 1 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 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|\