ar71xx: Add support for Wallys DR344
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-4.1 / 702-MIPS-ath79-openwrt-dr344.patch
1 diff -Nru a/arch/mips/ath79/Kconfig b/arch/mips/ath79/Kconfig
2 --- a/arch/mips/ath79/Kconfig 2015-10-27 22:09:32.705886861 +0100
3 +++ b/arch/mips/ath79/Kconfig 2015-10-27 22:16:08.822566162 +0100
4 @@ -512,6 +512,16 @@
5 select ATH79_DEV_NFC
6 select ATH79_DEV_USB
7
8 +config ATH79_MACH_DR344
9 + bool "Wallys DR344 board support"
10 + select SOC_AS934X
11 + select ATH79_DEV_ETH
12 + select ATH79_DEV_GPIO_BUTTONS
13 + select ATH79_DEV_LEDS_GPIO
14 + select ATH79_DEV_M25P80
15 + select ATH79_DEV_USB
16 + select ATH79_DEV_WMAC
17 +
18 config ATH79_MACH_DRAGINO2
19 bool "DRAGINO V2 support"
20 select SOC_AR933X
21 diff -Nru a/arch/mips/ath79/machtypes.h b/arch/mips/ath79/machtypes.h
22 --- a/arch/mips/ath79/machtypes.h 2015-10-27 22:09:32.706886873 +0100
23 +++ b/arch/mips/ath79/machtypes.h 2015-10-27 22:12:28.011957673 +0100
24 @@ -60,6 +60,7 @@
25 ATH79_MACH_DIR_835_A1, /* D-Link DIR-835 rev. A1 */
26 ATH79_MACH_DLAN_PRO_500_WP, /* devolo dLAN pro 500 Wireless+ */
27 ATH79_MACH_DLAN_PRO_1200_AC, /* devolo dLAN pro 1200+ WiFi ac*/
28 + ATH79_MACH_DR344, /* Wallys DR344 */
29 ATH79_MACH_DRAGINO2, /* Dragino Version 2 */
30 ATH79_MACH_ESR900, /* EnGenius ESR900 */
31 ATH79_MACH_EW_DORIN, /* embedded wireless Dorin Platform */
32 diff -Nru a/arch/mips/ath79/Makefile b/arch/mips/ath79/Makefile
33 --- a/arch/mips/ath79/Makefile 2015-10-27 22:09:32.706886873 +0100
34 +++ b/arch/mips/ath79/Makefile 2015-10-27 22:17:18.716391867 +0100
35 @@ -72,6 +72,7 @@
36 obj-$(CONFIG_ATH79_MACH_DIR_615_I1) += mach-dir-615-i1.o
37 obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
38 obj-$(CONFIG_ATH79_MACH_DIR_825_C1) += mach-dir-825-c1.o
39 +obj-$(CONFIG_ATH79_MACH_DR344) += mach-dr344.o
40 obj-$(CONFIG_ATH79_MACH_DRAGINO2) += mach-dragino2.o
41 obj-$(CONFIG_ATH79_MACH_ESR900) += mach-esr900.o
42 obj-$(CONFIG_ATH79_MACH_EW_DORIN) += mach-ew-dorin.o