diff options
author | Mathias Kresin <dev@kresin.me> | 2017-04-12 07:53:56 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-04-25 19:29:59 +0200 |
commit | 2ddaf96a77a92186447ca18935b8a36d46d3db95 (patch) | |
tree | 4cff193fbf9cf8a1a1d83417971fe70ab4e994bd /target/linux/ramips/base-files/etc | |
parent | 3cfc909c54c07d5a24d9a1a7496142b82d580878 (diff) | |
download | upstream-2ddaf96a77a92186447ca18935b8a36d46d3db95.tar.gz upstream-2ddaf96a77a92186447ca18935b8a36d46d3db95.tar.bz2 upstream-2ddaf96a77a92186447ca18935b8a36d46d3db95.zip |
ramips: add ZBT-WE826 32MB variant
The ZBT-WG826 is available with 16 or 32 MByte of flash. Split the
device tree source file, rename the currently supported 16 MByte
version and add the 32 MByte variant.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 9 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 3 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 7 |
3 files changed, 12 insertions, 7 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 213f2edc26..d11d9c3df8 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -395,10 +395,11 @@ zbt-wa05) zbt-we2026) set_wifi_led "$board:green:wlan" ;; -zbt-we826) - ucidef_set_led_default "power" "power" "$board:green:power" "1" - set_wifi_led "$board:green:wifi" - set_usb_led "$board:green:usb" +zbt-we826-16M|\ +zbt-we826-32M) + ucidef_set_led_default "power" "power" "zbt-we826:green:power" "1" + set_wifi_led "zbt-we826:green:wifi" + set_usb_led "zbt-we826:green:usb" ;; zbt-wr8305rt) ucidef_set_led_default "power" "power" "$board:green:sys" "1" 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 016d293cf8..80a3bc2c51 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -112,7 +112,8 @@ ramips_setup_interfaces() youku-yk1|\ zbt-ape522ii|\ zbt-we1326|\ - zbt-we826|\ + zbt-we826-16M|\ + zbt-we826-32M|\ zbt-wg2626|\ zbt-wg3526-16M|\ zbt-wg3526-32M|\ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 8b5e260f1f..f2aca340dd 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -189,8 +189,7 @@ get_status_led() { status_led="$board:amber:system" ;; oy-0001|\ - sl-r7205|\ - zbt-we826) + sl-r7205) status_led="$board:green:wifi" ;; psr-680w) @@ -273,6 +272,10 @@ get_status_led() { zbt-cpe102) status_led="$board:green:4g-0" ;; + zbt-we826-16M|\ + zbt-we826-32M) + status_led="zbt-we826:green:wifi" + ;; zbt-wg3526-16M|\ zbt-wg3526-32M) status_led="zbt-wg3526:green:status" |