mediatek: add TP-Link TL-XDR3250 v1 support
Specifications:
- SoC: Mediatek MT7622B
- RAM: 256M
- Flash: EN25QH128 16M
- Ethernet: RTL8367S 3xGE
- WiFi: MT7622 2.4G 4x4 + MT7905 5G 4x4
- UART: 3.3v, 115200n8
Flash instruction
Please refer commit 9f73519e62 ("mediatek: add support for TP-Link TL-XDR3230 v1").
This board is basically same as XDR3230 v1 so you can reuse the BL2 and FIP for it.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
-4
@@ -9,9 +9,6 @@
|
||||
#include "mt6380.dtsi"
|
||||
|
||||
/ {
|
||||
model = "TP-Link TL-XDR3230 v1";
|
||||
compatible = "tplink,tl-xdr3230-v1", "mediatek,mt7622";
|
||||
|
||||
aliases {
|
||||
led-boot = &red_status_led;
|
||||
led-failsafe = &red_status_led;
|
||||
@@ -31,7 +28,6 @@
|
||||
reg = <0 0x40000000 0 0x10000000>;
|
||||
};
|
||||
|
||||
|
||||
cpus {
|
||||
cpu@0 {
|
||||
proc-supply = <&mt6380_vcpu_reg>;
|
||||
@@ -0,0 +1,9 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
/dts-v1/;
|
||||
#include "mt7622-tplink-tl-xdr-common.dtsi"
|
||||
|
||||
/ {
|
||||
model = "TP-Link TL-XDR3230 v1";
|
||||
compatible = "tplink,tl-xdr3230-v1", "mediatek,mt7622";
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
/dts-v1/;
|
||||
#include "mt7622-tplink-tl-xdr-common.dtsi"
|
||||
|
||||
/ {
|
||||
model = "TP-Link TL-XDR3250 v1";
|
||||
compatible = "tplink,tl-xdr3250-v1", "mediatek,mt7622";
|
||||
};
|
||||
@@ -337,11 +337,8 @@ define Device/totolink_a8000ru
|
||||
endef
|
||||
TARGET_DEVICES += totolink_a8000ru
|
||||
|
||||
define Device/tplink_tl-xdr3230-v1
|
||||
define Device/tplink_tl-xdr-common
|
||||
DEVICE_VENDOR := TP-Link
|
||||
DEVICE_MODEL := TL-XDR3230
|
||||
DEVICE_VARIANT := v1
|
||||
DEVICE_DTS := mt7622-tplink_tl-xdr3230-v1
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
DEVICE_PACKAGES := kmod-mt7915-firmware swconfig
|
||||
KERNEL := kernel-bin | lzma
|
||||
@@ -352,8 +349,23 @@ define Device/tplink_tl-xdr3230-v1
|
||||
IMAGE/sysupgrade.itb := append-kernel | \
|
||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb external-static-with-rootfs | pad-rootfs | append-metadata
|
||||
endef
|
||||
|
||||
define Device/tplink_tl-xdr3230-v1
|
||||
DEVICE_MODEL := TL-XDR3230
|
||||
DEVICE_VARIANT := v1
|
||||
DEVICE_DTS := mt7622-tplink-tl-xdr3230-v1
|
||||
$(call Device/tplink_tl-xdr-common)
|
||||
endef
|
||||
TARGET_DEVICES += tplink_tl-xdr3230-v1
|
||||
|
||||
define Device/tplink_tl-xdr3250-v1
|
||||
DEVICE_MODEL := TL-XDR3250
|
||||
DEVICE_VARIANT := v1
|
||||
DEVICE_DTS := mt7622-tplink-tl-xdr3250-v1
|
||||
$(call Device/tplink_tl-xdr-common)
|
||||
endef
|
||||
TARGET_DEVICES += tplink_tl-xdr3250-v1
|
||||
|
||||
define Device/ubnt_unifi-6-lr-v1
|
||||
DEVICE_VENDOR := Ubiquiti
|
||||
DEVICE_MODEL := UniFi U6 Long-Range
|
||||
|
||||
@@ -24,6 +24,10 @@ mediatek_setup_interfaces()
|
||||
ucidef_add_switch "switch0" \
|
||||
"1:lan" "2:lan" "3:lan" "4:wan" "6u@eth0" "5u@eth1"
|
||||
;;
|
||||
tplink,tl-xdr3250-v1)
|
||||
ucidef_add_switch "switch0" \
|
||||
"2:lan:2" "3:lan:1" "1:wan" "6u@eth0" "5u@eth1"
|
||||
;;
|
||||
smartrg,sdg-841-t6)
|
||||
ucidef_set_interfaces_lan_wan lan wan
|
||||
;;
|
||||
|
||||
@@ -9,6 +9,7 @@ platform_do_upgrade() {
|
||||
bananapi,bpi-r64|\
|
||||
linksys,e8450-ubi|\
|
||||
tplink,tl-xdr3230-v1|\
|
||||
tplink,tl-xdr3250-v1|\
|
||||
ubnt,unifi-6-lr-v1-ubootmod|\
|
||||
ubnt,unifi-6-lr-v2-ubootmod|\
|
||||
ubnt,unifi-6-lr-v3-ubootmod|\
|
||||
|
||||
Reference in New Issue
Block a user