ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are swapped. use...
[openwrt/staging/wigyori.git] / target / linux / ar71xx / patches-4.1 / 822-MIPS-ath79-Arduino-yun-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -76,6 +76,19 @@ config ATH79_MACH_ANTMINER_S3
4 select ATH79_DEV_USB
5 select ATH79_DEV_WMAC
6
7 +config ATH79_MACH_ARDUINO_YUN
8 + bool "Arduino Yun"
9 + select SOC_AR933X
10 + select ATH79_DEV_ETH
11 + select ATH79_DEV_GPIO_BUTTONS
12 + select ATH79_DEV_LEDS_GPIO
13 + select ATH79_DEV_M25P80
14 + select ATH79_DEV_USB
15 + select ATH79_DEV_WMAC
16 + help
17 + Say 'Y' here if you want your kernel to support the
18 + Arduino Yun.
19 +
20 config ATH79_MACH_AP113
21 bool "Atheros AP113 board support"
22 select SOC_AR724X
23 --- a/arch/mips/ath79/machtypes.h
24 +++ b/arch/mips/ath79/machtypes.h
25 @@ -23,6 +23,7 @@ enum ath79_mach_type {
26 ATH79_MACH_ALL0315N, /* Allnet ALL0315N */
27 ATH79_MACH_ANTMINER_S1, /* Antminer S1 */
28 ATH79_MACH_ANTMINER_S3, /* Antminer S3 */
29 + ATH79_MACH_ARDUINO_YUN, /* Yun */
30 ATH79_MACH_AP113, /* Atheros AP113 reference board */
31 ATH79_MACH_AP121, /* Atheros AP121 reference board */
32 ATH79_MACH_AP121_MINI, /* Atheros AP121-MINI reference board */
33 --- a/arch/mips/ath79/Makefile
34 +++ b/arch/mips/ath79/Makefile
35 @@ -44,6 +44,7 @@ obj-$(CONFIG_ATH79_MACH_ALL0258N) += mac
36 obj-$(CONFIG_ATH79_MACH_ALL0315N) += mach-all0315n.o
37 obj-$(CONFIG_ATH79_MACH_ANTMINER_S1)+= mach-antminer-s1.o
38 obj-$(CONFIG_ATH79_MACH_ANTMINER_S3)+= mach-antminer-s3.o
39 +obj-$(CONFIG_ATH79_MACH_ARDUINO_YUN) += mach-arduino-yun.o
40 obj-$(CONFIG_ATH79_MACH_AP113) += mach-ap113.o
41 obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
42 obj-$(CONFIG_ATH79_MACH_AP132) += mach-ap132.o