Changeset 32923 for trunk


Ignore:
Timestamp:
2012-07-31T16:27:42+02:00 (4 years ago)
Author:
jogo
Message:

bcm63xx: add basic bcm6362 support

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

Location:
trunk/target/linux/brcm63xx
Files:
7 added
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/config-3.3

    r31883 r32923  
    1212CONFIG_BCM63XX_CPU_6348=y 
    1313CONFIG_BCM63XX_CPU_6358=y 
     14# CONFIG_BCM63XX_CPU_6362 is not set 
    1415CONFIG_BCM63XX_CPU_6368=y 
    1516CONFIG_BCM63XX_ENET=y 
  • trunk/target/linux/brcm63xx/patches-3.3/401-MIPS-BCM63XX-register-ohci-device.patch

    r32643 r32923  
    1616--- a/arch/mips/bcm63xx/Kconfig 
    1717+++ b/arch/mips/bcm63xx/Kconfig 
    18 @@ -8,26 +8,25 @@ config BCM63XX_CPU_6328 
     18@@ -8,22 +8,20 @@ config BCM63XX_CPU_6328 
    1919 config BCM63XX_CPU_6338 
    2020        bool "support 6338 CPU" 
     
    4040+       select USB_ARCH_HAS_OHCI if USB_SUPPORT 
    4141  
     42 config BCM63XX_CPU_6362 
     43        bool "support 6362 CPU" 
     44@@ -32,6 +30,7 @@ config BCM63XX_CPU_6362 
    4245 config BCM63XX_CPU_6368 
    4346        bool "support 6368 CPU" 
  • trunk/target/linux/brcm63xx/patches-3.3/403-MIPS-BCM63XX-register-ehci-device.patch

    r32643 r32923  
    1616--- a/arch/mips/bcm63xx/Kconfig 
    1717+++ b/arch/mips/bcm63xx/Kconfig 
    18 @@ -22,11 +22,13 @@ config BCM63XX_CPU_6358 
     18@@ -22,6 +22,7 @@ config BCM63XX_CPU_6358 
    1919        bool "support 6358 CPU" 
    2020        select HW_HAS_PCI 
     
    2222+       select USB_ARCH_HAS_EHCI if USB_SUPPORT 
    2323  
    24  config BCM63XX_CPU_6368 
     24 config BCM63XX_CPU_6362 
     25        bool "support 6362 CPU" 
     26@@ -31,6 +32,7 @@ config BCM63XX_CPU_6368 
    2527        bool "support 6368 CPU" 
    2628        select HW_HAS_PCI 
  • trunk/target/linux/brcm63xx/patches-3.3/408-6358-enet1-external-mii-clk.patch

    r32643 r32923  
    1212--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
    1313+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
    14 @@ -510,6 +510,8 @@ 
     14@@ -563,6 +563,8 @@ 
    1515 #define GPIO_MODE_6358_EXTRA_SPI_SS    (1 << 7) 
    1616 #define GPIO_MODE_6358_SERIAL_LED      (1 << 10) 
  • trunk/target/linux/brcm63xx/patches-3.3/414-bcm63xx_enet-split-dma-registers-access.patch

    r32591 r32923  
    5151--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h 
    5252+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h 
    53 @@ -157,7 +157,9 @@ enum bcm63xx_regs_set { 
     53@@ -172,7 +172,9 @@ enum bcm63xx_regs_set { 
    5454 #define BCM_6358_RSET_SPI_SIZE         1804 
    5555 #define BCM_6368_RSET_SPI_SIZE         1804 
  • trunk/target/linux/brcm63xx/patches-3.3/415-bcm63xx_enet-add-support-for-bcm6368-internal-ethern.patch

    r32643 r32923  
    206206--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
    207207+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
    208 @@ -750,10 +750,60 @@ 
     208@@ -803,10 +803,60 @@ 
    209209  * _REG relative to RSET_ENETSW 
    210210  *************************************************************************/ 
  • trunk/target/linux/brcm63xx/patches-3.3/422-bcm63xx_enet-enable-rgmii-clock-on-external-ports.patch

    r32921 r32923  
    1111--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
    1212+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
    13 @@ -779,6 +779,19 @@ 
     13@@ -832,6 +832,19 @@ 
    1414 #define ENETSW_PORTOV_FDX_MASK         (1 << 1) 
    1515 #define ENETSW_PORTOV_LINKUP_MASK      (1 << 0) 
  • trunk/target/linux/brcm63xx/patches-3.3/427-MIPS-BCM63XX-Register-SPI-flash-if-present.patch

    r32921 r32923  
    8585--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
    8686+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
    87 @@ -555,6 +555,7 @@ 
     87@@ -608,6 +608,7 @@ 
    8888 #define GPIO_STRAPBUS_REG              0x40 
    8989 #define STRAPBUS_6358_BOOT_SEL_PARALLEL        (1 << 1) 
     
    9393 #define STRAPBUS_6368_BOOT_SEL_NAND    0 
    9494 #define STRAPBUS_6368_BOOT_SEL_SERIAL  1 
    95 @@ -1240,6 +1241,7 @@ 
    96  #define SERDES_PCIE_EXD_EN             (1 << 15) 
     95@@ -1300,6 +1301,7 @@ 
     96 #define STRAPBUS_6362_BOOT_SEL_NAND    (0 << 15) 
    9797  
    9898 #define MISC_STRAPBUS_6328_REG         0x240 
  • trunk/target/linux/brcm63xx/patches-3.3/434-MIPS-BCM63XX-store-the-flash-type-in-global-variable.patch

    r32921 r32923  
    4646+                       bcm63xx_attached_flash = BCM63XX_FLASH_TYPE_SERIAL; 
    4747+               break; 
     48        case BCM6362_CPU_ID: 
     49                val = bcm_misc_readl(MISC_STRAPBUS_6362_REG); 
     50                if (val & STRAPBUS_6362_HSSPI_CLK_FAST) 
     51@@ -108,9 +113,10 @@ static int __init bcm63xx_detect_flash_t 
     52                        bcm63xx_spi_flash_info[0].max_speed_hz = 20000000; 
     53  
     54                if (val & STRAPBUS_6362_BOOT_SEL_SERIAL) 
     55-                       return BCM63XX_FLASH_TYPE_SERIAL; 
     56+                       bcm63xx_attached_flash = BCM63XX_FLASH_TYPE_SERIAL; 
     57                else 
     58-                       return BCM63XX_FLASH_TYPE_NAND; 
     59+                       bcm63xx_attached_flash = BCM63XX_FLASH_TYPE_NAND; 
     60+               break; 
    4861        case BCM6368_CPU_ID: 
    4962                val = bcm_gpio_readl(GPIO_STRAPBUS_REG); 
    5063                if (val & STRAPBUS_6368_SPI_CLK_FAST) 
    51 @@ -107,25 +112,32 @@ static int __init bcm63xx_detect_flash_t 
     64@@ -118,25 +124,32 @@ static int __init bcm63xx_detect_flash_t 
    5265  
    5366                switch (val & STRAPBUS_6368_BOOT_SEL_MASK) { 
     
    88101                /* read base address of boot chip select (0) */ 
    89102                val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
    90 @@ -146,7 +158,7 @@ int __init bcm63xx_flash_register(void) 
     103@@ -157,7 +170,7 @@ int __init bcm63xx_flash_register(void) 
    91104                return -ENODEV; 
    92105        default: 
  • trunk/target/linux/brcm63xx/patches-3.3/437-MIPS-BCM63XX-pass-caldata-info-to-flash.patch

    r32921 r32923  
    4747  
    4848 static struct spi_board_info bcm63xx_spi_flash_info[] = { 
    49 @@ -130,10 +134,13 @@ static int __init bcm63xx_detect_flash_t 
     49@@ -142,10 +146,13 @@ static int __init bcm63xx_detect_flash_t 
    5050        return 0; 
    5151 } 
  • trunk/target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch

    r32591 r32923  
    107107 #include <bcm63xx_dev_flash.h> 
    108108 #include <bcm63xx_dev_hsspi.h> 
    109 @@ -150,6 +151,13 @@ int __init bcm63xx_flash_register(int nu 
     109@@ -162,6 +163,13 @@ int __init bcm63xx_flash_register(int nu 
    110110                val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
    111111                val &= MPI_CSBASE_BASE_MASK; 
Note: See TracChangeset for help on using the changeset viewer.