Browse Source

boards: mimx8mm_phyboard: convert to HVMv2

Convert mimx8mm_phyboard to HVMv2. This port only enables the M4 core of
the iMX8MM SOC present on this board.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
collab-hwm
Daniel DeGrasse 1 year ago committed by Jamie
parent
commit
3f9e706859
  1. 3
      boards/phytec/mimx8mm_phyboard_polis/Kconfig.defconfig
  2. 6
      boards/phytec/mimx8mm_phyboard_polis/Kconfig.mimx8mm_phyboard_polis
  3. 0
      boards/phytec/mimx8mm_phyboard_polis/board.cmake
  4. 5
      boards/phytec/mimx8mm_phyboard_polis/board.yml
  5. 0
      boards/phytec/mimx8mm_phyboard_polis/doc/img/PEB-EVAL-01.jpg
  6. 0
      boards/phytec/mimx8mm_phyboard_polis/doc/img/phyBOARD-Polis.jpg
  7. 8
      boards/phytec/mimx8mm_phyboard_polis/doc/index.rst
  8. 0
      boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis-pinctrl.dtsi
  9. 0
      boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4.dts
  10. 2
      boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4.yaml
  11. 3
      boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4_defconfig

3
boards/boards_legacy/arm/mimx8mm_phyboard_polis/Kconfig.defconfig → boards/phytec/mimx8mm_phyboard_polis/Kconfig.defconfig

@ -5,9 +5,6 @@
if BOARD_MIMX8MM_PHYBOARD_POLIS if BOARD_MIMX8MM_PHYBOARD_POLIS
config BOARD
default "mimx8mm_phyboard_polis"
if !XIP if !XIP
config FLASH_SIZE config FLASH_SIZE
default 0 default 0

6
boards/boards_legacy/arm/mimx8mm_phyboard_polis/Kconfig.board → boards/phytec/mimx8mm_phyboard_polis/Kconfig.mimx8mm_phyboard_polis

@ -1,9 +1,7 @@
# MIMX8MM_PHYBOARD_POLIS board configuration
# Copyright (c) 2022 PHYTEC Messtechnik GmbH # Copyright (c) 2022 PHYTEC Messtechnik GmbH
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config BOARD_MIMX8MM_PHYBOARD_POLIS config BOARD_MIMX8MM_PHYBOARD_POLIS
bool "Phytec Phyboard Polis i.MX8M Mini"
depends on SOC_SERIES_IMX8MM_M4
select SOC_PART_NUMBER_MIMX8MM6DVTLZ select SOC_PART_NUMBER_MIMX8MM6DVTLZ
select SOC_MIMX8MM6_M4 if BOARD_MIMX8MM_PHYBOARD_POLIS_MIMX8MM6_M4

0
boards/boards_legacy/arm/mimx8mm_phyboard_polis/board.cmake → boards/phytec/mimx8mm_phyboard_polis/board.cmake

5
boards/phytec/mimx8mm_phyboard_polis/board.yml

@ -0,0 +1,5 @@
board:
name: mimx8mm_phyboard_polis
vendor: phytec
socs:
- name: mimx8mm6

0
boards/boards_legacy/arm/mimx8mm_phyboard_polis/doc/img/PEB-EVAL-01.jpg → boards/phytec/mimx8mm_phyboard_polis/doc/img/PEB-EVAL-01.jpg

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

0
boards/boards_legacy/arm/mimx8mm_phyboard_polis/doc/img/phyBOARD-Polis.jpg → boards/phytec/mimx8mm_phyboard_polis/doc/img/phyBOARD-Polis.jpg

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

8
boards/boards_legacy/arm/mimx8mm_phyboard_polis/doc/index.rst → boards/phytec/mimx8mm_phyboard_polis/doc/index.rst

@ -70,7 +70,7 @@ More information about the board can be found at the
Supported Features Supported Features
================== ==================
The Zephyr mimx8mm_phyboard_polis board configuration supports the following The Zephyr ``mimx8mm_phyboard_polis/mimx8mm6/m4`` board configuration supports the following
hardware features: hardware features:
+-----------+------------+-------------------------------------+ +-----------+------------+-------------------------------------+
@ -92,7 +92,7 @@ hardware features:
+-----------+------------+-------------------------------------+ +-----------+------------+-------------------------------------+
The default configuration can be found in the defconfig file: The default configuration can be found in the defconfig file:
:zephyr_file:`boards/arm/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_defconfig`. :zephyr_file:`boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4_defconfig`.
It is recommended to disable peripherals used by the M4 core on the Linux host. It is recommended to disable peripherals used by the M4 core on the Linux host.
@ -194,12 +194,12 @@ The available configurations are:
If you don't want to use the TCM memory area, you can either overwrite the If you don't want to use the TCM memory area, you can either overwrite the
boards devicetree in your program or edit the board devicetree located here: boards devicetree in your program or edit the board devicetree located here:
:zephyr_file:`boards/arm/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis.dts` :zephyr_file:`boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4.dts`.
You also have to set XIP=n or edit the boards defconfig file, if you don't want You also have to set XIP=n or edit the boards defconfig file, if you don't want
the TCM memory area to be used. You can find the defconf file here: the TCM memory area to be used. You can find the defconf file here:
:zephyr_file:`boards/arm/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_defconfig`. :zephyr_file:`boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4_defconfig`.
The following configurations are possible for the flash and sram chosen nodes The following configurations are possible for the flash and sram chosen nodes
to change the used memory area: to change the used memory area:

0
boards/boards_legacy/arm/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis-pinctrl.dtsi → boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis-pinctrl.dtsi

0
boards/boards_legacy/arm/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis.dts → boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4.dts

2
boards/boards_legacy/arm/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis.yaml → boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4.yaml

@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
identifier: mimx8mm_phyboard_polis identifier: mimx8mm_phyboard_polis/mimx8mm6/m4
name: Phyboard Polis i.MX8M Mini name: Phyboard Polis i.MX8M Mini
type: mcu type: mcu
arch: arm arch: arm

3
boards/boards_legacy/arm/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_defconfig → boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4_defconfig

@ -4,9 +4,6 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
CONFIG_SOC_SERIES_IMX8MM_M4=y
CONFIG_SOC_MIMX8MM6=y
CONFIG_BOARD_MIMX8MM_PHYBOARD_POLIS=y
CONFIG_CORTEX_M_SYSTICK=y CONFIG_CORTEX_M_SYSTICK=y
CONFIG_CLOCK_CONTROL=y CONFIG_CLOCK_CONTROL=y
CONFIG_UART_CONSOLE=y CONFIG_UART_CONSOLE=y
Loading…
Cancel
Save