X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fpatches-3.18%2F610-MIPS-ath79-openwrt-machines.patch;h=b217b199aa01cd8d5998ac087b5fab340384a8a4;hb=ab565bdc7b096f18c0d7487b070c24e8c9a75fdc;hp=f8a561c0b0a456f197a2b1207e316b833acade7e;hpb=90043a99adccb6c7f9dc881f051b5a7b247f8704;p=openwrt.git diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch index f8a561c0b0..b217b199aa 100644 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ath79/machtypes.h +++ b/arch/mips/ath79/machtypes.h -@@ -16,22 +16,191 @@ +@@ -16,22 +16,192 @@ enum ath79_mach_type { ATH79_MACH_GENERIC = 0, @@ -134,7 +134,7 @@ + ATH79_MACH_TL_WR2543N, /* TP-LINK TL-WR2543N/ND */ + ATH79_MACH_TL_WR703N, /* TP-LINK TL-WR703N */ + ATH79_MACH_TL_WR710N, /* TP-LINK TL-WR710N */ -+ ATH79_MACH_TL_WR720N_V3, /* TP-LINK TL-WR720N v3 */ ++ ATH79_MACH_TL_WR720N_V3, /* TP-LINK TL-WR720N v3/v4 */ + ATH79_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */ + ATH79_MACH_TL_WR741ND_V4, /* TP-LINK TL-WR741ND v4*/ + ATH79_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */ @@ -179,6 +179,7 @@ + ATH79_MACH_WP543, /* Compex WP543 */ + ATH79_MACH_WPE72, /* Compex WPE72 */ + ATH79_MACH_WPJ344, /* Compex WPJ344 */ ++ ATH79_MACH_WPJ531, /* Compex WPJ531 */ + ATH79_MACH_WPJ558, /* Compex WPJ558 */ + ATH79_MACH_WRT160NL, /* Linksys WRT160NL */ + ATH79_MACH_WRT400N, /* Linksys WRT400N */ @@ -265,7 +266,7 @@ config ATH79_MACH_AP121 bool "Atheros AP121 reference board" select SOC_AR933X -@@ -11,62 +75,986 @@ config ATH79_MACH_AP121 +@@ -11,62 +75,996 @@ config ATH79_MACH_AP121 select ATH79_DEV_M25P80 select ATH79_DEV_USB select ATH79_DEV_WMAC @@ -510,6 +511,16 @@ + select ATH79_DEV_USB + select ATH79_DEV_WMAC + ++config ATH79_MACH_WPJ531 ++ bool "Compex WPJ531 board support" ++ select SOC_QCA953X ++ 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_WPJ558 + bool "Compex WPJ558 board support" + select SOC_QCA955X @@ -1118,7 +1129,7 @@ + select ATH79_DEV_WMAC + +config ATH79_MACH_TL_WR720N_V3 -+ bool "TP-LINK TL-WR720N v3 support" ++ bool "TP-LINK TL-WR720N v3/v4 support" + select SOC_AR933X + select ATH79_DEV_ETH + select ATH79_DEV_GPIO_BUTTONS @@ -1280,7 +1291,7 @@ config ATH79_MACH_UBNT_XM bool "Ubiquiti Networks XM/UniFi boards" -@@ -83,6 +1071,97 @@ config ATH79_MACH_UBNT_XM +@@ -83,6 +1081,97 @@ config ATH79_MACH_UBNT_XM Say 'Y' here if you want your kernel to support the Ubiquiti Networks XM (rev 1.0) board. @@ -1378,7 +1389,7 @@ endmenu config SOC_AR71XX -@@ -124,7 +1203,10 @@ config ATH79_DEV_DSA +@@ -124,7 +1213,10 @@ config ATH79_DEV_DSA config ATH79_DEV_ETH def_bool n @@ -1390,7 +1401,7 @@ def_bool n config ATH79_DEV_GPIO_BUTTONS -@@ -154,6 +1236,11 @@ config ATH79_PCI_ATH9K_FIXUP +@@ -154,6 +1246,11 @@ config ATH79_PCI_ATH9K_FIXUP def_bool n config ATH79_ROUTERBOOT @@ -1404,7 +1415,7 @@ endif --- a/arch/mips/ath79/Makefile +++ b/arch/mips/ath79/Makefile -@@ -38,9 +38,120 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route +@@ -38,9 +48,121 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route # # Machines # @@ -1514,6 +1525,7 @@ +obj-$(CONFIG_ATH79_MACH_WP543) += mach-wp543.o +obj-$(CONFIG_ATH79_MACH_WPE72) += mach-wpe72.o +obj-$(CONFIG_ATH79_MACH_WPJ344) += mach-wpj344.o ++obj-$(CONFIG_ATH79_MACH_WPJ531) += mach-wpj531.o +obj-$(CONFIG_ATH79_MACH_WPJ558) += mach-wpj558.o +obj-$(CONFIG_ATH79_MACH_WRT160NL) += mach-wrt160nl.o +obj-$(CONFIG_ATH79_MACH_WRT400N) += mach-wrt400n.o