/Zephyr-latest/drivers/memc/ |
D | memc_mcux_flexspi.h | 17 * @brief Wait for the FlexSPI bus to be idle 19 * Waits for the FlexSPI bus to be idle. Can be used when reconfiguring 20 * the FlexSPI to make sure no flash access is occurring before changing 23 * @param dev: FlexSPI device 28 * @brief Check if FlexSPI is being used in XIP mode. 30 * Checks if the FlexSPI is being used for code execution in the current 33 * @param dev: FlexSPI device 34 * @retval true if FlexSPI being used for XIP 39 * @brief Update clock selection of the FlexSPI device 41 * Updates clock frequency of FlexSPI to new clock speed. [all …]
|
D | Kconfig.mcux | 10 bool "MCUX FlexSPI Winbond W956A8MBYA HyperRAM driver" 16 bool "MCUX FlexSPI Cypress S27KS0641 HyperRAM driver" 22 bool "MCUX FlexSPI AP Memory APS6408L pSRAM driver" 28 bool "MCUX FlexSPI ISSI IS66WVQ8M4 pSRAM driver" 34 bool "MCUX FlexSPI AP Memory APS6404L pSRAM driver" 40 int "MCUX FLEXSPI MEMC driver initialization priority" 43 Initialization priority for FlexSPI MEMC driver. In cases where the 50 bool "Initialize FLEXSPI when using device for XIP" 52 Initialize the FLEXSPI device even when using it for XIP. If this 56 used for the FLEXSPI are compatible with those needed for XIP from
|
/Zephyr-latest/soc/nxp/imxrt/imxrt5xx/cm33/ |
D | flash_clock_setup.c | 13 /* Enable FLEXSPI clock again */ in flash_deinit() 16 /* Enable FLEXSPI module */ in flash_deinit() 19 /* Wait until FLEXSPI is not busy */ in flash_deinit() 38 /* Enable FLEXSPI module */ in flash_init() 75 * flexspi_set_clock run in RAM used to configure FlexSPI clock source and divider 84 /* Always deinit FLEXSPI and init FLEXSPI for the flash to make sure the in flexspi_setup_clock() 85 * flash works correctly after the FLEXSPI root clock changed as the in flexspi_setup_clock() 86 * default FLEXSPI configuration may does not work for the new root in flexspi_setup_clock() 93 /* Update flexspi clock. */ in flexspi_setup_clock() 100 /* Enable FLEXSPI clock again */ in flexspi_setup_clock() [all …]
|
/Zephyr-latest/soc/nxp/rw/ |
D | flexspi_clock_setup.c | 15 * @brief Set flexspi clock to given frequency 18 * the FlexSPI with a new MUX source, only change the divider. This function 20 * the FlexSPI 29 /* Get the root clock rate: FlexSPI clock * divisor */ in flexspi_clock_set_freq() 40 while (FLEXSPI_GetBusIdleStatus(FLEXSPI) == false) { in flexspi_clock_set_freq() 43 FLEXSPI_Enable(FLEXSPI, false); in flexspi_clock_set_freq() 45 set_flexspi_clock(FLEXSPI, (CLKCTL0->FLEXSPIFCLKSEL & in flexspi_clock_set_freq() 49 FLEXSPI_Enable(FLEXSPI, true); in flexspi_clock_set_freq() 51 FLEXSPI_SoftwareReset(FLEXSPI); in flexspi_clock_set_freq() 58 * @brief Set flexspi clock
|
/Zephyr-latest/soc/nxp/imxrt/imxrt10xx/ |
D | flexspi.c | 18 FLEXSPI_Type *flexspi; in flexspi_clock_set_freq() local 27 flexspi = (FLEXSPI_Type *)DT_REG_ADDR(DT_NODELABEL(flexspi)); in flexspi_clock_set_freq() 36 flexspi = (FLEXSPI_Type *)DT_REG_ADDR(DT_NODELABEL(flexspi2)); in flexspi_clock_set_freq() 51 while (FLEXSPI_GetBusIdleStatus(flexspi) == false) { in flexspi_clock_set_freq() 54 FLEXSPI_Enable(flexspi, false); in flexspi_clock_set_freq() 62 FLEXSPI_Enable(flexspi, true); in flexspi_clock_set_freq() 64 FLEXSPI_SoftwareReset(flexspi); in flexspi_clock_set_freq()
|
D | lpm_rt1064.c | 7 * to the flexspi modules must be linked to RAM, or within this file 52 * FLEXSPI and SEMC peripherals. 74 * FLEXSPI and SEMC peripherals. 96 * FLEXSPI and SEMC peripherals. 121 /* Wait for flexspi to be inactive, and gate the clock */ in flexspi_enter_critical() 131 #if DT_SAME_NODE(DT_NODELABEL(flexspi), DT_PARENT(DT_CHOSEN(zephyr_flash))) in flexspi_enter_critical() 132 /* Wait for flexspi to be inactive, and gate the clock */ in flexspi_enter_critical() 133 while (!((FLEXSPI->STS0 & FLEXSPI_STS0_ARBIDLE_MASK) && in flexspi_enter_critical() 134 (FLEXSPI->STS0 & FLEXSPI_STS0_SEQIDLE_MASK))) { in flexspi_enter_critical() 136 FLEXSPI->MCR0 |= FLEXSPI_MCR0_MDIS_MASK; in flexspi_enter_critical() [all …]
|
/Zephyr-latest/soc/nxp/imxrt/imxrt118x/ |
D | flexspi.c | 18 FLEXSPI_Type *flexspi; in flexspi_clock_set_freq() local 26 flexspi = (FLEXSPI_Type *)DT_REG_ADDR(DT_NODELABEL(flexspi)); in flexspi_clock_set_freq() 31 flexspi = (FLEXSPI_Type *)DT_REG_ADDR(DT_NODELABEL(flexspi2)); in flexspi_clock_set_freq() 49 while (FLEXSPI_GetBusIdleStatus(flexspi) == false) { in flexspi_clock_set_freq() 52 FLEXSPI_Enable(flexspi, false); in flexspi_clock_set_freq() 60 FLEXSPI_Enable(flexspi, true); in flexspi_clock_set_freq() 62 FLEXSPI_SoftwareReset(flexspi); in flexspi_clock_set_freq()
|
/Zephyr-latest/soc/nxp/imxrt/imxrt11xx/ |
D | flexspi.c | 18 FLEXSPI_Type *flexspi; in flexspi_clock_set_freq() local 26 flexspi = (FLEXSPI_Type *)DT_REG_ADDR(DT_NODELABEL(flexspi)); in flexspi_clock_set_freq() 31 flexspi = (FLEXSPI_Type *)DT_REG_ADDR(DT_NODELABEL(flexspi2)); in flexspi_clock_set_freq() 49 while (FLEXSPI_GetBusIdleStatus(flexspi) == false) { in flexspi_clock_set_freq() 52 FLEXSPI_Enable(flexspi, false); in flexspi_clock_set_freq() 60 FLEXSPI_Enable(flexspi, true); in flexspi_clock_set_freq() 62 FLEXSPI_SoftwareReset(flexspi); in flexspi_clock_set_freq()
|
/Zephyr-latest/soc/nxp/imxrt/imxrt6xx/cm33/ |
D | flash_clock_setup.c | 19 /* Wait until FLEXSPI is not busy */ in flash_deinit() 34 /* Enable FLEXSPI module */ in flash_init() 81 if (base == FLEXSPI) { in flexspi_setup_clock() 85 /* Always deinit FLEXSPI and init FLEXSPI for the flash to make sure the in flexspi_setup_clock() 86 * flash works correctly after the FLEXSPI root clock changed as the in flexspi_setup_clock() 87 * default FLEXSPI configuration may does not work for the new root in flexspi_setup_clock() 94 /* Update flexspi clock */ in flexspi_setup_clock() 101 /* Enable FLEXSPI clock again */ in flexspi_setup_clock() 111 /* This function is used to change FlexSPI clock to a stable source before clock 113 * FLEXSPI memory.) [all …]
|
/Zephyr-latest/drivers/flash/ |
D | Kconfig.mcux | 43 menu "Flexspi flash driver" 46 bool "MCUX FlexSPI NOR driver" 57 bool "MCUX FlexSPI MX25UM51345G driver" 67 bool "MCUX FlexSPI HYPERFLASH driver" 81 prompt "FlexSPI MX25UM51345G OPI mode" 98 bool "MCUX FlexSPI NOR write RAM buffer" 107 bool "MCUX FlexSPI HYPERFLASH write RAM buffer"
|
/Zephyr-latest/soc/nxp/common/ |
D | Kconfig.rom_loader | 5 bool "Create output image that NXP ROM can load from FlexSPI to ram" 10 FlexSPI boot device into RAM region. The image will be loaded 11 from FLEXSPI into the region specified by `zephyr,flash` node. 17 FLEXSPI_BASE := $(dt_nodelabel_reg_addr_hex,flexspi,1)
|
D | Kconfig.flexspi_xip | 5 DT_COMPAT_FLEXSPI := nxp,imx-flexspi 29 FlexSpi when planning to execute code in FlexSpi Memory. 41 prompt "Flexspi drivers memory location" 44 Select the location to run the FlexSPI drivers when using
|
/Zephyr-latest/boards/nxp/mimxrt1010_evk/ |
D | init.c | 10 #if DT_SAME_NODE(DT_NODELABEL(flexspi), DT_PARENT(DT_CHOSEN(zephyr_flash))) in SystemInitHook() 12 * considerations, so set the READADDROPT bit in the FlexSPI so it in SystemInitHook() 16 * Without this, the FlexSPI will return corrupted data during early in SystemInitHook() 20 FLEXSPI->AHBCR |= FLEXSPI_AHBCR_READADDROPT_MASK; in SystemInitHook()
|
/Zephyr-latest/dts/bindings/mtd/ |
D | nxp,imx-flexspi-is66wvq8m4.yaml | 4 description: ISSI IS66WVQ8M4 pSRAM on NXP FlexSPI bus 6 compatible: "nxp,imx-flexspi-is66wvq8m4" 8 include: nxp,imx-flexspi-device.yaml
|
D | nxp,imx-flexspi-aps6404l.yaml | 4 description: AP Memory APS6404L pSRAM on NXP FlexSPI bus 6 compatible: "nxp,imx-flexspi-aps6404l" 8 include: nxp,imx-flexspi-device.yaml
|
D | nxp,imx-flexspi-aps6408l.yaml | 4 description: AP Memory APS6408L pSRAM on NXP FlexSPI bus 6 compatible: "nxp,imx-flexspi-aps6408l" 8 include: nxp,imx-flexspi-device.yaml
|
D | nxp,imx-flexspi-mx25um51345g.yaml | 4 description: NXP FlexSPI MX25UM51345G 6 compatible: "nxp,imx-flexspi-mx25um51345g" 8 include: ["nxp,imx-flexspi-device.yaml", soc-nv-flash.yaml]
|
D | nxp,imx-flexspi-nor.yaml | 4 description: NXP FlexSPI NOR 6 compatible: "nxp,imx-flexspi-nor" 8 include: ["nxp,imx-flexspi-device.yaml", soc-nv-flash.yaml]
|
D | nxp,imx-flexspi-s27ks0641.yaml | 5 description: Cypress S27KS0641 HyperRAM on NXP FlexSPI bus 7 compatible: "nxp,imx-flexspi-s27ks0641" 9 include: nxp,imx-flexspi-device.yaml
|
D | nxp,imx-flexspi-hyperflash.yaml | 4 description: NXP FlexSPI HyperFlash 6 compatible: "nxp,imx-flexspi-hyperflash" 8 include: ["nxp,imx-flexspi-device.yaml", soc-nv-flash.yaml]
|
D | nxp,imx-flexspi-w956a8mbya.yaml | 5 description: Winbond W956A8MBYA HyperRAM on NXP FlexSPI bus 7 compatible: "nxp,imx-flexspi-w956a8mbya" 9 include: nxp,imx-flexspi-device.yaml
|
/Zephyr-latest/samples/drivers/memc/boards/ |
D | frdm_rw612.conf | 4 # In order to safely access the PSRAM on port B of the RW FlexSPI peripheral, 11 # Initialization priorities are critical here. The FlexSPI MEMC driver must 19 # This board has the PSRAM attached to the same FLEXSPI device as the flash 20 # chip used for XIP, so we must explicitly enable the FLEXSPI MEMC driver
|
D | rd_rw612_bga.conf | 4 # In order to safely access the PSRAM on port B of the RW FlexSPI peripheral, 11 # Initialization priorities are critical here. The FlexSPI MEMC driver must 19 # This board has the PSRAM attached to the same FLEXSPI device as the flash 20 # chip used for XIP, so we must explicitly enable the FLEXSPI MEMC driver
|
/Zephyr-latest/soc/nxp/mcx/mcxn/ |
D | flash_clock_setup.c | 14 /* Disable the FLEXSPI clock */ in flexspi_clock_set_freq() 22 /* Switch FLEXSPI to PLL0 */ in flexspi_clock_set_freq() 30 /* Switch FLEXSPI to FRO_HF */ in flexspi_clock_safe_config()
|
/Zephyr-latest/soc/nxp/imxrt/imxrt5xx/ |
D | Kconfig.defconfig | 47 # Enable the MEMC FlexSPI driver when using device power 48 # management so we can reconfigure the FlexSPI pins to 49 # save power. The MEMC FlexSPI driver is enabled when we 51 # reconfigure the FlexSPI pins even when the Flash driver
|