[ar71xx]: add support for the archer c5
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.10 / 724-MIPS-ath79-archer_c5-support.patch
diff --git a/target/linux/ar71xx/patches-3.10/724-MIPS-ath79-archer_c5-support.patch b/target/linux/ar71xx/patches-3.10/724-MIPS-ath79-archer_c5-support.patch
new file mode 100644 (file)
index 0000000..0668dfe
--- /dev/null
@@ -0,0 +1,21 @@
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -31,6 +31,7 @@ enum ath79_mach_type {
+       ATH79_MACH_AP81,                /* Atheros AP81 reference board */
+       ATH79_MACH_AP83,                /* Atheros AP83 */
+       ATH79_MACH_AP96,                /* Atheros AP96 */
++      ATH79_MACH_ARCHER_C5,           /* TP-LINK Archer C5 board */
+       ATH79_MACH_ARCHER_C7,           /* TP-LINK Archer C7 board */
+       ATH79_MACH_AW_NR580,            /* AzureWave AW-NR580 */
+       ATH79_MACH_BHU_BXU2000N2_A1,    /* BHU BXU2000n-2 A1 */
+--- a/arch/mips/ath79/Kconfig
++++ b/arch/mips/ath79/Kconfig
+@@ -654,7 +654,7 @@ config ATH79_MACH_EAP7660D
+       select ATH79_DEV_M25P80
+ config ATH79_MACH_ARCHER_C7
+-      bool "TP-LINK Archer C7/TL-WDR4900 v2 board support"
++      bool "TP-LINK Archer C5/C7/TL-WDR4900 v2 board support"
+       select SOC_QCA955X
+       select ATH79_DEV_AP9X_PCI if PCI
+       select ATH79_DEV_ETH