2
0
forked from Ivasoft/openwrt

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>
This commit is contained in:
Michael Lee
2016-05-02 11:57:40 +08:00
committed by John Crispin
parent 36d98e6c7a
commit c3e420f28c
9 changed files with 233 additions and 0 deletions

View File

@@ -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"

View File

@@ -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)

View File

@@ -19,6 +19,7 @@ get_status_led() {
asl26555|\
br-6425|\
br-6475nd|\
dch-m225|\
dir-860l-b1|\
e1700|\
fonera20n|\

View File

@@ -15,6 +15,7 @@ board=$(ramips_board_name)
case "$board" in
cy-swr1100 | \
dch-m225 | \
dir-645 | \
dir-860l-b1)
fix_seama_header