ar71xx: add support for the TRENDnet TEW-712BR board
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.3 / 611-TEW-712BR-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -549,6 +549,16 @@ config ATH79_MACH_TEW_673GRU
4 select ATH79_DEV_USB
5 select ATH79_NVRAM
6
7 +config ATH79_MACH_TEW_712BR
8 + bool "TRENDnet TEW-712BR support"
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_WMAC
15 + select ATH79_NVRAM
16 +
17 config ATH79_MACH_UBNT
18 bool "Ubiquiti AR71xx based boards support"
19 select SOC_AR71XX
20 --- a/arch/mips/ath79/Makefile
21 +++ b/arch/mips/ath79/Makefile
22 @@ -67,6 +67,7 @@ obj-$(CONFIG_ATH79_MACH_RB750) += mach-
23 obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o
24 obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
25 obj-$(CONFIG_ATH79_MACH_TEW_673GRU) += mach-tew-673gru.o
26 +obj-$(CONFIG_ATH79_MACH_TEW_712BR) += mach-tew-712br.o
27 obj-$(CONFIG_ATH79_MACH_TL_MR11U) += mach-tl-mr11u.o
28 obj-$(CONFIG_ATH79_MACH_TL_MR3020) += mach-tl-mr3020.o
29 obj-$(CONFIG_ATH79_MACH_TL_MR3X20) += mach-tl-mr3x20.o
30 --- a/arch/mips/ath79/machtypes.h
31 +++ b/arch/mips/ath79/machtypes.h
32 @@ -63,6 +63,7 @@ enum ath79_mach_type {
33 ATH79_MACH_RW2458N, /* Redwave RW2458N */
34 ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
35 ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
36 + ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
37 ATH79_MACH_TL_MR11U, /* TP-LINK TL-MR11U */
38 ATH79_MACH_TL_MR3020, /* TP-LINK TL-MR3020 */
39 ATH79_MACH_TL_MR3220, /* TP-LINK TL-MR3220 */