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>
This commit is contained in:
parent
cef2274dfa
commit
d5df2bb0fa
2 changed files with 12 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue