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

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

[brcm63xx] switch to 2.6.39

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

    a b void __init board_prom_init(void) 
    812812                if (BCMCPU_IS_6348()) 
    813813                        val |= GPIO_MODE_6348_G3_EXT_MII | 
    814814                                GPIO_MODE_6348_G0_EXT_MII; 
     815                else if (BCMCPU_IS_6358()) 
     816                        val |= GPIO_MODE_6358_ENET1_MII_CLK_INV; 
    815817        } 
    816818 
    817819        bcm_gpio_writel(val, GPIO_MODE_REG); 
  • arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h

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