This patchset adds basic support for BCM6362. BCM6362 includes a 9 port ethernet switch (4 FE PHYs, 2 RGMII ports), integrated wifi and one PCIe port. The first few patches do a bit of clean up first to allow the BCM6362 support code to be as small as possible. Board definitions were left out as they are not really usable yet, and adding DT support is planned in the future. Most code added here will be also required with DT support. Jonas Gorski (7): MIPS: BCM63XX: remove duplicate spi register definitions MIPS: BCM63XX: fix revision ID width MIPS: BCM63XX: rework chip detection MIPS: BCM63XX: add basic BCM6362 support MIPS: BCM63XX: enable SPI controller for BCM6362 MIPS: BCM63XX: enable pcie for BCM6362 MIPS: BCM63XX: add flash detection for BCM6362 arch/mips/bcm63xx/Kconfig | 4 + arch/mips/bcm63xx/boards/board_bcm963xx.c | 6 +- arch/mips/bcm63xx/clk.c | 2 + arch/mips/bcm63xx/cpu.c | 142 +++++++++++++------- arch/mips/bcm63xx/dev-flash.c | 6 + arch/mips/bcm63xx/dev-spi.c | 26 +--- arch/mips/bcm63xx/irq.c | 22 +++ arch/mips/bcm63xx/prom.c | 2 + arch/mips/bcm63xx/reset.c | 28 ++++ arch/mips/bcm63xx/setup.c | 5 +- arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h | 141 ++++++++++++++++++- .../include/asm/mach-bcm63xx/bcm63xx_dev_spi.h | 11 +- arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h | 2 + arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h | 105 +++++++++------ arch/mips/include/asm/mach-bcm63xx/ioremap.h | 1 + arch/mips/pci/pci-bcm63xx.c | 11 +- 16 files changed, 392 insertions(+), 122 deletions(-) -- 1.7.10.4