zephyr/boards/arm/mimxrt1064_evk/Kconfig.defconfig
Maureen Helm 7ae122dce0 boards: arm: Configure FlexSPI QSPI flash on mimxrt1064_evk
Enables the FlexSPI NOR flash driver, configures the FlexSPI pins, and
updates the board documentation accordingly on the mimxrt1064_evk.

Note that this SoC has two FlexSPI instances: one instance has an
in-package QSPI flash used for XIP; the other instance has a board-level
QSPI flash used for storage, not XIP. This patch enables the flash
driver on the non-XIP flash only.

Tested with:
  - samples/subsys/fs/littlefs
  - samples/drivers/flash_shell

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

boards: arm: Rename flexspi_qspi to flexspi_nor for mimxrt1064_evk

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-01-22 11:11:54 -05:00

77 lines
1,000 B
Text

# MIMXRT1064-EVK board
# Copyright (c) 2018, NXP
# SPDX-License-Identifier: Apache-2.0
if BOARD_MIMXRT1064_EVK
config BOARD
default "mimxrt1064_evk"
choice CODE_LOCATION
default CODE_FLEXSPI2
endchoice
config DISK_ACCESS_USDHC1
default y
depends on DISK_ACCESS_USDHC
config FLASH_MCUX_FLEXSPI_NOR
default y if FLASH
config I2C
default y if KSCAN
config KSCAN
default y if LVGL
if KSCAN
config KSCAN_FT5336
default y
config KSCAN_FT5336_INTERRUPT
default y
config KSCAN_INIT_PRIORITY
default 60
endif # KSCAN
if NETWORKING
config NET_L2_ETHERNET
default y
endif # NETWORKING
if LVGL
config LVGL_DISPLAY_DEV_NAME
default "ELCDIF_1"
config LVGL_POINTER_KSCAN
default y
config LVGL_POINTER_KSCAN_DEV_NAME
default "FT5336"
config LVGL_HOR_RES_MAX
default 480
config LVGL_VER_RES_MAX
default 272
config LVGL_VDB_SIZE
default 16
config LVGL_DPI
default 128
choice LVGL_COLOR_DEPTH
default LVGL_COLOR_DEPTH_16
endchoice
endif # LVGL
endif # BOARD_MIMXRT1064_EVK