On 7/7/26 08:09, Jamin Lin wrote:
AST2700 provides a single FMC controller shared by the main CA35 processor
(PSP) and the SSP/TSP coprocessors.

 From the PSP perspective, the FMC controller is memory-mapped at
0x14000000–0x140000FF. The SSP and TSP access the same controller through
a different address window at 0x74000000–0x740000FF.

This change allows the SSP and TSP SoC models to reference the existing
PSP FMC instance instead of creating independent controllers. An MMIO
alias is added in the SSP and TSP address spaces to map their FMC access
window to the shared FMC device.

This ensures consistent FMC state across PSP, SSP, and TSP and matches
the AST2700 hardware design.

Signed-off-by: Jamin Lin <[email protected]>
---
  include/hw/arm/aspeed_coprocessor.h |  2 ++
  hw/arm/aspeed_ast27x0-fc.c          |  4 ++++
  hw/arm/aspeed_ast27x0-ssp.c         | 16 ++++++++++++++++
  hw/arm/aspeed_ast27x0-tsp.c         | 16 ++++++++++++++++
  4 files changed, 38 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to