ee41f655cc1e10ea83382cfa6be7bd32e5b7a5d1
[openwrt/openwrt.git] / target / linux / ar71xx / patches-3.10 / 623-MIPS-ath79-DIR505-support.patch
1 Index: linux-3.10.4/arch/mips/ath79/Kconfig
2 ===================================================================
3 --- linux-3.10.4.orig/arch/mips/ath79/Kconfig 2013-08-04 19:08:12.739921385 +0200
4 +++ linux-3.10.4/arch/mips/ath79/Kconfig 2013-08-04 19:09:15.379922883 +0200
5 @@ -254,6 +254,16 @@
6 select ATH79_DEV_USB
7 select MYLOADER
8
9 +config ATH79_MACH_DIR_505_A1
10 + bool "D-Link DIR-505-A1 support"
11 + select SOC_AR933X
12 + select ATH79_DEV_ETH
13 + select ATH79_DEV_GPIO_BUTTONS
14 + select ATH79_DEV_LEDS_GPIO
15 + select ATH79_DEV_M25P80
16 + select ATH79_DEV_WMAC
17 + select ATH79_NVRAM
18 +
19 config ATH79_MACH_DIR_600_A1
20 bool "D-Link DIR-600 A1/DIR-615 E4 support"
21 select SOC_AR724X
22 Index: linux-3.10.4/arch/mips/ath79/Makefile
23 ===================================================================
24 --- linux-3.10.4.orig/arch/mips/ath79/Makefile 2013-08-04 19:07:36.299920522 +0200
25 +++ linux-3.10.4/arch/mips/ath79/Makefile 2013-08-04 19:09:42.363923523 +0200
26 @@ -53,6 +53,7 @@
27 obj-$(CONFIG_ATH79_MACH_AW_NR580) += mach-aw-nr580.o
28 obj-$(CONFIG_ATH79_MACH_CAP4200AG) += mach-cap4200ag.o
29 obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
30 +obj-$(CONFIG_ATH79_MACH_DIR_505_A1) += mach-dir-505-a1.o
31 obj-$(CONFIG_ATH79_MACH_DIR_600_A1) += mach-dir-600-a1.o
32 obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += mach-dir-615-c1.o
33 obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
34 Index: linux-3.10.4/arch/mips/ath79/machtypes.h
35 ===================================================================
36 --- linux-3.10.4.orig/arch/mips/ath79/machtypes.h 2013-08-04 19:08:12.739921385 +0200
37 +++ linux-3.10.4/arch/mips/ath79/machtypes.h 2013-08-04 19:09:29.715923222 +0200
38 @@ -37,6 +37,7 @@
39 ATH79_MACH_CARAMBOLA2, /* 8devices Carambola2 */
40 ATH79_MACH_DB120, /* Atheros DB120 reference board */
41 ATH79_MACH_PB44, /* Atheros PB44 reference board */
42 + ATH79_MACH_DIR_505_A1, /* D-Link DIR-505 rev. A1 */
43 ATH79_MACH_DIR_600_A1, /* D-Link DIR-600 rev. A1 */
44 ATH79_MACH_DIR_615_C1, /* D-Link DIR-615 rev. C1 */
45 ATH79_MACH_DIR_615_E4, /* D-Link DIR-615 rev. E4 */