From 9de981be059c475241acf753ba56be0722edb1a7 Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Wed, 7 Feb 2024 08:53:28 +0000 Subject: [PATCH] boards: arm: xmc47_relax_kit: Convert to v2 Converts the board to hwmv2 Signed-off-by: Jamie McCrae --- .../xmc47_relax_kit/Kconfig.defconfig | 3 --- .../xmc47_relax_kit/Kconfig.xmc47_relax_kit} | 3 +-- .../xmc47_relax_kit/arduino_r3_connector.dtsi | 0 .../arm => infineon}/xmc47_relax_kit/board.cmake | 0 boards/infineon/xmc47_relax_kit/board.yml | 5 +++++ .../arm => infineon}/xmc47_relax_kit/doc/index.rst | 0 .../xmc47_relax_kit/doc/xmc47_relax_kit.jpg | Bin .../xmc47_relax_kit/xmc47_relax_kit-pinctrl.dtsi | 0 .../xmc47_relax_kit/xmc47_relax_kit.dts | 0 .../xmc47_relax_kit/xmc47_relax_kit.yaml | 0 .../xmc47_relax_kit/xmc47_relax_kit_defconfig | 8 ++------ 11 files changed, 8 insertions(+), 11 deletions(-) rename boards/{boards_legacy/arm => infineon}/xmc47_relax_kit/Kconfig.defconfig (85%) rename boards/{boards_legacy/arm/xmc47_relax_kit/Kconfig.board => infineon/xmc47_relax_kit/Kconfig.xmc47_relax_kit} (67%) rename boards/{boards_legacy/arm => infineon}/xmc47_relax_kit/arduino_r3_connector.dtsi (100%) rename boards/{boards_legacy/arm => infineon}/xmc47_relax_kit/board.cmake (100%) create mode 100644 boards/infineon/xmc47_relax_kit/board.yml rename boards/{boards_legacy/arm => infineon}/xmc47_relax_kit/doc/index.rst (100%) rename boards/{boards_legacy/arm => infineon}/xmc47_relax_kit/doc/xmc47_relax_kit.jpg (100%) rename boards/{boards_legacy/arm => infineon}/xmc47_relax_kit/xmc47_relax_kit-pinctrl.dtsi (100%) rename boards/{boards_legacy/arm => infineon}/xmc47_relax_kit/xmc47_relax_kit.dts (100%) rename boards/{boards_legacy/arm => infineon}/xmc47_relax_kit/xmc47_relax_kit.yaml (100%) rename boards/{boards_legacy/arm => infineon}/xmc47_relax_kit/xmc47_relax_kit_defconfig (57%) diff --git a/boards/boards_legacy/arm/xmc47_relax_kit/Kconfig.defconfig b/boards/infineon/xmc47_relax_kit/Kconfig.defconfig similarity index 85% rename from boards/boards_legacy/arm/xmc47_relax_kit/Kconfig.defconfig rename to boards/infineon/xmc47_relax_kit/Kconfig.defconfig index 98978ffd540..aa8b936f764 100644 --- a/boards/boards_legacy/arm/xmc47_relax_kit/Kconfig.defconfig +++ b/boards/infineon/xmc47_relax_kit/Kconfig.defconfig @@ -4,9 +4,6 @@ if BOARD_XMC47_RELAX_KIT -config BOARD - default "xmc47_relax_kit" - if NETWORKING config NET_L2_ETHERNET diff --git a/boards/boards_legacy/arm/xmc47_relax_kit/Kconfig.board b/boards/infineon/xmc47_relax_kit/Kconfig.xmc47_relax_kit similarity index 67% rename from boards/boards_legacy/arm/xmc47_relax_kit/Kconfig.board rename to boards/infineon/xmc47_relax_kit/Kconfig.xmc47_relax_kit index 7c60e2a03e8..c70d84c1746 100644 --- a/boards/boards_legacy/arm/xmc47_relax_kit/Kconfig.board +++ b/boards/infineon/xmc47_relax_kit/Kconfig.xmc47_relax_kit @@ -3,6 +3,5 @@ # Copyright (c) 2023 Schlumberger config BOARD_XMC47_RELAX_KIT - bool "Infineon XMC4700 Relax Kit" - depends on SOC_SERIES_XMC_4XXX + select SOC_XMC4700 select SOC_PART_NUMBER_F144X2048 diff --git a/boards/boards_legacy/arm/xmc47_relax_kit/arduino_r3_connector.dtsi b/boards/infineon/xmc47_relax_kit/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/xmc47_relax_kit/arduino_r3_connector.dtsi rename to boards/infineon/xmc47_relax_kit/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/xmc47_relax_kit/board.cmake b/boards/infineon/xmc47_relax_kit/board.cmake similarity index 100% rename from boards/boards_legacy/arm/xmc47_relax_kit/board.cmake rename to boards/infineon/xmc47_relax_kit/board.cmake diff --git a/boards/infineon/xmc47_relax_kit/board.yml b/boards/infineon/xmc47_relax_kit/board.yml new file mode 100644 index 00000000000..966893022de --- /dev/null +++ b/boards/infineon/xmc47_relax_kit/board.yml @@ -0,0 +1,5 @@ +board: + name: xmc47_relax_kit + vendor: Infineon + socs: + - name: xmc4700 diff --git a/boards/boards_legacy/arm/xmc47_relax_kit/doc/index.rst b/boards/infineon/xmc47_relax_kit/doc/index.rst similarity index 100% rename from boards/boards_legacy/arm/xmc47_relax_kit/doc/index.rst rename to boards/infineon/xmc47_relax_kit/doc/index.rst diff --git a/boards/boards_legacy/arm/xmc47_relax_kit/doc/xmc47_relax_kit.jpg b/boards/infineon/xmc47_relax_kit/doc/xmc47_relax_kit.jpg similarity index 100% rename from boards/boards_legacy/arm/xmc47_relax_kit/doc/xmc47_relax_kit.jpg rename to boards/infineon/xmc47_relax_kit/doc/xmc47_relax_kit.jpg diff --git a/boards/boards_legacy/arm/xmc47_relax_kit/xmc47_relax_kit-pinctrl.dtsi b/boards/infineon/xmc47_relax_kit/xmc47_relax_kit-pinctrl.dtsi similarity index 100% rename from boards/boards_legacy/arm/xmc47_relax_kit/xmc47_relax_kit-pinctrl.dtsi rename to boards/infineon/xmc47_relax_kit/xmc47_relax_kit-pinctrl.dtsi diff --git a/boards/boards_legacy/arm/xmc47_relax_kit/xmc47_relax_kit.dts b/boards/infineon/xmc47_relax_kit/xmc47_relax_kit.dts similarity index 100% rename from boards/boards_legacy/arm/xmc47_relax_kit/xmc47_relax_kit.dts rename to boards/infineon/xmc47_relax_kit/xmc47_relax_kit.dts diff --git a/boards/boards_legacy/arm/xmc47_relax_kit/xmc47_relax_kit.yaml b/boards/infineon/xmc47_relax_kit/xmc47_relax_kit.yaml similarity index 100% rename from boards/boards_legacy/arm/xmc47_relax_kit/xmc47_relax_kit.yaml rename to boards/infineon/xmc47_relax_kit/xmc47_relax_kit.yaml diff --git a/boards/boards_legacy/arm/xmc47_relax_kit/xmc47_relax_kit_defconfig b/boards/infineon/xmc47_relax_kit/xmc47_relax_kit_defconfig similarity index 57% rename from boards/boards_legacy/arm/xmc47_relax_kit/xmc47_relax_kit_defconfig rename to boards/infineon/xmc47_relax_kit/xmc47_relax_kit_defconfig index 85522ce92bd..ce881b0d426 100644 --- a/boards/boards_legacy/arm/xmc47_relax_kit/xmc47_relax_kit_defconfig +++ b/boards/infineon/xmc47_relax_kit/xmc47_relax_kit_defconfig @@ -2,14 +2,10 @@ # # Copyright (c) 2023 Schlumberger -CONFIG_BOARD_XMC47_RELAX_KIT=y -CONFIG_SOC_SERIES_XMC_4XXX=y -CONFIG_SOC_XMC4700=y - -# enable uart driver +# Enable UART driver CONFIG_SERIAL=y -# enable console +# Enable console CONFIG_CONSOLE=y CONFIG_UART_CONSOLE=y CONFIG_USE_DT_CODE_PARTITION=y