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>
Simon Xu committed
Aug 11, 2026 at 20:14 UTC
230edd14d5554bd35fe5ffee37a34437973ed9c2
1 file changed
+13
hw/arm/mps2-tz.c
+13
@@ -1048,6 +1048,19 @@ static void mps2tz_common_init(MachineState *machine)
1048
const PPCInfo an547_ppcs[] = { {
1049
.name = "apb_ppcexp0",
1050
.ports = {
1051
+ { /* port 0 USER MEM APB0 */ },
1052
+ { /* port 1 USER MEM APB0 */ },
1053
+ { /* port 2 reserved */ },
1054
+ { /* port 3 reserved */ },
1055
+ { /* port 4 NPU APB0 */ },
1056
+ { /* port 5 NPU APB1 */ },
1057
+ { /* port 6 reserved */ },
1058
+ { /* port 7 reserved */ },
1059
+ { /* port 8 reserved */ },
1060
+ { /* port 9 reserved */ },
1061
+ { /* port 10 reserved */ },
1062
+ { /* port 11 reserved */ },
1063
+ { /* port 12 reserved */ },
1064
{ "ssram-mpc", make_mpc, &mms->mpc[0], 0x57000000, 0x1000 },
1065
{ "qspi-mpc", make_mpc, &mms->mpc[1], 0x57001000, 0x1000 },
1066
{ "ddr-mpc", make_mpc, &mms->mpc[2], 0x57002000, 0x1000 },