Browse Source

boards: udoo_neo_full: convert to HWMv2

Convert udoo_neo_full board to HWMv2.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
collab-hwm
Daniel DeGrasse 1 year ago committed by Jamie
parent
commit
29ef2f23eb
  1. 7
      boards/boards_legacy/arm/udoo_neo_full_m4/Kconfig.board
  2. 11
      boards/boards_legacy/arm/udoo_neo_full_m4/Kconfig.defconfig
  3. 10
      boards/udoo/index.rst
  4. 6
      boards/udoo/udoo_neo_full/Kconfig.udoo_neo_full
  5. 0
      boards/udoo/udoo_neo_full/board.cmake
  6. 5
      boards/udoo/udoo_neo_full/board.yml
  7. 8
      boards/udoo/udoo_neo_full/doc/index.rst
  8. 0
      boards/udoo/udoo_neo_full/doc/udoo_neo_full_mcimx6x_m4.jpg
  9. 0
      boards/udoo/udoo_neo_full/udoo_neo_full-pinctrl.dtsi
  10. 6
      boards/udoo/udoo_neo_full/udoo_neo_full_mcimx6x_m4.dts
  11. 2
      boards/udoo/udoo_neo_full/udoo_neo_full_mcimx6x_m4.yaml
  12. 3
      boards/udoo/udoo_neo_full/udoo_neo_full_mcimx6x_m4_defconfig
  13. 4
      samples/drivers/ipm/ipm_imx/README.rst
  14. 6
      samples/drivers/ipm/ipm_imx/sample.yaml
  15. 0
      tests/drivers/gpio/gpio_basic_api/boards/udoo_neo_full_mcimx6x_m4.overlay
  16. 4
      tests/drivers/gpio/gpio_basic_api/src/main.c

7
boards/boards_legacy/arm/udoo_neo_full_m4/Kconfig.board

@ -1,7 +0,0 @@
# Copyright (c) 2018, NXP
# SPDX-License-Identifier: Apache-2.0
config BOARD_UDOO_NEO_FULL_M4
bool "UDOO Neo Full"
depends on SOC_SERIES_IMX_6X_M4
select SOC_PART_NUMBER_MCIMX6X4EVM10AB

11
boards/boards_legacy/arm/udoo_neo_full_m4/Kconfig.defconfig

@ -1,11 +0,0 @@
# UDOO Neo Full board
# Copyright (c) 2018, NXP
# SPDX-License-Identifier: Apache-2.0
if BOARD_UDOO_NEO_FULL_M4
config BOARD
default "udoo_neo_full_m4"
endif # BOARD_UDOO_NEO_FULL_M4

10
boards/udoo/index.rst

@ -0,0 +1,10 @@
.. _boards-udoo:
UDOO
####
.. toctree::
:maxdepth: 1
:glob:
**/*

6
boards/udoo/udoo_neo_full/Kconfig.udoo_neo_full

@ -0,0 +1,6 @@
# Copyright 2018,2024 NXP
# SPDX-License-Identifier: Apache-2.0
config BOARD_UDOO_NEO_FULL
select SOC_PART_NUMBER_MCIMX6X4EVM10AB
select SOC_MCIMX6X_M4 if BOARD_UDOO_NEO_FULL_MCIMX6X_M4

0
boards/boards_legacy/arm/udoo_neo_full_m4/board.cmake → boards/udoo/udoo_neo_full/board.cmake

5
boards/udoo/udoo_neo_full/board.yml

@ -0,0 +1,5 @@
board:
name: udoo_neo_full
vendor: udoo
socs:
- name: mcimx6x

8
boards/boards_legacy/arm/udoo_neo_full_m4/doc/index.rst → boards/udoo/udoo_neo_full/doc/index.rst

@ -1,4 +1,4 @@
.. _udoo_neo_full_m4: .. _udoo_neo_full:
UDOO Neo Full UDOO Neo Full
############# #############
@ -13,7 +13,7 @@ core running up to 227 MHz for high CPU performance and real-time response.
Zephyr was ported to run on the Cortex-M4 core only. In a future release, it Zephyr was ported to run on the Cortex-M4 core only. In a future release, it
will also communicate with the Cortex-A9 core (running Linux) via OpenAMP. will also communicate with the Cortex-A9 core (running Linux) via OpenAMP.
.. figure:: udoo_neo_full_m4.jpg .. figure:: udoo_neo_full_mcimx6x_m4.jpg
:align: center :align: center
:alt: UDOO-Neo-Full :alt: UDOO-Neo-Full
@ -135,7 +135,7 @@ features:
The default configuration can be found in the defconfig file: The default configuration can be found in the defconfig file:
``boards/arm/udoo_neo_full_m4/udoo_neo_full_m4_defconfig`` :zephyr_file:`boards/udoo/udoo_neo_full/udoo_neo_full_mcimx6x_m4_defconfig`
Other hardware features are not currently supported by the port. Other hardware features are not currently supported by the port.
@ -200,7 +200,7 @@ References
- `NXP i.MX 6SoloX Reference Manual`_ Chapter 2 - Memory Maps - `NXP i.MX 6SoloX Reference Manual`_ Chapter 2 - Memory Maps
You have to choose which RAM will be used at compilation time. This configuration You have to choose which RAM will be used at compilation time. This configuration
is done in the file ``boards/arm/udoo_neo_full_m4/udoo_neo_full_m4.dts``. is done in the file :zephyr_file:`boards/udoo/udoo_neo_full/udoo_neo_full_mcimx6x_m4.dts`.
If you want to have the code placed in the subregion of a memory, which will If you want to have the code placed in the subregion of a memory, which will
likely be the case when using DDR, select "zephyr,flash=&flash" and set the likely be the case when using DDR, select "zephyr,flash=&flash" and set the

0
boards/boards_legacy/arm/udoo_neo_full_m4/doc/udoo_neo_full_m4.jpg → boards/udoo/udoo_neo_full/doc/udoo_neo_full_mcimx6x_m4.jpg

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

0
boards/boards_legacy/arm/udoo_neo_full_m4/udoo_neo_full_m4-pinctrl.dtsi → boards/udoo/udoo_neo_full/udoo_neo_full-pinctrl.dtsi

6
boards/boards_legacy/arm/udoo_neo_full_m4/udoo_neo_full_m4.dts → boards/udoo/udoo_neo_full/udoo_neo_full_mcimx6x_m4.dts

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, NXP * Copyright 2018,2024 NXP
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
@ -25,11 +25,11 @@
#define DT_SRAM_ADDR 84080000 /* DT_ADDR will add leading 0x where needed */ #define DT_SRAM_ADDR 84080000 /* DT_ADDR will add leading 0x where needed */
#include <nxp/nxp_imx6sx_m4.dtsi> #include <nxp/nxp_imx6sx_m4.dtsi>
#include "udoo_neo_full_m4-pinctrl.dtsi" #include "udoo_neo_full-pinctrl.dtsi"
/ { / {
model = "UDOO Neo Full board"; model = "UDOO Neo Full board";
compatible = "nxp,mcimx6x_m4"; compatible = "nxp,mcmcimx6x_m4";
aliases { aliases {
led0 = &red_led; led0 = &red_led;

2
boards/boards_legacy/arm/udoo_neo_full_m4/udoo_neo_full_m4.yaml → boards/udoo/udoo_neo_full/udoo_neo_full_mcimx6x_m4.yaml

@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
identifier: udoo_neo_full_m4 identifier: udoo_neo_full/mcimx6x/m4
name: UDOO Neo Full name: UDOO Neo Full
type: mcu type: mcu
arch: arm arch: arm

3
boards/boards_legacy/arm/udoo_neo_full_m4/udoo_neo_full_m4_defconfig → boards/udoo/udoo_neo_full/udoo_neo_full_mcimx6x_m4_defconfig

@ -4,9 +4,6 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
CONFIG_SOC_MCIMX6X_M4=y
CONFIG_SOC_SERIES_IMX_6X_M4=y
CONFIG_BOARD_UDOO_NEO_FULL_M4=y
CONFIG_CONSOLE=y CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y CONFIG_SERIAL=y

4
samples/drivers/ipm/ipm_imx/README.rst

@ -35,11 +35,11 @@ It can be built as follows:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/drivers/ipm/ipm_imx :zephyr-app: samples/drivers/ipm/ipm_imx
:board: udoo_neo_full_m4 :board: udoo_neo_full/mcimx6x/m4
:goals: build flash :goals: build flash
:compact: :compact:
Follow the instructions in the :ref:`udoo_neo_full_m4` board documentation Follow the instructions in the :ref:`udoo_neo_full` board documentation
for how to load the Zephyr binary to the desired core and execute it. for how to load the Zephyr binary to the desired core and execute it.
Building and Running the Linux Code Building and Running the Linux Code

6
samples/drivers/ipm/ipm_imx/sample.yaml

@ -5,13 +5,13 @@ sample:
tests: tests:
sample.ipm.ipm_imx: sample.ipm.ipm_imx:
build_only: true build_only: true
filter: CONFIG_SOC_FAMILY_IMX filter: CONFIG_SOC_FAMILY_NXP_IMX
platform_allow: platform_allow:
- udoo_neo_full_m4 - udoo_neo_full/mcimx6x/m4
- colibri_imx7d_m4 - colibri_imx7d_m4
- warp7_m4 - warp7_m4
integration_platforms: integration_platforms:
- udoo_neo_full_m4 - udoo_neo_full/mcimx6x/m4
tags: tags:
- samples - samples
- ipm - ipm

0
tests/drivers/gpio/gpio_basic_api/boards/udoo_neo_full_m4.overlay → tests/drivers/gpio/gpio_basic_api/boards/udoo_neo_full_mcimx6x_m4.overlay

4
tests/drivers/gpio/gpio_basic_api/src/main.c

@ -10,7 +10,7 @@
/* Grotesque hack for pinmux boards */ /* Grotesque hack for pinmux boards */
#if defined(CONFIG_BOARD_RV32M1_VEGA) #if defined(CONFIG_BOARD_RV32M1_VEGA)
#include <fsl_port.h> #include <fsl_port.h>
#elif defined(CONFIG_BOARD_UDOO_NEO_FULL_M4) #elif defined(CONFIG_BOARD_UDOO_NEO_FULL_MCIMX6X_M4)
#include "device_imx.h" #include "device_imx.h"
#elif defined(CONFIG_BOARD_MIMXRT1050_EVK) #elif defined(CONFIG_BOARD_MIMXRT1050_EVK)
#include <fsl_iomuxc.h> #include <fsl_iomuxc.h>
@ -32,7 +32,7 @@ static void board_setup(void)
} }
#endif #endif
#if defined(CONFIG_BOARD_UDOO_NEO_FULL_M4) #if defined(CONFIG_BOARD_UDOO_NEO_FULL_MCIMX6X_M4)
/* /*
* Configure pin mux. * Configure pin mux.
* The following code needs to configure the same GPIOs which were * The following code needs to configure the same GPIOs which were

Loading…
Cancel
Save