-
Notifications
You must be signed in to change notification settings - Fork 8k
Support xspi on rt700 #94921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Support xspi on rt700 #94921
Conversation
@hakehuang Can you help to trigger the unit test? |
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cm33_cpu0.yaml
Outdated
Show resolved
Hide resolved
do you want to enable all spi flash testing based on this? if so, please update the board support list. |
1d8539d
to
cd8df3d
Compare
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cm33_cpu0.dts
Outdated
Show resolved
Hide resolved
cd8df3d
to
235acff
Compare
SonarQube issues that need to be addressed |
eabc9d7
to
518be79
Compare
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cm33_cpu0.dts
Outdated
Show resolved
Hide resolved
f7c5ba7
to
16a95e5
Compare
3c5bafb
to
f3f572f
Compare
66661d8
to
ad3c31a
Compare
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cm33_cpu0.dts
Outdated
Show resolved
Hide resolved
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cm33_cpu0.dts
Outdated
Show resolved
Hide resolved
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cm33_cpu0.dts
Outdated
Show resolved
Hide resolved
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cm33_cpu0.dts
Outdated
Show resolved
Hide resolved
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cm33_cpu1.dts
Outdated
Show resolved
Hide resolved
2cb0309
to
52d2cd3
Compare
Add mcux xspi driver suppport. Add the flash and psram driver support based on xspi driver. Signed-off-by: Ruijia Wang <[email protected]>
Move nxp,xspi.yaml from spi bindings to mtd, it should be flash controllor rather than simple bus controller. Delete the xspi flash mx25um51345g bindling yaml file which is useless. Enable flash and two psrams on RT700 core0 and one psram on core1. Signed-off-by: Ruijia Wang <[email protected]>
Add flash and psram dts based on RT700 board resource. Add the clock and power setting for XSPI in board specfic initilization function. Signed-off-by: Ruijia Wang <[email protected]>
Update the Kconfig to parse the dts. Signed-off-by: Ruijia Wang <[email protected]>
Add memc sample for XSPI PSRAM. Add spi_flash sample for XSPI Nor Flash. Signed-off-by: Ruijia Wang <[email protected]>
Update hal_nxp. Signed-off-by: Ruijia Wang <[email protected]>
52d2cd3
to
65ae1b6
Compare
|
Add Zephyr XSPI driver as memc driver.
Add xspi psram and flash driver to handle those different memory cases. The goal is using them to cover all PSRAM and FLASH types. Currently they can only work with the memory on NXP RT700 board.
Porting them to the samples drivers/memc and drivers/spi_flash. RT700 cpu0 supports XSPI0(Flash used in XIP), XSPI1(PSRAM as default), XSPI2(PSRAM). The cpu2 supports XSPI2(PSRAM).