ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
;;
+tpe-r1100)
+ ucidef_set_led_wlan "wlan" "WLAN" "gl_ar150:wlan" "phy0tpt"
+ ;;
+
+tpe-r3300)
+ ucidef_set_led_wlan "wlan" "WLAN" "gl_ar300:wlan" "phy0tpt"
+ ;;
+
tube2h)
ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
ucidef_set_rssimon "wlan0" "40000" "1"
tl-wa901nd-v3 |\
tl-wa901nd-v4 |\
tl-wr703n |\
+tpe-r1100 |\
+tpe-r3300)
+ ucidef_set_interfaces_lan_wan "eth1" "eth0"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
+ ;;
+
tube2h |\
unifiac |\
wndap360 |\
"453000"*)
model="MERCURY MW4530R"
;;
+ "457000"*)
+ model="ThinkPenguin TPE-R5500"
+ ;;
"934100"*)
model="NC-LINK SMART-300"
;;
*"TL-MR13U v1")
name="tl-mr13u"
;;
+ *"Think Penguin Mini TPE-R1100")
+ name="tpe-r1100"
+ ;;
+ *"Think Penguin Pro TPE-R3300")
+ name="tpe-r3300"
+ ;;
*"Tube2H")
name="tube2h"
;;
dlan-pro-500-wp | \
dlan-pro-1200-ac | \
dragino2 | \
+ tpe-r1100 | \
+ tpe-r3300 | \
+ tpe-r5500 | \
epg5000 | \
esr1750 | \
esr900 | \
CONFIG_ATH79_MACH_TL_WR841N_V9=y
CONFIG_ATH79_MACH_TL_WR941ND=y
CONFIG_ATH79_MACH_TL_WR941ND_V6=y
+CONFIG_ATH79_MACH_TPE_R1100=y
+CONFIG_ATH79_MACH_TPE_R3300=y
CONFIG_ATH79_MACH_TUBE2H=y
CONFIG_ATH79_MACH_UBNT=y
CONFIG_ATH79_MACH_UBNT_UNIFIAC=y
$(Device/tl-wdr4300-v1)
TPLINK_HWID := 0x45300001
endef
-TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-wdr4310-v1 mw4530r-v1
+define Device/tpe-r5500
+$(Device/tl-wdr4300-v1)
+ TPLINK_HWID := 0x45700001
+endef
+TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-wdr4310-v1 mw4530r-v1 tpe-r5500
define Device/tl-wdr6500-v2
$(Device/tplink-8mlzma)
endef
TARGET_DEVICES += oolite
+define Device/tpe-r1100
+ BOARDNAME = TPE-R1100
+ IMAGE_SIZE = 16000k
+ CONSOLE = ttyATH0,115200
+ MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro
+endef
+TARGET_DEVICES += tpe-r1100
+
+define Device/tpe-r3300
+ BOARDNAME = TPE-R3300
+ IMAGE_SIZE = 16000k
+ CONSOLE = ttyATH0,115200
+ MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro
+endef
+TARGET_DEVICES += tpe-r3300
+
# UBNT_BOARD e.g. one of (XS2, XS5, RS, XM)
# UBNT_TYPE e.g. one of (BZ, XM, XW)
# UBNT_CHIP e.g. one of (ar7240, ar933x, ar934x)
--- /dev/null
+--- a/arch/mips/ath79/Kconfig.librecmc
++++ b/arch/mips/ath79/Kconfig.librecmc
+@@ -33,6 +33,16 @@ config ATH79_MACH_ALFA_NX
+ select ATH79_DEV_LEDS_GPIO
+ select ATH79_DEV_M25P80
+
++config ATH79_MACH_TPE_R1100
++ bool "TPE-R1100 support"
++ select SOC_AR933X
++ select ATH79_DEV_ETH
++ select ATH79_DEV_GPIO_BUTTONS
++ select ATH79_DEV_LEDS_GPIO
++ select ATH79_DEV_M25P80
++ select ATH79_DEV_USB
++ select ATH79_DEV_WMAC
++
+ config ATH79_MACH_TUBE2H
+ bool "ALFA Network Tube2H board support"
+ select SOC_AR933X
+--- a/arch/mips/ath79/Makefile
++++ b/arch/mips/ath79/Makefile
+@@ -171,6 +171,7 @@ obj-$(CONFIG_ATH79_MACH_TL_WR1043ND_V2)
+ obj-$(CONFIG_ATH79_MACH_TL_WR2543N) += mach-tl-wr2543n.o
+ obj-$(CONFIG_ATH79_MACH_TL_WR703N) += mach-tl-wr703n.o
+ obj-$(CONFIG_ATH79_MACH_TL_WR720N_V3) += mach-tl-wr720n-v3.o
++obj-$(CONFIG_ATH79_MACH_TPE_R1100) += mach-tpe-r1100.o
+ obj-$(CONFIG_ATH79_MACH_TUBE2H) += mach-tube2h.o
+ obj-$(CONFIG_ATH79_MACH_UBNT) += mach-ubnt.o
+ obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -202,6 +202,7 @@ enum ath79_mach_type {
+ ATH79_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */
+ ATH79_MACH_TL_WR941ND_V5, /* TP-LINK TL-WR941ND v5 */
+ ATH79_MACH_TL_WR941ND_V6, /* TP-LINK TL-WR941ND v6 */
++ ATH79_MACH_TPE_R1100, /* TPE-R1100 support */
+ ATH79_MACH_TUBE2H, /* Alfa Network Tube2H */
+ ATH79_MACH_UBNT_AIRGW, /* Ubiquiti AirGateway */
+ ATH79_MACH_UBNT_AIRGWP, /* Ubiquiti AirGateway Pro */
--- /dev/null
+--- a/arch/mips/ath79/Kconfig.librecmc
++++ b/arch/mips/ath79/Kconfig.librecmc
+@@ -43,6 +43,16 @@ config ATH79_MACH_TPE_R1100
+ select ATH79_DEV_USB
+ select ATH79_DEV_WMAC
+
++config ATH79_MACH_TPE_R3300
++ bool "TPE_R3300 support"
++ select SOC_AR933X
++ select ATH79_DEV_ETH
++ select ATH79_DEV_GPIO_BUTTONS
++ select ATH79_DEV_LEDS_GPIO
++ select ATH79_DEV_M25P80
++ select ATH79_DEV_USB
++ select ATH79_DEV_WMAC
++
+ config ATH79_MACH_TUBE2H
+ bool "ALFA Network Tube2H board support"
+ select SOC_AR933X
+--- a/arch/mips/ath79/Makefile
++++ b/arch/mips/ath79/Makefile
+@@ -172,6 +172,7 @@ obj-$(CONFIG_ATH79_MACH_TL_WR2543N) += m
+ obj-$(CONFIG_ATH79_MACH_TL_WR703N) += mach-tl-wr703n.o
+ obj-$(CONFIG_ATH79_MACH_TL_WR720N_V3) += mach-tl-wr720n-v3.o
+ obj-$(CONFIG_ATH79_MACH_TPE_R1100) += mach-tpe-r1100.o
++obj-$(CONFIG_ATH79_MACH_TPE_R3300) += mach-tpe-r3300.o
+ obj-$(CONFIG_ATH79_MACH_TUBE2H) += mach-tube2h.o
+ obj-$(CONFIG_ATH79_MACH_UBNT) += mach-ubnt.o
+ obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -203,6 +203,7 @@ enum ath79_mach_type {
+ ATH79_MACH_TL_WR941ND_V5, /* TP-LINK TL-WR941ND v5 */
+ ATH79_MACH_TL_WR941ND_V6, /* TP-LINK TL-WR941ND v6 */
+ ATH79_MACH_TPE_R1100, /* TPE-R1100 support */
++ ATH79_MACH_TPE_R3300, /* TPE-R3300 */
+ ATH79_MACH_TUBE2H, /* Alfa Network Tube2H */
+ ATH79_MACH_UBNT_AIRGW, /* Ubiquiti AirGateway */
+ ATH79_MACH_UBNT_AIRGWP, /* Ubiquiti AirGateway Pro */