source: trunk/target/linux/brcm63xx/patches-2.6.39/230-6358-enet1-external-mii-clk.patch @ 27235

Last change on this file since 27235 was 27235, checked in by florian, 5 years ago

[brcm63xx] fixup patches after r27234

File size: 815 bytes
  • arch/mips/bcm63xx/boards/board_bcm963xx.c

    a b void __init board_prom_init(void) 
    818818                if (BCMCPU_IS_6348()) 
    819819                        val |= GPIO_MODE_6348_G3_EXT_MII | 
    820820                                GPIO_MODE_6348_G0_EXT_MII; 
     821                else if (BCMCPU_IS_6358()) 
     822                        val |= GPIO_MODE_6358_ENET1_MII_CLK_INV; 
    821823        } 
    822824 
    823825        bcm_gpio_writel(val, GPIO_MODE_REG); 
  • arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h

    a b  
    402402#define GPIO_MODE_6358_EXTRA_SPI_SS     (1 << 7) 
    403403#define GPIO_MODE_6358_SERIAL_LED       (1 << 10) 
    404404#define GPIO_MODE_6358_UTOPIA           (1 << 12) 
     405#define GPIO_MODE_6358_ENET0_MII_CLK_INV (1 << 30) 
     406#define GPIO_MODE_6358_ENET1_MII_CLK_INV (1 << 31) 
    405407 
    406408 
    407409/************************************************************************* 
Note: See TracBrowser for help on using the repository browser.