695497d17e83392dc346dd264b083e9c62752bc0
[openwrt.git] / target / linux / ar71xx / patches-3.14 / 729-MIPS-ath79-add-WZR-450HP2.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -188,6 +188,7 @@ enum ath79_mach_type {
4         ATH79_MACH_WZR_HP_G300NH,       /* Buffalo WZR-HP-G300NH */
5         ATH79_MACH_WZR_HP_G300NH2,      /* Buffalo WZR-HP-G300NH2 */
6         ATH79_MACH_WZR_HP_G450H,        /* Buffalo WZR-HP-G450H */
7 +       ATH79_MACH_WZR_450HP2,          /* Buffalo WZR-450HP2 */
8         ATH79_MACH_ZCN_1523H_2,         /* Zcomax ZCN-1523H-2-xx */
9         ATH79_MACH_ZCN_1523H_5,         /* Zcomax ZCN-1523H-5-xx */
10  };
11 --- a/arch/mips/ath79/Kconfig
12 +++ b/arch/mips/ath79/Kconfig
13 @@ -263,6 +263,16 @@ config ATH79_MACH_WZR_HP_G450H
14         select ATH79_DEV_M25P80
15         select ATH79_DEV_USB
16  
17 +config ATH79_MACH_WZR_450HP2
18 +       bool "Buffalo WZR-450HP2 board support"
19 +       select SOC_QCA955X
20 +       select ATH79_DEV_ETH
21 +       select ATH79_DEV_GPIO_BUTTONS
22 +       select ATH79_DEV_LEDS_GPIO
23 +       select ATH79_DEV_M25P80
24 +       select ATH79_DEV_USB
25 +       select ATH79_DEV_WMAC
26 +
27  config ATH79_MACH_WP543
28         bool "Compex WP543/WPJ543 board support"
29         select SOC_AR71XX
30 --- a/arch/mips/ath79/Makefile
31 +++ b/arch/mips/ath79/Makefile
32 @@ -142,6 +142,7 @@ obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH)      +
33  obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2)        += mach-wzr-hp-g300nh2.o
34  obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o
35  obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H)  += mach-wzr-hp-g450h.o
36 +obj-$(CONFIG_ATH79_MACH_WZR_450HP2)    += mach-wzr-450hp2.o
37  obj-$(CONFIG_ATH79_MACH_ZCN_1523H)     += mach-zcn-1523h.o
38  obj-$(CONFIG_ATH79_MACH_CARAMBOLA2)    += mach-carambola2.o
39  obj-$(CONFIG_ATH79_MACH_NBG6716)       += mach-nbg6716.o