ramips: add support for Digineo AC1200 Pro
This is basically a ZBT-WG3526 (mt7621 SoC), but with 32M flash. Signed-off-by: Dominik Menke <dom@digineo.de>
This commit is contained in:
parent
6e3d7897f7
commit
8b65fef173
6 changed files with 33 additions and 4 deletions
|
@ -63,6 +63,7 @@ ramips_setup_interfaces()
|
||||||
ucidef_set_interface_lan "eth0.2"
|
ucidef_set_interface_lan "eth0.2"
|
||||||
;;
|
;;
|
||||||
3g-6200n|\
|
3g-6200n|\
|
||||||
|
ac1200pro|\
|
||||||
ai-br100|\
|
ai-br100|\
|
||||||
db-wrt01|\
|
db-wrt01|\
|
||||||
dir-300-b7|\
|
dir-300-b7|\
|
||||||
|
|
|
@ -53,10 +53,7 @@ get_status_led() {
|
||||||
mzk-ex750np)
|
mzk-ex750np)
|
||||||
status_led="$board:red:power"
|
status_led="$board:red:power"
|
||||||
;;
|
;;
|
||||||
ai-br100|\
|
ac1200pro|\
|
||||||
ht-tm02)
|
|
||||||
status_led="$board:blue:wlan"
|
|
||||||
;;
|
|
||||||
all0239-3g|\
|
all0239-3g|\
|
||||||
dcs-930|\
|
dcs-930|\
|
||||||
dir-300-b1|\
|
dir-300-b1|\
|
||||||
|
@ -82,6 +79,10 @@ get_status_led() {
|
||||||
zbt-wg3526)
|
zbt-wg3526)
|
||||||
status_led="$board:green:status"
|
status_led="$board:green:status"
|
||||||
;;
|
;;
|
||||||
|
ai-br100|\
|
||||||
|
ht-tm02)
|
||||||
|
status_led="$board:blue:wlan"
|
||||||
|
;;
|
||||||
atp-52b|\
|
atp-52b|\
|
||||||
ip2202)
|
ip2202)
|
||||||
status_led="$board:green:run"
|
status_led="$board:green:run"
|
||||||
|
|
|
@ -115,6 +115,9 @@ ramips_board_detect() {
|
||||||
*"DCS-930L B1")
|
*"DCS-930L B1")
|
||||||
name="dcs-930l-b1"
|
name="dcs-930l-b1"
|
||||||
;;
|
;;
|
||||||
|
*"Digineo AC1200 Pro")
|
||||||
|
name="ac1200pro"
|
||||||
|
;;
|
||||||
*"DIR-300 B1")
|
*"DIR-300 B1")
|
||||||
name="dir-300-b1"
|
name="dir-300-b1"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -17,6 +17,7 @@ platform_check_image() {
|
||||||
3g150b|\
|
3g150b|\
|
||||||
3g300m|\
|
3g300m|\
|
||||||
a5-v11|\
|
a5-v11|\
|
||||||
|
ac1200pro|\
|
||||||
ai-br100|\
|
ai-br100|\
|
||||||
air3gii|\
|
air3gii|\
|
||||||
all0239-3g|\
|
all0239-3g|\
|
||||||
|
|
15
target/linux/ramips/dts/AC1200pro.dts
Normal file
15
target/linux/ramips/dts/AC1200pro.dts
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
#include "ZBT-WG3526.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Digineo AC1200 Pro";
|
||||||
|
};
|
||||||
|
|
||||||
|
&firmware {
|
||||||
|
reg = <0x50000 0x1fb0000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&status_led {
|
||||||
|
label = "ac1200pro:green:status";
|
||||||
|
};
|
|
@ -148,6 +148,14 @@ define Device/zbt-wg3526
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += zbt-wg3526
|
TARGET_DEVICES += zbt-wg3526
|
||||||
|
|
||||||
|
define Device/ac1200pro
|
||||||
|
DTS := AC1200pro
|
||||||
|
IMAGE_SIZE := $(ralink_default_fw_size_32M)
|
||||||
|
DEVICE_TITLE := Digineo AC1200 Pro
|
||||||
|
DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci
|
||||||
|
endef
|
||||||
|
TARGET_DEVICES += ac1200pro
|
||||||
|
|
||||||
define Device/wf-2881
|
define Device/wf-2881
|
||||||
DTS := WF-2881
|
DTS := WF-2881
|
||||||
BLOCKSIZE := 128k
|
BLOCKSIZE := 128k
|
||||||
|
|
Loading…
Reference in a new issue