aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorWeijie Gao <hackpascal@gmail.com>2018-12-09 02:55:56 +0800
committerMathias Kresin <dev@kresin.me>2018-12-28 12:45:23 +0100
commit74af8a833a00da6cc8b6bbd0993917ab717f7d54 (patch)
treef52618e48b873e83b1fa0e3d81895aac39baf6b2 /target/linux/ramips/base-files
parentd020ae79ab65a291e53a52a94985b4ab42a30541 (diff)
downloadupstream-74af8a833a00da6cc8b6bbd0993917ab717f7d54.tar.gz
upstream-74af8a833a00da6cc8b6bbd0993917ab717f7d54.tar.bz2
upstream-74af8a833a00da6cc8b6bbd0993917ab717f7d54.zip
ramips: add support for CreativeBox v1
Hardware: SoC: MT7621 DRAM: 512MB DDR3 Flash: 32MB SPI-NOR WiFi 2.4GHz: MT7603 @ PCIe0 WiFi 5.8GHz: MT7612 @ PCIe1 SATA: ASM1061 @ PCIe2 Interfaces: GBE RJ45 x5 USB3.0 x1 eSATA (with USB2.0) x1 SATA x1 UART x1 I2C x1 JTAG x1 Flash instructions: Through factory bootloader or firmware web interface Signed-off-by: Weijie Gao <hackpascal@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
2 files changed, 4 insertions, 0 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 400183acc5..2e62073d3f 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -397,6 +397,9 @@ wrh-300cr)
set_wifi_led "$boardname:green:wlan"
ucidef_set_led_netdev "lan" "lan" "$boardname:green:ethernet" "eth0"
;;
+xzwifi,creativebox-v1)
+ ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x10"
+ ;;
y1)
ucidef_set_led_netdev "wifi" "WIFI" "$boardname:blue:wifi" "wlan1"
ucidef_set_led_netdev "wifi5g" "WIFI5G" "$boardname:blue:wifi5g" "wlan0"
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 4cf6159745..797490aed4 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -80,6 +80,7 @@ ramips_setup_interfaces()
ai-br100|\
alfa-network,ac1200rm|\
mediatek,ap-mt7621a-v60|\
+ xzwifi,creativebox-v1|\
d240|\
db-wrt01|\
dir-300-b7|\