aboutsummaryrefslogtreecommitdiff
path: root/include/hw/arm
diff options
context:
space:
mode:
authorTim Lee <timlee660101@gmail.com>2025-04-14 10:06:29 +0800
committerPeter Maydell <peter.maydell@linaro.org>2025-05-06 15:02:34 +0100
commitd5df2bb0faad0e766cdd9f705d41b6092391153a (patch)
treee47dab193442eb92bbf06558352e2961fb7cdb96 /include/hw/arm
parentcef2274dfab2e0a1795297b98dd89d59e1d01e85 (diff)
downloadqemu-d5df2bb0faad0e766cdd9f705d41b6092391153a.zip
qemu-d5df2bb0faad0e766cdd9f705d41b6092391153a.tar.gz
qemu-d5df2bb0faad0e766cdd9f705d41b6092391153a.tar.bz2
hw/arm: Attach PSPI module to NPCM8XX SoC
Nuvoton's PSPI is a general purpose SPI module which enables connections to SPI-based peripheral devices. Attach it to the NPCM8XX. Tested: NPCM8XX PSPI driver probed successfully from dmesg log. Signed-off-by: Tim Lee <timlee660101@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Hao Wu <wuhaotsh@google.com> Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Message-id: 20250414020629.1867106-1-timlee660101@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm')
-rw-r--r--include/hw/arm/npcm8xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/npcm8xx.h b/include/hw/arm/npcm8xx.h
index 9812e6f..3436abf 100644
--- a/include/hw/arm/npcm8xx.h
+++ b/include/hw/arm/npcm8xx.h
@@ -36,6 +36,7 @@
#include "hw/usb/hcd-ehci.h"
#include "hw/usb/hcd-ohci.h"
#include "target/arm/cpu.h"
+#include "hw/ssi/npcm_pspi.h"
#define NPCM8XX_MAX_NUM_CPUS (4)
@@ -99,6 +100,7 @@ struct NPCM8xxState {
OHCISysBusState ohci[2];
NPCM7xxFIUState fiu[3];
NPCM7xxSDHCIState mmc;
+ NPCMPSPIState pspi;
};
struct NPCM8xxClass {