boards: nxp: port frdm_k22f to hwmv2

Port frdm_k22f to hardware model v2

Signed-off-by: David Leach <david.leach@nxp.com>
This commit is contained in:
David Leach
2024-02-08 13:20:56 -06:00
committed by Carles Cufi
parent dce697c823
commit 0a7bf9fd79
13 changed files with 12 additions and 15 deletions

View File

@@ -1,9 +0,0 @@
# FRDM-K22F board
# Copyright (c) 2018, Prevas A/S
# SPDX-License-Identifier: Apache-2.0
config BOARD_FRDM_K22F
bool "NXP FRDM-K22F"
depends on SOC_SERIES_KINETIS_K2X
select SOC_PART_NUMBER_MK22FN512VLH12

View File

@@ -5,9 +5,6 @@
if BOARD_FRDM_K22F
config BOARD
default "frdm_k22f"
config OSC_XTAL0_FREQ
default 8000000

View File

@@ -0,0 +1,6 @@
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
config BOARD_FRDM_K22F
select SOC_MK22F51212
select SOC_PART_NUMBER_MK22FN512VLH12

View File

@@ -0,0 +1,5 @@
board:
name: frdm_k22f
vendor: nxp
socs:
- name: mk22f51212

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

@@ -103,7 +103,7 @@ already supported, which can also be re-used on this frdm_k22f board:
The default configuration can be found in the defconfig file:
:zephyr_file:`boards/arm/frdm_k22f/frdm_k22f_defconfig`
:zephyr_file:`boards/nxp/frdm_k22f/frdm_k22f_defconfig`
Other hardware features are not currently supported by the port.

View File

@@ -6,8 +6,6 @@
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SOC_MK22F51212=y
CONFIG_SOC_SERIES_KINETIS_K2X=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y