ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.10 / 703-MIPS-ath79-add-RB91x-support.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -75,6 +75,7 @@ enum ath79_mach_type {
4 ATH79_MACH_RB_450, /* MikroTik RouterBOARD 450 */
5 ATH79_MACH_RB_493, /* Mikrotik RouterBOARD 493/493AH */
6 ATH79_MACH_RB_493G, /* Mikrotik RouterBOARD 493G */
7 + ATH79_MACH_RB_711GR100, /* Mikrotik RouterBOARD 911/912 boards */
8 ATH79_MACH_RB_750, /* MikroTik RouterBOARD 750 */
9 ATH79_MACH_RB_750G_R3, /* MikroTik RouterBOARD 750GL */
10 ATH79_MACH_RB_751, /* MikroTik RouterBOARD 751 */
11 --- a/arch/mips/ath79/Kconfig
12 +++ b/arch/mips/ath79/Kconfig
13 @@ -391,6 +391,16 @@ config ATH79_MACH_RB750
14 select ATH79_ROUTERBOOT
15 select RLE_DECOMPRESS
16
17 +config ATH79_MACH_RB91X
18 + bool "MikroTik RouterBOARD 91X support"
19 + select SOC_AR934X
20 + select ATH79_DEV_ETH
21 + select ATH79_DEV_M25P80
22 + select ATH79_DEV_WMAC
23 + select ATH79_DEV_USB
24 + select ATH79_ROUTERBOOT
25 + select RLE_DECOMPRESS
26 +
27 config ATH79_MACH_RB95X
28 bool "MikroTik RouterBOARD 95X support"
29 select SOC_AR934X
30 --- a/arch/mips/ath79/Makefile
31 +++ b/arch/mips/ath79/Makefile
32 @@ -78,6 +78,7 @@ obj-$(CONFIG_ATH79_MACH_PB44) += mach-p
33 obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
34 obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
35 obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
36 +obj-$(CONFIG_ATH79_MACH_RB91X) += mach-rb91x.o
37 obj-$(CONFIG_ATH79_MACH_RB95X) += mach-rb95x.o
38 obj-$(CONFIG_ATH79_MACH_RB2011) += mach-rb2011.o
39 obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o