Skip to content

Conversation

SuperHeroAbner
Copy link
Contributor

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).

@SuperHeroAbner
Copy link
Contributor Author

@hakehuang Can you help to trigger the unit test?

@hakehuang
Copy link
Contributor

@hakehuang Can you help to trigger the unit test?

do you want to enable all spi flash testing based on this? if so, please update the board support list.

@SuperHeroAbner SuperHeroAbner force-pushed the support-xspi-on-rt700 branch 2 times, most recently from 1d8539d to cd8df3d Compare August 25, 2025 06:47
@JarmouniA
Copy link
Contributor

@JarmouniA JarmouniA dismissed their stale review October 11, 2025 13:23

outdated

@SuperHeroAbner SuperHeroAbner force-pushed the support-xspi-on-rt700 branch 2 times, most recently from f7c5ba7 to 16a95e5 Compare October 13, 2025 14:36
@SuperHeroAbner SuperHeroAbner force-pushed the support-xspi-on-rt700 branch 2 times, most recently from 3c5bafb to f3f572f Compare October 14, 2025 07:23
@JarmouniA JarmouniA dismissed their stale review October 14, 2025 07:33

addressed

@SuperHeroAbner SuperHeroAbner force-pushed the support-xspi-on-rt700 branch 5 times, most recently from 66661d8 to ad3c31a Compare October 14, 2025 13:00
@SuperHeroAbner SuperHeroAbner force-pushed the support-xspi-on-rt700 branch 2 times, most recently from 2cb0309 to 52d2cd3 Compare October 14, 2025 14:42
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]>
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants