boards: nxp: convert usb_kw24d512 to hwmv2

Convert usb_kw24d512 to hardware model v2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse
2024-02-08 13:36:48 -06:00
committed by Carles Cufi
parent 20ad604de6
commit 34e3852a54
11 changed files with 12 additions and 16 deletions

View File

@@ -1,9 +0,0 @@
# USB-KW24D512 board
# Copyright (c) 2017, Phytec Messtechnik GmbH
# SPDX-License-Identifier: Apache-2.0
config BOARD_USB_KW24D512
bool "NXP USB-KW24D512"
depends on SOC_SERIES_KINETIS_KWX
select SOC_PART_NUMBER_MKW24D512VHA5

View File

@@ -5,9 +5,6 @@
if BOARD_USB_KW24D512
config BOARD
default "usb_kw24d512"
config OSC_XTAL0_FREQ
# The MCU is configured to use 4 MHz external
# clock from the transceiver provided at the CLK_OUT output.

View File

@@ -0,0 +1,6 @@
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
config BOARD_USB_KW24D512
select SOC_MKW24D5
select SOC_PART_NUMBER_MKW24D512VHA5

View File

@@ -0,0 +1,5 @@
board:
name: usb_kw24d512
vendor: nxp
socs:
- name: mkw24d5

View File

@@ -70,7 +70,7 @@ The USB-KW24D512 board configuration supports the following hardware features:
The default configuration can be found in the defconfig file:
``boards/arm/usb_kw24d512/usb_kw24d512_defconfig``
``boards/nxp/usb_kw24d512/usb_kw24d512_defconfig``
Other hardware features are not currently supported by the port.

View File

@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_MKW24D5=y
CONFIG_SOC_SERIES_KINETIS_KWX=y
CONFIG_BOARD_USB_KW24D512=y
CONFIG_CONSOLE=y
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y