boards: arm: mercury_xu: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-02 11:10:46 +00:00
parent 3ecd12f415
commit dafbd638e4
9 changed files with 11 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
# Copyright (c) 2020, Antmicro
# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_sources(board.c)

View File

@@ -3,9 +3,6 @@
if BOARD_MERCURY_XU
config BOARD
default "mercury_xu"
config FLASH_SIZE
int
default 64

View File

@@ -1,5 +1,5 @@
# Copyright (c) 2020, Antmicro
# SPDX-License-Identifier: Apache-2.0
config BOARD_MERCURY_XU
bool "Mercury XU Board"
depends on SOC_XILINX_ZYNQMP_RPU
select SOC_XILINX_ZYNQMP_RPU

View File

@@ -0,0 +1,5 @@
board:
name: mercury_xu
vendor: Enclustra
socs:
- name: zynqmp_rpu

View File

@@ -1,15 +1,13 @@
# Copyright (c) 2020, Antmicro
CONFIG_SOC_XILINX_ZYNQMP_RPU=y
CONFIG_BOARD_MERCURY_XU=y
# enable uart driver
# Enable UART driver
CONFIG_SERIAL=y
# enable console
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# enable timer
# Enable timer
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_PINCTRL=y