On 2/15/21 12:51 PM, Peter Maydell wrote: > This patchseries implements a new board model in the mps2/mps3 family, > based on Application Note AN524: > https://developer.arm.com/documentation/dai0524/latest/
> Peter Maydell (24): > hw/arm/mps2-tz: Make SYSCLK frequency board-specific > hw/misc/mps2-scc: Support configurable number of OSCCLK values > hw/arm/mps2-tz: Correct the OSCCLK settings for mps2-an505 and > mps2-an511 > hw/arm/mps2-tz: Make the OSCCLK settings be configurable per-board > hw/misc/mps2-fpgaio: Make number of LEDs configurable by board > hw/misc/mps2-fpgaio: Support SWITCH register > hw/arm/mps2-tz: Make FPGAIO switch and LED config per-board > hw/arm/mps2-tz: Condition IRQ splitting on number of CPUs, not board > type > hw/arm/mps2-tz: Make number of IRQs board-specific > hw/misc/mps2-scc: Implement CFG_REG5 and CFG_REG6 for MPS3 AN524 > hw/arm/mps2-tz: Correct wrong interrupt numbers for DMA and SPI > hw/arm/mps2-tz: Allow PPCPortInfo structures to specify device > interrupts > hw/arm/mps2-tz: Move device IRQ info to data structures > hw/arm/mps2-tz: Size the uart-irq-orgate based on the number of UARTs > hw/arm/mps2-tz: Allow boards to have different PPCInfo data > hw/arm/mps2-tz: Make RAM arrangement board-specific > hw/arm/mps2-tz: Set MachineClass default_ram info from RAMInfo data > hw/arm/mps2-tz: Support ROMs as well as RAMs > hw/arm/mps2-tz: Get armv7m_load_kernel() size argument from RAMInfo > hw/arm/mps2-tz: Add new mps3-an524 board > hw/arm/mps2-tz: Stub out USB controller for mps3-an524 > hw/arm/mps2-tz: Provide PL031 RTC on mps3-an524 > docs/system/arm/mps2.rst: Document the new mps3-an524 board > hw/arm/mps2: Update old infocenter.arm.com URLs > > docs/system/arm/mps2.rst | 24 +- > include/hw/arm/armsse.h | 4 +- > include/hw/misc/armsse-cpuid.h | 2 +- > include/hw/misc/armsse-mhu.h | 2 +- > include/hw/misc/iotkit-secctl.h | 2 +- > include/hw/misc/iotkit-sysctl.h | 2 +- > include/hw/misc/iotkit-sysinfo.h | 2 +- > include/hw/misc/mps2-fpgaio.h | 8 +- > include/hw/misc/mps2-scc.h | 10 +- > hw/arm/mps2-tz.c | 632 +++++++++++++++++++++++++------ > hw/arm/mps2.c | 5 + > hw/misc/armsse-cpuid.c | 2 +- > hw/misc/armsse-mhu.c | 2 +- > hw/misc/iotkit-sysctl.c | 2 +- > hw/misc/iotkit-sysinfo.c | 2 +- > hw/misc/mps2-fpgaio.c | 43 ++- > hw/misc/mps2-scc.c | 93 ++++- > 17 files changed, 680 insertions(+), 157 deletions(-) Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org>