aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-06 04:52:07 +0000
committerJohn Crispin <blogic@openwrt.org>2014-10-06 04:52:07 +0000
commit5f9a01b40fb0006b63450e93945574f23440e5ac (patch)
treeb56ae92450971f27c937bb7b451a6c1a58c1a90c /target/linux/ramips/base-files/etc/board.d
parent9584e3b28b55637370ecacb06272872ffec140c9 (diff)
downloadmaster-187ad058-5f9a01b40fb0006b63450e93945574f23440e5ac.tar.gz
master-187ad058-5f9a01b40fb0006b63450e93945574f23440e5ac.tar.bz2
master-187ad058-5f9a01b40fb0006b63450e93945574f23440e5ac.zip
ramips: Support for RAMIPS based Tripmate HT-TM02 board
Provides support for the Tripmate HT-TM02 personal router including LEDs and reset button. “Mode” switch is not supported. New profile includes full set of packages required to enable LEDs, USB, and LUCI. Patches were applied against trunk snapshot r42649. Functionality has been tested in AP, basic wifi client, wifi router, and routed client modes - all good. Signed-off-by: Ron Curry <wingspinner@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42785 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network7
2 files changed, 11 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 bf646ed53b..ecaaaff764 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -112,6 +112,10 @@ case $board in
hlk-rm04)
set_wifi_led "rt2800pci-phy0::radio"
;;
+ ht-tm02)
+ ucidef_set_led_netdev "eth" "ETH" "ht-tm02:white:status" "eth0"
+ set_wifi_led "ht-tm02:blue:wifi"
+ ;;
all0239-3g|\
hw550-3g)
set_usb_led "hw550-3g:green:usb"
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 e027b3be89..c462fd8142 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -97,6 +97,12 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "4 9t"
;;
+ ht-tm02)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "4 6t"
+ ;;
+
3g-6200n | \
dir-610-a1 | \
dir-300-b7 | \
@@ -253,6 +259,7 @@ ramips_setup_macs()
hlk-rm04 | \
mpr-a1 | \
mpr-a2 | \
+ ht-tm02 | \
dir-300-b7 | \
dir-320-b1 | \
psr-680w |\