1# Copyright 2020-2023 NXP
2# Copyright (c) 2021 Basalte bv
3# Copyright (c) 2023, ithinx GmbH
4# Copyright (c) 2023, Tonies GmbH
5# SPDX-License-Identifier: Apache-2.0
6
7if DT_HAS_NXP_IMX_FLEXSPI_ENABLED
8
9config MEMC_MCUX_FLEXSPI_W956A8MBYA
10	bool "MCUX FlexSPI Winbond W956A8MBYA HyperRAM driver"
11	default y
12	depends on DT_HAS_NXP_IMX_FLEXSPI_W956A8MBYA_ENABLED
13	select MEMC_MCUX_FLEXSPI
14
15config MEMC_MCUX_FLEXSPI_S27KS0641
16	bool "MCUX FlexSPI Cypress S27KS0641 HyperRAM driver"
17	default y
18	depends on DT_HAS_NXP_IMX_FLEXSPI_S27KS0641_ENABLED
19	select MEMC_MCUX_FLEXSPI
20
21config MEMC_MCUX_FLEXSPI_APS6408L
22	bool "MCUX FlexSPI AP Memory APS6408L pSRAM driver"
23	default y
24	depends on DT_HAS_NXP_IMX_FLEXSPI_APS6408L_ENABLED
25	select MEMC_MCUX_FLEXSPI
26
27config MEMC_MCUX_FLEXSPI
28	bool
29	select PINCTRL
30
31endif # DT_HAS_NXP_IMX_FLEXSPI_ENABLED
32
33
34if DT_HAS_NXP_FLEXRAM_ENABLED
35
36config MEMC_NXP_FLEXRAM
37	bool
38	default y
39
40config MEMC_NXP_FLEXRAM_MAGIC_ADDR_API
41	bool "NXP FlexRAM magic addr API"
42	help
43	  Enable API to use flexRAM magic address functionality
44
45config MEMC_NXP_FLEXRAM_ERROR_INTERRUPT
46	bool "NXP FlexRAM error interrupt"
47	help
48	  Allow flexram to generate error interrupts
49
50endif # DT_HAS_NXP_FLEXRAM_ENABLED
51