Home
last modified time | relevance | path

Searched full:flexspi (Results 1 – 25 of 131) sorted by relevance

123456

/Zephyr-latest/drivers/memc/
Dmemc_mcux_flexspi.h17 * @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 …]
DKconfig.mcux10 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/
Dflash_clock_setup.c13 /* 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/
Dflexspi_clock_setup.c15 * @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/
Dflexspi.c18 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()
Dlpm_rt1064.c7 * 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/
Dflexspi.c18 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/
Dflexspi.c18 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/
Dflash_clock_setup.c19 /* 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/
DKconfig.mcux43 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/
DKconfig.rom_loader5 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)
DKconfig.flexspi_xip5 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/
Dinit.c10 #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/
Dnxp,imx-flexspi-is66wvq8m4.yaml4 description: ISSI IS66WVQ8M4 pSRAM on NXP FlexSPI bus
6 compatible: "nxp,imx-flexspi-is66wvq8m4"
8 include: nxp,imx-flexspi-device.yaml
Dnxp,imx-flexspi-aps6404l.yaml4 description: AP Memory APS6404L pSRAM on NXP FlexSPI bus
6 compatible: "nxp,imx-flexspi-aps6404l"
8 include: nxp,imx-flexspi-device.yaml
Dnxp,imx-flexspi-aps6408l.yaml4 description: AP Memory APS6408L pSRAM on NXP FlexSPI bus
6 compatible: "nxp,imx-flexspi-aps6408l"
8 include: nxp,imx-flexspi-device.yaml
Dnxp,imx-flexspi-mx25um51345g.yaml4 description: NXP FlexSPI MX25UM51345G
6 compatible: "nxp,imx-flexspi-mx25um51345g"
8 include: ["nxp,imx-flexspi-device.yaml", soc-nv-flash.yaml]
Dnxp,imx-flexspi-nor.yaml4 description: NXP FlexSPI NOR
6 compatible: "nxp,imx-flexspi-nor"
8 include: ["nxp,imx-flexspi-device.yaml", soc-nv-flash.yaml]
Dnxp,imx-flexspi-s27ks0641.yaml5 description: Cypress S27KS0641 HyperRAM on NXP FlexSPI bus
7 compatible: "nxp,imx-flexspi-s27ks0641"
9 include: nxp,imx-flexspi-device.yaml
Dnxp,imx-flexspi-hyperflash.yaml4 description: NXP FlexSPI HyperFlash
6 compatible: "nxp,imx-flexspi-hyperflash"
8 include: ["nxp,imx-flexspi-device.yaml", soc-nv-flash.yaml]
Dnxp,imx-flexspi-w956a8mbya.yaml5 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/
Dfrdm_rw612.conf4 # 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
Drd_rw612_bga.conf4 # 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/
Dflash_clock_setup.c14 /* 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/
DKconfig.defconfig47 # 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

123456