This series begins converting the MIPS Malta board to use device tree, which is done with a few goals in mind: - To modernise the Malta board support, providing a cleaner example to people referencing it when bringing up new boards and reducing the amount of code they need to write. - To make the code at the board level more generic with the eventual aim of sharing it between multiple boards & allowing for multi-platform kernel binaries. Although this series doesn't result in the kernel reaching those goals, it is a step in that direction. - To result in a more maintainable kernel through a combination of the above. Paul Burton (15): MIPS: define GCR_GIC_STATUS register fields MIPS: include errno.h for ENODEV in mips-cm.h MIPS: malta: basic DT plumbing MIPS: i8259: DT support irqchip: mips-gic: register IRQ domain with MIPS_GIC_IRQ_BASE MIPS: malta: probe interrupt controllers via DT MIPS: remove [SR]ocIt(2) IRQ handling code of_serial: support for UARTs on I/O ports MIPS: malta: probe UARTs using DT MIPS: malta: probe RTC via DT MIPS: malta: probe pflash via DT MIPS: malta: remove fw_memblock_t abstraction MIPS: malta: remove nonsense memory limit MIPS: malta: setup RAM regions via DT MIPS: malta: setup post-I/O hole RAM on non-EVA arch/mips/Kconfig | 3 + arch/mips/boot/dts/mti/Makefile | 1 + arch/mips/boot/dts/mti/malta.dts | 150 +++++++++++++++ arch/mips/configs/malta_defconfig | 3 +- arch/mips/configs/malta_kvm_defconfig | 3 +- arch/mips/configs/malta_kvm_guest_defconfig | 3 +- arch/mips/configs/malta_qemu_32r6_defconfig | 1 + arch/mips/configs/maltaaprp_defconfig | 1 + arch/mips/configs/maltasmvp_defconfig | 1 + arch/mips/configs/maltasmvp_eva_defconfig | 1 + arch/mips/configs/maltaup_defconfig | 1 + arch/mips/configs/maltaup_xpa_defconfig | 3 +- arch/mips/include/asm/fw/fw.h | 16 -- arch/mips/include/asm/i8259.h | 1 + arch/mips/include/asm/mach-malta/malta-dtshim.h | 29 +++ arch/mips/include/asm/mips-cm.h | 5 + arch/mips/include/asm/msc01_ic.h | 147 --------------- arch/mips/kernel/Makefile | 1 - arch/mips/kernel/i8259.c | 43 ++++- arch/mips/kernel/irq-msc01.c | 159 ---------------- arch/mips/mti-malta/Makefile | 6 +- arch/mips/mti-malta/malta-dt.c | 34 ++++ arch/mips/mti-malta/malta-dtshim.c | 238 ++++++++++++++++++++++++ arch/mips/mti-malta/malta-int.c | 130 +------------ arch/mips/mti-malta/malta-memory.c | 131 +------------ arch/mips/mti-malta/malta-platform.c | 147 --------------- arch/mips/mti-malta/malta-setup.c | 7 + arch/mips/mti-malta/malta-time.c | 1 - drivers/irqchip/irq-mips-gic.c | 2 +- drivers/tty/serial/of_serial.c | 7 +- 30 files changed, 542 insertions(+), 733 deletions(-) create mode 100644 arch/mips/boot/dts/mti/malta.dts create mode 100644 arch/mips/include/asm/mach-malta/malta-dtshim.h delete mode 100644 arch/mips/include/asm/msc01_ic.h delete mode 100644 arch/mips/kernel/irq-msc01.c create mode 100644 arch/mips/mti-malta/malta-dt.c create mode 100644 arch/mips/mti-malta/malta-dtshim.c delete mode 100644 arch/mips/mti-malta/malta-platform.c -- 2.4.1