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