This series of patches adds support for the Microwatt soft-core. Microwatt is an open-source 64-bit Power ISA processor written in VHDL which targets medium-sized FPGAs such as the Xilinx Artix-7 or the Lattice ECP5. Microwatt currently implements the scalar fixed plus floating-point subset of Power ISA v3.0B plus the radix MMU, but not logical partitioning (i.e. it does not have hypervisor mode, the partition table or nested radix translation).
Paul. arch/powerpc/Kconfig | 2 +- arch/powerpc/boot/Makefile | 4 + arch/powerpc/boot/devtree.c | 59 ++++--- arch/powerpc/boot/dts/microwatt.dts | 145 +++++++++++++++++ arch/powerpc/boot/microwatt.c | 19 +++ arch/powerpc/boot/ns16550.c | 9 +- arch/powerpc/boot/wrapper | 5 + arch/powerpc/configs/microwatt_defconfig | 98 ++++++++++++ arch/powerpc/include/asm/archrandom.h | 12 +- arch/powerpc/include/asm/reg.h | 1 + arch/powerpc/kernel/udbg_16550.c | 39 +++++ arch/powerpc/mm/book3s64/radix_pgtable.c | 13 +- arch/powerpc/platforms/Kconfig | 1 + arch/powerpc/platforms/Makefile | 1 + arch/powerpc/platforms/microwatt/Kconfig | 13 ++ arch/powerpc/platforms/microwatt/Makefile | 1 + arch/powerpc/platforms/microwatt/rng.c | 48 ++++++ arch/powerpc/platforms/microwatt/setup.c | 41 +++++ arch/powerpc/sysdev/xics/Kconfig | 3 + arch/powerpc/sysdev/xics/Makefile | 1 + arch/powerpc/sysdev/xics/ics-native.c | 257 ++++++++++++++++++++++++++++++ arch/powerpc/sysdev/xics/xics-common.c | 2 + 22 files changed, 741 insertions(+), 33 deletions(-)