From b1b4dc069427884e80ca509565e4366196ee7b00 Mon Sep 17 00:00:00 2001 From: Bartosz Sokolski Date: Thu, 21 Mar 2024 10:00:31 +0100 Subject: [PATCH] boards: nrf54l15pdk_nrf54l15_cpuapp: add support for PDK 0.3.0 Add support for the PDK 0.3.0 Signed-off-by: Bartosz Sokolski --- boards/nordic/nrf54l15pdk/board.yml | 6 +++ .../nrf54l15pdk_nrf54l15_cpuapp_0_3_0.overlay | 38 +++++++++++++++++++ boards/nordic/nrf54l15pdk/revision.cmake | 9 ----- 3 files changed, 44 insertions(+), 9 deletions(-) create mode 100644 boards/nordic/nrf54l15pdk/nrf54l15pdk_nrf54l15_cpuapp_0_3_0.overlay delete mode 100644 boards/nordic/nrf54l15pdk/revision.cmake diff --git a/boards/nordic/nrf54l15pdk/board.yml b/boards/nordic/nrf54l15pdk/board.yml index b33ecf7c4f..3b0fc44738 100644 --- a/boards/nordic/nrf54l15pdk/board.yml +++ b/boards/nordic/nrf54l15pdk/board.yml @@ -3,3 +3,9 @@ board: vendor: nordic socs: - name: nrf54l15 + revision: + format: major.minor.patch + default: "0.2.1" + revisions: + - name: "0.2.1" + - name: "0.3.0" diff --git a/boards/nordic/nrf54l15pdk/nrf54l15pdk_nrf54l15_cpuapp_0_3_0.overlay b/boards/nordic/nrf54l15pdk/nrf54l15pdk_nrf54l15_cpuapp_0_3_0.overlay new file mode 100644 index 0000000000..d8262dde99 --- /dev/null +++ b/boards/nordic/nrf54l15pdk/nrf54l15pdk_nrf54l15_cpuapp_0_3_0.overlay @@ -0,0 +1,38 @@ +/* + * Copyright (c) 2024 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +&led0 { + gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>; +}; + +&led1 { + gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; +}; + +&led2 { + gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>; +}; + +&led3 { + gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; +}; + +&button0 { + gpios = <&gpio1 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; +}; + +&button1 { + gpios = <&gpio1 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; +}; + +&button2 { + gpios = <&gpio1 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; +}; + +&button3 { + gpios = <&gpio0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; +}; diff --git a/boards/nordic/nrf54l15pdk/revision.cmake b/boards/nordic/nrf54l15pdk/revision.cmake deleted file mode 100644 index 4fe5b260db..0000000000 --- a/boards/nordic/nrf54l15pdk/revision.cmake +++ /dev/null @@ -1,9 +0,0 @@ -# -# Copyright (c) 2024 Nordic Semiconductor ASA -# -# SPDX-License-Identifier: Apache-2.0 -# - -board_check_revision(FORMAT MAJOR.MINOR.PATCH - VALID_REVISIONS 0.2.0 - DEFAULT_REVISION 0.2.0)