This patchset adds basic support for BCM6328 and its PCIe port. The BCM6328 is an ADSL2+ SoC with support for NAND and SPI flash, integrated five port ethernet switch, and one PCIe port. Patches 1 and 2 add generic flash type detection, as different chips support different flash types, and the BCM6328 does not support parallel CFI flashes. Patches 3-4 add support for detecting and handling the BCM6328 itself. This allows booting to command line. Patches 5-7 add support for the PCIe port of the BCM6328 and expose the PCIe port driver for MIPS (I wonder what is so special about it that it isn't included in the standard PCI drivers). Patch 8 then adds a 6328 reference board definition, so one can actually boot to command line. Jonas Gorski (8): MIPS: BCM63XX: move flash registration out of board_bcm963xx.c MIPS: BCM63XX: add flash type detection MIPS: BCM63XX: use the Chip ID register for identifying the SoC MIPS: BCM63XX: add basic BCM6328 CPU support MIPS: BCM63XX: Move the PCI initialization into its own function MIPS: BCM63XX: Add PCIe Support for BCM6328 MIPS: expose PCIe drivers for MIPS MIPS: BCM63XX: add 96328avng reference board arch/mips/Kconfig | 2 + arch/mips/bcm63xx/Kconfig | 4 + arch/mips/bcm63xx/Makefile | 4 +- arch/mips/bcm63xx/boards/board_bcm963xx.c | 106 ++++++++-------- arch/mips/bcm63xx/cpu.c | 63 ++++++++-- arch/mips/bcm63xx/dev-flash.c | 123 ++++++++++++++++++ arch/mips/bcm63xx/dev-spi.c | 2 +- arch/mips/bcm63xx/irq.c | 21 +++ arch/mips/bcm63xx/prom.c | 4 +- arch/mips/bcm63xx/setup.c | 13 ++- arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h | 120 +++++++++++++++++- .../include/asm/mach-bcm63xx/bcm63xx_dev_flash.h | 12 ++ arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h | 2 + arch/mips/include/asm/mach-bcm63xx/bcm63xx_io.h | 8 ++ arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h | 117 +++++++++++++++++ arch/mips/include/asm/mach-bcm63xx/ioremap.h | 1 + arch/mips/pci/ops-bcm63xx.c | 61 +++++++++ arch/mips/pci/pci-bcm63xx.c | 133 +++++++++++++++++++- arch/mips/pci/pci-bcm63xx.h | 5 + 19 files changed, 729 insertions(+), 72 deletions(-) create mode 100644 arch/mips/bcm63xx/dev-flash.c create mode 100644 arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_flash.h -- 1.7.2.5