Commit 230edd14d5 for qemu.org
commit 230edd14d5554bd35fe5ffee37a34437973ed9c2
Author: Simon Xu <simonxhy0404@gmail.com>
Date: Tue Aug 11 20:14:11 2026 +0100
hw/arm/mps2-tz.c: fix AN547 APB PPC EXP0 MPC ports
The AN547 TRM defines them to be on ports [15:13], not [2:0].
AN547 TRM: https://developer.arm.com/documentation/dai0547/latest/
Fixes: eb09d533d87f ("hw/arm/mps2-tz: Add new mps3-an547 board")
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Simon Xu <simonxhy0404@gmail.com>
Message-id: 20260805191257.11303-4-simonxhy0404@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
diff --git a/hw/arm/mps2-tz.c b/hw/arm/mps2-tz.c
index f101c1b7c3..81e64a91de 100644
--- a/hw/arm/mps2-tz.c
+++ b/hw/arm/mps2-tz.c
@@ -1048,6 +1048,19 @@ static void mps2tz_common_init(MachineState *machine)
const PPCInfo an547_ppcs[] = { {
.name = "apb_ppcexp0",
.ports = {
+ { /* port 0 USER MEM APB0 */ },
+ { /* port 1 USER MEM APB0 */ },
+ { /* port 2 reserved */ },
+ { /* port 3 reserved */ },
+ { /* port 4 NPU APB0 */ },
+ { /* port 5 NPU APB1 */ },
+ { /* port 6 reserved */ },
+ { /* port 7 reserved */ },
+ { /* port 8 reserved */ },
+ { /* port 9 reserved */ },
+ { /* port 10 reserved */ },
+ { /* port 11 reserved */ },
+ { /* port 12 reserved */ },
{ "ssram-mpc", make_mpc, &mms->mpc[0], 0x57000000, 0x1000 },
{ "qspi-mpc", make_mpc, &mms->mpc[1], 0x57001000, 0x1000 },
{ "ddr-mpc", make_mpc, &mms->mpc[2], 0x57002000, 0x1000 },