aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-03-10 16:11:39 +0000
committerLuka Perkov <luka@openwrt.org>2015-03-10 16:11:39 +0000
commit3786f9be7e185e5335e6841f356bc1b8beb32289 (patch)
tree273125ec2ee1843e1f9283301051fb2f5085902f
parentc071881c795037d45e51e83a495c2529033b0f7f (diff)
downloadmaster-187ad058-3786f9be7e185e5335e6841f356bc1b8beb32289.tar.gz
master-187ad058-3786f9be7e185e5335e6841f356bc1b8beb32289.tar.bz2
master-187ad058-3786f9be7e185e5335e6841f356bc1b8beb32289.zip
ar71xx: wpj588: add missing usb support
Signed-off-by: Luka Perkov <luka@openwrt.org> Tested-By: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44648 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wpj558.c3
-rw-r--r--target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch9
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