mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
ar71xx: wpj588: add missing usb support
Signed-off-by: Luka Perkov <luka@openwrt.org> Tested-By: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 44648
This commit is contained in:
parent
4bc9aad079
commit
e04e623009
@ -32,6 +32,7 @@
|
|||||||
#include "dev-ap9x-pci.h"
|
#include "dev-ap9x-pci.h"
|
||||||
#include "dev-gpio-buttons.h"
|
#include "dev-gpio-buttons.h"
|
||||||
#include "dev-eth.h"
|
#include "dev-eth.h"
|
||||||
|
#include "dev-usb.h"
|
||||||
#include "dev-leds-gpio.h"
|
#include "dev-leds-gpio.h"
|
||||||
#include "dev-m25p80.h"
|
#include "dev-m25p80.h"
|
||||||
#include "dev-spi.h"
|
#include "dev-spi.h"
|
||||||
@ -142,6 +143,8 @@ static void __init wpj558_setup(void)
|
|||||||
ARRAY_SIZE(wpj558_gpio_keys),
|
ARRAY_SIZE(wpj558_gpio_keys),
|
||||||
wpj558_gpio_keys);
|
wpj558_gpio_keys);
|
||||||
|
|
||||||
|
ath79_register_usb();
|
||||||
|
|
||||||
ath79_register_wmac(art + WPJ558_WMAC_CALDATA_OFFSET, NULL);
|
ath79_register_wmac(art + WPJ558_WMAC_CALDATA_OFFSET, NULL);
|
||||||
|
|
||||||
ath79_register_pci();
|
ath79_register_pci();
|
||||||
|
@ -264,7 +264,7 @@
|
|||||||
config ATH79_MACH_AP121
|
config ATH79_MACH_AP121
|
||||||
bool "Atheros AP121 reference board"
|
bool "Atheros AP121 reference board"
|
||||||
select SOC_AR933X
|
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_M25P80
|
||||||
select ATH79_DEV_USB
|
select ATH79_DEV_USB
|
||||||
select ATH79_DEV_WMAC
|
select ATH79_DEV_WMAC
|
||||||
@ -506,6 +506,7 @@
|
|||||||
+ select ATH79_DEV_GPIO_BUTTONS
|
+ select ATH79_DEV_GPIO_BUTTONS
|
||||||
+ select ATH79_DEV_LEDS_GPIO
|
+ select ATH79_DEV_LEDS_GPIO
|
||||||
+ select ATH79_DEV_M25P80
|
+ select ATH79_DEV_M25P80
|
||||||
|
+ select ATH79_DEV_USB
|
||||||
+ select ATH79_DEV_WMAC
|
+ select ATH79_DEV_WMAC
|
||||||
+
|
+
|
||||||
+config ATH79_MACH_DGL_5500_A1
|
+config ATH79_MACH_DGL_5500_A1
|
||||||
@ -1272,7 +1273,7 @@
|
|||||||
|
|
||||||
config ATH79_MACH_UBNT_XM
|
config ATH79_MACH_UBNT_XM
|
||||||
bool "Ubiquiti Networks XM/UniFi boards"
|
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
|
Say 'Y' here if you want your kernel to support the
|
||||||
Ubiquiti Networks XM (rev 1.0) board.
|
Ubiquiti Networks XM (rev 1.0) board.
|
||||||
|
|
||||||
@ -1370,7 +1371,7 @@
|
|||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config SOC_AR71XX
|
config SOC_AR71XX
|
||||||
@@ -124,7 +1187,10 @@ config ATH79_DEV_DSA
|
@@ -124,7 +1188,10 @@ config ATH79_DEV_DSA
|
||||||
config ATH79_DEV_ETH
|
config ATH79_DEV_ETH
|
||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
@ -1382,7 +1383,7 @@
|
|||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
config ATH79_DEV_GPIO_BUTTONS
|
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
|
config ATH79_ROUTERBOOT
|
||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user