mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-15 03:14:50 +00:00
ar71xx: add preliminary support for the RB-411U (thanks to Feher Zoltan for testing)
SVN-Revision: 17543
This commit is contained in:
parent
b9c0291e32
commit
376fba2698
@ -183,6 +183,23 @@ static void __init rb411_setup(void)
|
||||
|
||||
MIPS_MACHINE(AR71XX_MACH_RB_411, "MikroTik RouterBOARD 411/A/AH", rb411_setup);
|
||||
|
||||
static void __init rb411u_setup(void)
|
||||
{
|
||||
rb4xx_generic_setup();
|
||||
rb4xx_add_device_spi();
|
||||
|
||||
ar71xx_add_device_mdio(0xfffffffd);
|
||||
|
||||
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
|
||||
ar71xx_eth0_data.phy_mask = 0x00000002;
|
||||
ar71xx_add_device_eth(0);
|
||||
|
||||
ar71xx_pci_init(ARRAY_SIZE(rb4xx_pci_irqs), rb4xx_pci_irqs);
|
||||
ar71xx_add_device_usb();
|
||||
}
|
||||
|
||||
MIPS_MACHINE(AR71XX_MACH_RB_411U, "MikroTik RouterBOARD 411U", rb411u_setup);
|
||||
|
||||
static void __init rb433_setup(void)
|
||||
{
|
||||
rb4xx_generic_setup();
|
||||
|
@ -34,6 +34,9 @@ static struct board_rec boards[] __initdata = {
|
||||
{
|
||||
.name = "411",
|
||||
.mach_type = AR71XX_MACH_RB_411,
|
||||
}, {
|
||||
.name = "411U",
|
||||
.mach_type = AR71XX_MACH_RB_411U,
|
||||
}, {
|
||||
.name = "433",
|
||||
.mach_type = AR71XX_MACH_RB_433,
|
||||
|
@ -123,6 +123,7 @@ enum ar71xx_mach_type {
|
||||
AR71XX_MACH_AP83, /* Atheros AP83 */
|
||||
AR71XX_MACH_AW_NR580, /* AzureWave AW-NR580 */
|
||||
AR71XX_MACH_RB_411, /* MikroTik RouterBOARD 411/411A/411AH */
|
||||
AR71XX_MACH_RB_411U, /* MikroTik RouterBOARD 411U */
|
||||
AR71XX_MACH_RB_433, /* MikroTik RouterBOARD 433/433AH */
|
||||
AR71XX_MACH_RB_433U, /* MikroTik RouterBOARD 433UAH */
|
||||
AR71XX_MACH_RB_450, /* MikroTik RouterBOARD 450 */
|
||||
|
Loading…
Reference in New Issue
Block a user