ar71xx: wpj588: add missing usb support
authorLuka Perkov <luka@openwrt.org>
Tue, 10 Mar 2015 16:11:39 +0000 (16:11 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 10 Mar 2015 16:11:39 +0000 (16:11 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-By: Christian Mehlis <christian@m3hlis.de>
SVN-Revision: 44648

target/linux/ar71xx/files/arch/mips/ath79/mach-wpj558.c
target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch

index 7c5509c964c73a713f6bca6dfad3b423f956e7b1..c7b120dc2e1d44dbe6ae67722009e6f066c534a4 100644 (file)
@@ -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();
index 2c7e6635e9f12cd741104e32c887c3a12744f6f2..dfbc766c28feabf57db5031ff221c0c7c73938e9 100644 (file)
  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
 +      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
  
  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.
  
  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
  
        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