diff --git a/boards/nxp/mimxrt1060_evk/CMakeLists.txt b/boards/nxp/mimxrt1060_evk/CMakeLists.txt index 2778972698b482..29263b8b55596f 100644 --- a/boards/nxp/mimxrt1060_evk/CMakeLists.txt +++ b/boards/nxp/mimxrt1060_evk/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2018-2022 NXP +# Copyright 2018-2022, 2025 NXP # # SPDX-License-Identifier: Apache-2.0 # @@ -12,7 +12,7 @@ endif() if(CONFIG_NXP_IMXRT_BOOT_HEADER) zephyr_library() - if(${BOARD_REVISION} STREQUAL "B") + if((${BOARD_REVISION} STREQUAL "B") OR (${BOARD_REVISION} STREQUAL "C")) set(FLASH_CONF evkbmimxrt1060_flexspi_nor_config.c) set(BOARD_NAME evkbmimxrt1060) elseif(CONFIG_DT_HAS_NXP_IMX_FLEXSPI_NOR_ENABLED) diff --git a/boards/nxp/mimxrt1060_evk/board.cmake b/boards/nxp/mimxrt1060_evk/board.cmake index e6748688a78999..b9926a99a3eb12 100644 --- a/boards/nxp/mimxrt1060_evk/board.cmake +++ b/boards/nxp/mimxrt1060_evk/board.cmake @@ -14,7 +14,7 @@ board_runner_args(pyocd "--target=mimxrt1060") board_runner_args(jlink "--device=MIMXRT1062xxx6A") board_runner_args(linkserver "--device=MIMXRT1062xxxxA:EVK-MIMXRT1060") -if(("${BOARD_QUALIFIERS}" MATCHES "qspi") OR ("${BOARD_REVISION}" STREQUAL "B")) +if(("${BOARD_QUALIFIERS}" MATCHES "qspi") OR ("${BOARD_REVISION}" STREQUAL "B") OR ("${BOARD_REVISION}" STREQUAL "C")) board_runner_args(jlink "--loader=BankAddr=0x60000000&Loader=QSPI") elseif ("${BOARD_QUALIFIERS}" MATCHES "hyperflash") board_runner_args(jlink "--loader=BankAddr=0x60000000&Loader=HyperFlash") diff --git a/boards/nxp/mimxrt1060_evk/board.yml b/boards/nxp/mimxrt1060_evk/board.yml index 30a5701b1feb7e..6ea1376ab869c8 100644 --- a/boards/nxp/mimxrt1060_evk/board.yml +++ b/boards/nxp/mimxrt1060_evk/board.yml @@ -9,7 +9,8 @@ boards: - name: "hyperflash" revision: format: "letter" - default: "A" + default: "C" revisions: - name: "A" - name: "B" + - name: "C" diff --git a/boards/nxp/mimxrt1060_evk/doc/index.rst b/boards/nxp/mimxrt1060_evk/doc/index.rst index 940ca2a593ecfc..372aaea085e566 100644 --- a/boards/nxp/mimxrt1060_evk/doc/index.rst +++ b/boards/nxp/mimxrt1060_evk/doc/index.rst @@ -316,8 +316,28 @@ The MIMXRT1060 SoC has eight UARTs. ``LPUART1`` is configured for the console, ``LPUART3`` for the Bluetooth Host Controller Interface (BT HCI), and the remaining are not used. -Board Targets -************* +Board Revisions and Targets +*************************** + +There are three revisions of this board. + +Rev A: + +* Initial version + +Rev B: + +* adds the M.2 connector for Wi-Fi/BLE +* adds audio expansion connector J23 +* USER LED1 changed to GPIO1 pin 8 + +Rev C: + +* Replaces audio codec WM8960(EOL) to WM8962 +* Replaces 32.768 KHz oscillator from ASH7K-32.768KHz-T(EOL)to ASH7KW-32.768KHZ-L-T +* Replaces motion sensor from FXOS8700CQ(EOL) to FXLS8974CFR3 +* Re-assigns Bluetooth Audio PCM with dedicated I2S2 +* Re-assigns Bluetooth interface UART_CTS, UART_RTS to hardware PIN This board has two variants that can be targeted, depending on which flash to set as ``zephyr,flash``: @@ -387,10 +407,28 @@ Flashing Here is an example for the :zephyr:code-sample:`hello_world` application. -.. zephyr-app-commands:: - :zephyr-app: samples/hello_world - :board: mimxrt1060_evk//qspi - :goals: flash +.. tabs:: + + .. group-tab:: i.MX RT1060 Rev A + + .. zephyr-app-commands:: + :zephyr-app: samples/hello_world + :board: mimxrt1060_evk@A//qspi + :goals: flash + + .. group-tab:: i.MX RT1060 Rev B + + .. zephyr-app-commands:: + :zephyr-app: samples/hello_world + :board: mimxrt1060_evk@B//qspi + :goals: flash + + .. group-tab:: i.MX RT1060 Rev C (default) + + .. zephyr-app-commands:: + :zephyr-app: samples/hello_world + :board: mimxrt1060_evk@C//qspi + :goals: flash Open a serial terminal, reset the board (press the SW9 button), and you should see the following message in the terminal: @@ -405,10 +443,29 @@ Debugging Here is an example for the :zephyr:code-sample:`hello_world` application. -.. zephyr-app-commands:: - :zephyr-app: samples/hello_world - :board: mimxrt1060_evk//qspi - :goals: debug +.. tabs:: + + .. group-tab:: i.MX RT1060 Rev A + + .. zephyr-app-commands:: + :zephyr-app: samples/hello_world + :board: mimxrt1060_evk@A//qspi + :goals: debug + + .. group-tab:: i.MX RT1060 Rev B + + .. zephyr-app-commands:: + :zephyr-app: samples/hello_world + :board: mimxrt1060_evk@B//qspi + :goals: debug + + .. group-tab:: i.MX RT1060 Rev C (default) + + .. zephyr-app-commands:: + :zephyr-app: samples/hello_world + :board: mimxrt1060_evk@C//qspi + :goals: debug + Open a serial terminal, step through the application in your debugger, and you should see the following message in the terminal: diff --git a/boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_B.yaml b/boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_B.yaml index 5c9f42d5ef717a..c46f4ceba9ae97 100644 --- a/boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_B.yaml +++ b/boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_B.yaml @@ -15,20 +15,20 @@ toolchain: ram: 32768 flash: 8192 supported: + - adc - arduino_gpio - arduino_i2c - arduino_serial - arduino_spi + - can - counter - display + - dma - gpio - i2c - netif:eth - sdhc - spi - usb_device - - dma - - can - watchdog - - adc vendor: nxp diff --git a/boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_C.overlay b/boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_C.overlay new file mode 100644 index 00000000000000..284679eaa9f28f --- /dev/null +++ b/boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_C.overlay @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2022, Whisper.ai + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* FLEXPWM not routed to LED on this EVK */ +&flexpwm2_pwm3 { + status = "disabled"; +}; + +&green_led { + gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; + label = "User LED1"; +}; diff --git a/boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_C.yaml b/boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_C.yaml new file mode 100644 index 00000000000000..94394b3b84e91d --- /dev/null +++ b/boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_C.yaml @@ -0,0 +1,34 @@ +# +# Copyright (c) 2022, Whisper.ai +# +# SPDX-License-Identifier: Apache-2.0 +# + +identifier: mimxrt1060_evk@C/mimxrt1062/qspi +name: NXP MIMXRT1060-EVKC +type: mcu +arch: arm +toolchain: + - zephyr + - gnuarmemb + - xtools +ram: 32768 +flash: 8192 +supported: + - adc + - arduino_gpio + - arduino_i2c + - arduino_serial + - arduino_spi + - can + - counter + - display + - dma + - gpio + - i2c + - netif:eth + - sdhc + - spi + - usb_device + - watchdog +vendor: nxp