MIPS: ath79: add common WMAC device for AR913X based boards
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>
This commit is contained in:
committed by
Ralf Baechle
parent
aa6695ec8b
commit
f5b35d0b16
@@ -34,6 +34,9 @@
|
||||
#define AR71XX_RESET_BASE (AR71XX_APB_BASE + 0x00060000)
|
||||
#define AR71XX_RESET_SIZE 0x100
|
||||
|
||||
#define AR913X_WMAC_BASE (AR71XX_APB_BASE + 0x000C0000)
|
||||
#define AR913X_WMAC_SIZE 0x30000
|
||||
|
||||
/*
|
||||
* DDR_CTRL block
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user