From ad30c940eec71a1cf2b70781348f4ba8111cfde8 Mon Sep 17 00:00:00 2001 From: David Leach Date: Tue, 20 Feb 2024 10:26:04 -0600 Subject: [PATCH] boards: nxp: convert lpcxpresso55s16 to hwmv2 Convert lpcxpresso55s16 Signed-off-by: David Leach --- .../arm => nxp}/lpcxpresso55s16/Kconfig.defconfig | 3 --- .../lpcxpresso55s16/Kconfig.lpcxpresso55s16} | 7 +++---- .../arm => nxp}/lpcxpresso55s16/board.cmake | 0 boards/nxp/lpcxpresso55s16/board.yml | 5 +++++ .../arm => nxp}/lpcxpresso55s16/doc/index.rst | 0 .../lpcxpresso55s16/doc/lpcxpresso55S16.jpg | Bin .../lpcxpresso55s16/lpcxpresso55s16-pinctrl.dtsi | 0 .../arm => nxp}/lpcxpresso55s16/lpcxpresso55s16.dts | 0 .../lpcxpresso55s16/lpcxpresso55s16.yaml | 0 .../lpcxpresso55s16/lpcxpresso55s16_common.dtsi | 0 .../lpcxpresso55s16/lpcxpresso55s16_defconfig | 3 --- .../arm => nxp}/lpcxpresso55s16/pre_dt_board.cmake | 0 12 files changed, 8 insertions(+), 10 deletions(-) rename boards/{boards_legacy/arm => nxp}/lpcxpresso55s16/Kconfig.defconfig (91%) rename boards/{boards_legacy/arm/lpcxpresso55s16/Kconfig.board => nxp/lpcxpresso55s16/Kconfig.lpcxpresso55s16} (66%) rename boards/{boards_legacy/arm => nxp}/lpcxpresso55s16/board.cmake (100%) create mode 100644 boards/nxp/lpcxpresso55s16/board.yml rename boards/{boards_legacy/arm => nxp}/lpcxpresso55s16/doc/index.rst (100%) rename boards/{boards_legacy/arm => nxp}/lpcxpresso55s16/doc/lpcxpresso55S16.jpg (100%) rename boards/{boards_legacy/arm => nxp}/lpcxpresso55s16/lpcxpresso55s16-pinctrl.dtsi (100%) rename boards/{boards_legacy/arm => nxp}/lpcxpresso55s16/lpcxpresso55s16.dts (100%) rename boards/{boards_legacy/arm => nxp}/lpcxpresso55s16/lpcxpresso55s16.yaml (100%) rename boards/{boards_legacy/arm => nxp}/lpcxpresso55s16/lpcxpresso55s16_common.dtsi (100%) rename boards/{boards_legacy/arm => nxp}/lpcxpresso55s16/lpcxpresso55s16_defconfig (76%) rename boards/{boards_legacy/arm => nxp}/lpcxpresso55s16/pre_dt_board.cmake (100%) diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/Kconfig.defconfig b/boards/nxp/lpcxpresso55s16/Kconfig.defconfig similarity index 91% rename from boards/boards_legacy/arm/lpcxpresso55s16/Kconfig.defconfig rename to boards/nxp/lpcxpresso55s16/Kconfig.defconfig index 2979ac8808d..5b29155063a 100644 --- a/boards/boards_legacy/arm/lpcxpresso55s16/Kconfig.defconfig +++ b/boards/nxp/lpcxpresso55s16/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_LPCXPRESSO55S16 -config BOARD - default "lpcxpresso55S16" - config FXOS8700_DRDY_INT1 default y depends on FXOS8700_TRIGGER diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/Kconfig.board b/boards/nxp/lpcxpresso55s16/Kconfig.lpcxpresso55s16 similarity index 66% rename from boards/boards_legacy/arm/lpcxpresso55s16/Kconfig.board rename to boards/nxp/lpcxpresso55s16/Kconfig.lpcxpresso55s16 index 0a39989427f..38928131a5e 100644 --- a/boards/boards_legacy/arm/lpcxpresso55s16/Kconfig.board +++ b/boards/nxp/lpcxpresso55s16/Kconfig.lpcxpresso55s16 @@ -1,9 +1,8 @@ -# LPCXpresso55S16 board - # Copyright (c) 2020 Henrik Brix Andersen +# Copyright 2024 NXP +# # SPDX-License-Identifier: Apache-2.0 config BOARD_LPCXPRESSO55S16 - bool "NXP LPCXPRESSO-55S16" - depends on SOC_SERIES_LPC55XXX + select SOC_LPC55S16 select SOC_PART_NUMBER_LPC55S16JBD100 diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/board.cmake b/boards/nxp/lpcxpresso55s16/board.cmake similarity index 100% rename from boards/boards_legacy/arm/lpcxpresso55s16/board.cmake rename to boards/nxp/lpcxpresso55s16/board.cmake diff --git a/boards/nxp/lpcxpresso55s16/board.yml b/boards/nxp/lpcxpresso55s16/board.yml new file mode 100644 index 00000000000..5b4c627af1c --- /dev/null +++ b/boards/nxp/lpcxpresso55s16/board.yml @@ -0,0 +1,5 @@ +board: + name: lpcxpresso55s16 + vendor: nxp + socs: + - name: lpc55s16 diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/doc/index.rst b/boards/nxp/lpcxpresso55s16/doc/index.rst similarity index 100% rename from boards/boards_legacy/arm/lpcxpresso55s16/doc/index.rst rename to boards/nxp/lpcxpresso55s16/doc/index.rst diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/doc/lpcxpresso55S16.jpg b/boards/nxp/lpcxpresso55s16/doc/lpcxpresso55S16.jpg similarity index 100% rename from boards/boards_legacy/arm/lpcxpresso55s16/doc/lpcxpresso55S16.jpg rename to boards/nxp/lpcxpresso55s16/doc/lpcxpresso55S16.jpg diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16-pinctrl.dtsi b/boards/nxp/lpcxpresso55s16/lpcxpresso55s16-pinctrl.dtsi similarity index 100% rename from boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16-pinctrl.dtsi rename to boards/nxp/lpcxpresso55s16/lpcxpresso55s16-pinctrl.dtsi diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16.dts b/boards/nxp/lpcxpresso55s16/lpcxpresso55s16.dts similarity index 100% rename from boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16.dts rename to boards/nxp/lpcxpresso55s16/lpcxpresso55s16.dts diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16.yaml b/boards/nxp/lpcxpresso55s16/lpcxpresso55s16.yaml similarity index 100% rename from boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16.yaml rename to boards/nxp/lpcxpresso55s16/lpcxpresso55s16.yaml diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16_common.dtsi b/boards/nxp/lpcxpresso55s16/lpcxpresso55s16_common.dtsi similarity index 100% rename from boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16_common.dtsi rename to boards/nxp/lpcxpresso55s16/lpcxpresso55s16_common.dtsi diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16_defconfig b/boards/nxp/lpcxpresso55s16/lpcxpresso55s16_defconfig similarity index 76% rename from boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16_defconfig rename to boards/nxp/lpcxpresso55s16/lpcxpresso55s16_defconfig index 44af7c468e1..e327fa910d7 100644 --- a/boards/boards_legacy/arm/lpcxpresso55s16/lpcxpresso55s16_defconfig +++ b/boards/nxp/lpcxpresso55s16/lpcxpresso55s16_defconfig @@ -4,9 +4,6 @@ # SPDX-License-Identifier: Apache-2.0 # -CONFIG_SOC_SERIES_LPC55XXX=y -CONFIG_SOC_LPC55S16=y -CONFIG_BOARD_LPCXPRESSO55S16=y CONFIG_CONSOLE=y CONFIG_UART_CONSOLE=y CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/lpcxpresso55s16/pre_dt_board.cmake b/boards/nxp/lpcxpresso55s16/pre_dt_board.cmake similarity index 100% rename from boards/boards_legacy/arm/lpcxpresso55s16/pre_dt_board.cmake rename to boards/nxp/lpcxpresso55s16/pre_dt_board.cmake