diff options
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-wpj558.c | 3 | ||||
-rw-r--r-- | target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj558.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj558.c index 7c5509c964..c7b120dc2e 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj558.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj558.c @@ -32,6 +32,7 @@ #include "dev-ap9x-pci.h" #include "dev-gpio-buttons.h" #include "dev-eth.h" +#include "dev-usb.h" #include "dev-leds-gpio.h" #include "dev-m25p80.h" #include "dev-spi.h" @@ -142,6 +143,8 @@ static void __init wpj558_setup(void) ARRAY_SIZE(wpj558_gpio_keys), wpj558_gpio_keys); + ath79_register_usb(); + ath79_register_wmac(art + WPJ558_WMAC_CALDATA_OFFSET, NULL); ath79_register_pci(); diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch index 2c7e6635e9..dfbc766c28 100644 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch @@ -264,7 +264,7 @@ config ATH79_MACH_AP121 bool "Atheros AP121 reference board" select SOC_AR933X -@@ -11,62 +75,979 @@ config ATH79_MACH_AP121 +@@ -11,62 +75,980 @@ config ATH79_MACH_AP121 select ATH79_DEV_M25P80 select ATH79_DEV_USB select ATH79_DEV_WMAC @@ -506,6 +506,7 @@ + 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_DGL_5500_A1 @@ -1272,7 +1273,7 @@ config ATH79_MACH_UBNT_XM bool "Ubiquiti Networks XM/UniFi boards" -@@ -83,6 +1055,97 @@ config ATH79_MACH_UBNT_XM +@@ -83,6 +1056,97 @@ config ATH79_MACH_UBNT_XM Say 'Y' here if you want your kernel to support the Ubiquiti Networks XM (rev 1.0) board. @@ -1370,7 +1371,7 @@ endmenu config SOC_AR71XX -@@ -124,7 +1187,10 @@ config ATH79_DEV_DSA +@@ -124,7 +1188,10 @@ config ATH79_DEV_DSA config ATH79_DEV_ETH def_bool n @@ -1382,7 +1383,7 @@ def_bool n config ATH79_DEV_GPIO_BUTTONS -@@ -156,4 +1222,7 @@ config ATH79_PCI_ATH9K_FIXUP +@@ -156,4 +1223,7 @@ config ATH79_PCI_ATH9K_FIXUP config ATH79_ROUTERBOOT def_bool n |