diff options
author | Michael Lee <igvtee@gmail.com> | 2016-05-02 11:57:40 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-07-11 14:19:47 +0200 |
commit | c3e420f28cf1ed229753f94bafdb0d5851748af3 (patch) | |
tree | 2b023931fbd0c874554460f67ae2a65bbbc0e400 /target/linux/ramips/base-files/etc/board.d | |
parent | 36d98e6c7a4fdfc929bdec0540c6071ee117275b (diff) | |
download | upstream-c3e420f28cf1ed229753f94bafdb0d5851748af3.tar.gz upstream-c3e420f28cf1ed229753f94bafdb0d5851748af3.tar.bz2 upstream-c3e420f28cf1ed229753f94bafdb0d5851748af3.zip |
ramips: Add support for D-Link DCH-M225
D-Link DCH-M225 is based on Mediatek MT7620 with 64MB ram, 8MB flash,
3.5mm audio out support. but no ethernet and usb ports.
so you must default enable wifi.
Signed-off-by: Michael Lee <igvtee@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 4 |
2 files changed, 8 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 0e30ba076d..695b0c1e7d 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -100,6 +100,10 @@ d105) db-wrt01) ucidef_set_led_default "power" "power" "$board:orange:power" "1" ;; +dch-m225) + ucidef_set_led_default "power" "POWER" "$board:geeen:power" "1" + ucidef_set_led_default "status" "STATUS" "$board:red:status" "0" + ;; dcs-930l-b1) ucidef_set_led_default "power" "POWER" "$board:red:power" "1" ucidef_set_led_netdev "wifi" "WiFi" "$board:blue:wps" 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 f8b8ec66bd..c1c5f81ebe 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -166,6 +166,7 @@ ramips_setup_interfaces() ;; cs-qr10|\ d105|\ + dch-m225|\ hpm|\ mzk-ex300np|\ mzk-ex750np|\ @@ -285,6 +286,9 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary devdata 7) ;; cy-swr1100|\ + dch-m225) + lan_mac=$(mtd_get_mac_ascii factory lanmac) + ;; dir-645) lan_mac=$(mtd_get_mac_ascii nvram lanmac) wan_mac=$(mtd_get_mac_ascii nvram wanmac) |