mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
7e98aa4639
Add common platform_device and helper code to make the registration of the built-in USB controllers easier on the board which are using them. Also register the USB controller on the AP81 and PB44 boards. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2442/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
61 lines
1.1 KiB
Plaintext
61 lines
1.1 KiB
Plaintext
if ATH79
|
|
|
|
menu "Atheros AR71XX/AR724X/AR913X machine selection"
|
|
|
|
config ATH79_MACH_AP81
|
|
bool "Atheros AP81 reference board"
|
|
select SOC_AR913X
|
|
select ATH79_DEV_AR913X_WMAC
|
|
select ATH79_DEV_GPIO_BUTTONS
|
|
select ATH79_DEV_LEDS_GPIO
|
|
select ATH79_DEV_SPI
|
|
select ATH79_DEV_USB
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Atheros AP81 reference board.
|
|
|
|
config ATH79_MACH_PB44
|
|
bool "Atheros PB44 reference board"
|
|
select SOC_AR71XX
|
|
select ATH79_DEV_GPIO_BUTTONS
|
|
select ATH79_DEV_LEDS_GPIO
|
|
select ATH79_DEV_SPI
|
|
select ATH79_DEV_USB
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Atheros PB44 reference board.
|
|
|
|
endmenu
|
|
|
|
config SOC_AR71XX
|
|
select USB_ARCH_HAS_EHCI
|
|
select USB_ARCH_HAS_OHCI
|
|
def_bool n
|
|
|
|
config SOC_AR724X
|
|
select USB_ARCH_HAS_EHCI
|
|
select USB_ARCH_HAS_OHCI
|
|
def_bool n
|
|
|
|
config SOC_AR913X
|
|
select USB_ARCH_HAS_EHCI
|
|
def_bool n
|
|
|
|
config ATH79_DEV_AR913X_WMAC
|
|
depends on SOC_AR913X
|
|
def_bool n
|
|
|
|
config ATH79_DEV_GPIO_BUTTONS
|
|
def_bool n
|
|
|
|
config ATH79_DEV_LEDS_GPIO
|
|
def_bool n
|
|
|
|
config ATH79_DEV_SPI
|
|
def_bool n
|
|
|
|
config ATH79_DEV_USB
|
|
def_bool n
|
|
|
|
endif
|