![Gabor Juhos](/assets/img/avatar_default.png)
Add common platform_device and helper code to make the registration of the built-in wireless MAC easier on the Atheros AR9130/AR9132 based boards. Also register the WMAC device on the AR81 board. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: linux-mips@linux-mips.org Cc: Imre Kaloz <kaloz@openwrt.org>, Cc: Luis R. Rodriguez <lrodriguez@atheros.com> Cc: Cliff Holden <Cliff.Holden@Atheros.com> Cc: Kathy Giori <Kathy.Giori@Atheros.com> Patchwork: https://patchwork.linux-mips.org/patch/1962/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
51 lines
895 B
Plaintext
51 lines
895 B
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
|
|
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
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Atheros PB44 reference board.
|
|
|
|
endmenu
|
|
|
|
config SOC_AR71XX
|
|
def_bool n
|
|
|
|
config SOC_AR724X
|
|
def_bool n
|
|
|
|
config SOC_AR913X
|
|
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
|
|
|
|
endif
|