Changeset 17543


Ignore:
Timestamp:
2009-09-08T21:16:15+02:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: add preliminary support for the RB-411U (thanks to Feher Zoltan for testing)

Location:
trunk/target/linux/ar71xx/files/arch/mips
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c

    r16754 r17543  
    184184MIPS_MACHINE(AR71XX_MACH_RB_411, "MikroTik RouterBOARD 411/A/AH", rb411_setup); 
    185185 
     186static void __init rb411u_setup(void) 
     187{ 
     188        rb4xx_generic_setup(); 
     189        rb4xx_add_device_spi(); 
     190 
     191        ar71xx_add_device_mdio(0xfffffffd); 
     192 
     193        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII; 
     194        ar71xx_eth0_data.phy_mask = 0x00000002; 
     195        ar71xx_add_device_eth(0); 
     196 
     197        ar71xx_pci_init(ARRAY_SIZE(rb4xx_pci_irqs), rb4xx_pci_irqs); 
     198        ar71xx_add_device_usb(); 
     199} 
     200 
     201MIPS_MACHINE(AR71XX_MACH_RB_411U, "MikroTik RouterBOARD 411U", rb411u_setup); 
     202 
    186203static void __init rb433_setup(void) 
    187204{ 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c

    r17403 r17543  
    3636                .mach_type      = AR71XX_MACH_RB_411, 
    3737        }, { 
     38                .name           = "411U", 
     39                .mach_type      = AR71XX_MACH_RB_411U, 
     40        }, { 
    3841                .name           = "433", 
    3942                .mach_type      = AR71XX_MACH_RB_433, 
  • trunk/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h

    r16754 r17543  
    124124        AR71XX_MACH_AW_NR580,   /* AzureWave AW-NR580 */ 
    125125        AR71XX_MACH_RB_411,     /* MikroTik RouterBOARD 411/411A/411AH */ 
     126        AR71XX_MACH_RB_411U,    /* MikroTik RouterBOARD 411U */ 
    126127        AR71XX_MACH_RB_433,     /* MikroTik RouterBOARD 433/433AH */ 
    127128        AR71XX_MACH_RB_433U,    /* MikroTik RouterBOARD 433UAH */ 
Note: See TracChangeset for help on using the changeset viewer.