mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
e3e31835ae
This patch adds support for TP-Link TL-MR13U router with built-in 10AH rechargeable battery. The patch is based on kamwanlai's patch: https://forum.openwrt.org/viewtopic.php?pid=206746#p206746 Updated to accommodate recent changes introduced with: ar71xx: remove fs_* variables from image/Makefile Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4063/ [juhosg: - refresh and rename rename 930-add-tl-mr13u-support.patch => 625-MIPS-ath79-add-tl-mr13u-support.patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38063
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
--- a/arch/mips/ath79/Kconfig
|
|
+++ b/arch/mips/ath79/Kconfig
|
|
@@ -535,6 +535,16 @@ config ATH79_MACH_TL_MR11U
|
|
select ATH79_DEV_USB
|
|
select ATH79_DEV_WMAC
|
|
|
|
+config ATH79_MACH_TL_MR13U
|
|
+ bool "TP-LINK TL-MR13U 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_TL_MR3020
|
|
bool "TP-LINK TL-MR3020 support"
|
|
select SOC_AR933X
|
|
--- a/arch/mips/ath79/machtypes.h
|
|
+++ b/arch/mips/ath79/machtypes.h
|
|
@@ -84,6 +84,7 @@ enum ath79_mach_type {
|
|
ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
|
|
ATH79_MACH_TL_MR10U, /* TP-LINK TL-MR10U */
|
|
ATH79_MACH_TL_MR11U, /* TP-LINK TL-MR11U */
|
|
+ ATH79_MACH_TL_MR13U, /* TP-LINK TL-MR13U */
|
|
ATH79_MACH_TL_MR3020, /* TP-LINK TL-MR3020 */
|
|
ATH79_MACH_TL_MR3040, /* TP-LINK TL-MR3040 */
|
|
ATH79_MACH_TL_MR3220, /* TP-LINK TL-MR3220 */
|
|
--- a/arch/mips/ath79/Makefile
|
|
+++ b/arch/mips/ath79/Makefile
|
|
@@ -80,6 +80,7 @@ obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += m
|
|
obj-$(CONFIG_ATH79_MACH_TEW_673GRU) += mach-tew-673gru.o
|
|
obj-$(CONFIG_ATH79_MACH_TEW_712BR) += mach-tew-712br.o
|
|
obj-$(CONFIG_ATH79_MACH_TL_MR11U) += mach-tl-mr11u.o
|
|
+obj-$(CONFIG_ATH79_MACH_TL_MR13U) += mach-tl-mr13u.o
|
|
obj-$(CONFIG_ATH79_MACH_TL_MR3020) += mach-tl-mr3020.o
|
|
obj-$(CONFIG_ATH79_MACH_TL_MR3X20) += mach-tl-mr3x20.o
|
|
obj-$(CONFIG_ATH79_MACH_TL_WA901ND) += mach-tl-wa901nd.o
|