boards: arm: zybo: 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 10:28:04 +00:00
parent c970127fc2
commit 8e94b85361
11 changed files with 6 additions and 17 deletions

View File

@@ -1,11 +0,0 @@
# Digilent Zybo board
# Copyright (c) 2022 Henrik Brix Andersen <henrik@brixandersen.dk>
# SPDX-License-Identifier: Apache-2.0
if BOARD_ZYBO
config BOARD
default "zybo"
endif # BOARD_ZYBO

View File

@@ -4,5 +4,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_ZYBO
bool "Digilent Zybo"
depends on SOC_XILINX_XC7Z010
select SOC_XILINX_XC7Z010

View File

@@ -0,0 +1,5 @@
board:
name: zybo
vendor: Digilent
socs:
- name: xc7z010

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_XILINX_XC7ZXXX=y
CONFIG_SOC_XILINX_XC7Z010=y
CONFIG_BOARD_ZYBO=y
# The GTC is always clocked at 1/2 of the CPU frequency (CPU_3x2x)
CONFIG_ARM_ARCH_TIMER=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=325000000