f8365ec4e1
The Atheros AR71XX SoCs have a built-in PCI Host Controller. This patch adds a driver for that, and modifies the relevant files in order to allow to register the PCI controller from board specific setup. 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/3498/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
89 lines
1.7 KiB
Plaintext
89 lines
1.7 KiB
Plaintext
if ATH79
|
|
|
|
menu "Atheros AR71XX/AR724X/AR913X machine selection"
|
|
|
|
config ATH79_MACH_AP121
|
|
bool "Atheros AP121 reference board"
|
|
select SOC_AR933X
|
|
select ATH79_DEV_GPIO_BUTTONS
|
|
select ATH79_DEV_LEDS_GPIO
|
|
select ATH79_DEV_SPI
|
|
select ATH79_DEV_USB
|
|
select ATH79_DEV_WMAC
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Atheros AP121 reference board.
|
|
|
|
config ATH79_MACH_AP81
|
|
bool "Atheros AP81 reference board"
|
|
select SOC_AR913X
|
|
select ATH79_DEV_GPIO_BUTTONS
|
|
select ATH79_DEV_LEDS_GPIO
|
|
select ATH79_DEV_SPI
|
|
select ATH79_DEV_USB
|
|
select ATH79_DEV_WMAC
|
|
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.
|
|
|
|
config ATH79_MACH_UBNT_XM
|
|
bool "Ubiquiti Networks XM (rev 1.0) board"
|
|
select SOC_AR724X
|
|
select ATH79_DEV_GPIO_BUTTONS
|
|
select ATH79_DEV_LEDS_GPIO
|
|
select ATH79_DEV_SPI
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Ubiquiti Networks XM (rev 1.0) board.
|
|
|
|
endmenu
|
|
|
|
config SOC_AR71XX
|
|
select USB_ARCH_HAS_EHCI
|
|
select USB_ARCH_HAS_OHCI
|
|
select HW_HAS_PCI
|
|
def_bool n
|
|
|
|
config SOC_AR724X
|
|
select USB_ARCH_HAS_EHCI
|
|
select USB_ARCH_HAS_OHCI
|
|
select HW_HAS_PCI
|
|
def_bool n
|
|
|
|
config SOC_AR913X
|
|
select USB_ARCH_HAS_EHCI
|
|
def_bool n
|
|
|
|
config SOC_AR933X
|
|
select USB_ARCH_HAS_EHCI
|
|
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
|
|
|
|
config ATH79_DEV_WMAC
|
|
depends on (SOC_AR913X || SOC_AR933X)
|
|
def_bool n
|
|
|
|
endif
|