Skip to content

Commit ffc451e

Browse files
mstasiaknordicrlubos
authored andcommitted
boards: nrf54ls05dk: introduce revision 0.1.0
Split current definition to support multiple revisions. Signed-off-by: Michał Stasiak <[email protected]>
1 parent b708336 commit ffc451e

File tree

6 files changed

+161
-55
lines changed

6 files changed

+161
-55
lines changed

boards/nordic/nrf54ls05dk/board.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ board:
99
default: "0.0.0"
1010
revisions:
1111
- name: "0.0.0"
12+
- name: "0.1.0"

boards/nordic/nrf54ls05dk/nrf54ls05dk_nrf54ls05b-common.dtsi

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -7,48 +7,6 @@
77
#include "nrf54ls05dk_nrf54ls05b-pinctrl.dtsi"
88

99
/ {
10-
leds {
11-
compatible = "gpio-leds";
12-
13-
led0: led_0 {
14-
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
15-
label = "Green LED 1";
16-
};
17-
18-
led1: led_1 {
19-
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
20-
label = "Green LED 2";
21-
};
22-
};
23-
24-
buttons {
25-
compatible = "gpio-keys";
26-
27-
button0: button_0 {
28-
gpios = <&gpio1 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
29-
label = "Push button 0";
30-
zephyr,code = <INPUT_KEY_0>;
31-
};
32-
33-
button1: button_1 {
34-
gpios = <&gpio1 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
35-
label = "Push button 1";
36-
zephyr,code = <INPUT_KEY_1>;
37-
};
38-
39-
button2: button_2 {
40-
gpios = <&gpio1 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
41-
label = "Push button 2";
42-
zephyr,code = <INPUT_KEY_2>;
43-
};
44-
45-
button3: button_3 {
46-
gpios = <&gpio0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
47-
label = "Push button 3";
48-
zephyr,code = <INPUT_KEY_3>;
49-
};
50-
};
51-
5210
pwmleds {
5311
compatible = "pwm-leds";
5412

@@ -58,13 +16,7 @@
5816
};
5917

6018
aliases {
61-
led0 = &led0;
62-
led1 = &led1;
6319
pwm-led0 = &pwm_led1;
64-
sw0 = &button0;
65-
sw1 = &button1;
66-
sw2 = &button2;
67-
sw3 = &button3;
6820
watchdog0 = &wdt30;
6921
};
7022
};
@@ -82,8 +34,3 @@
8234
pinctrl-1 = <&pwm20_sleep>;
8335
pinctrl-names = "default", "sleep";
8436
};
85-
86-
&hfpll {
87-
/* For now use 64 MHz clock for CPU and fast peripherals. */
88-
clock-frequency = <DT_FREQ_M(64)>;
89-
};
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include "nrf54ls05dk_nrf54ls05b-pinctrl.dtsi"
8+
9+
/ {
10+
leds {
11+
compatible = "gpio-leds";
12+
13+
led0: led_0 {
14+
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
15+
label = "Green LED 1";
16+
};
17+
18+
led1: led_1 {
19+
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
20+
label = "Green LED 2";
21+
};
22+
};
23+
24+
buttons {
25+
compatible = "gpio-keys";
26+
27+
button0: button_0 {
28+
gpios = <&gpio1 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
29+
label = "Push button 0";
30+
zephyr,code = <INPUT_KEY_0>;
31+
};
32+
33+
button1: button_1 {
34+
gpios = <&gpio1 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
35+
label = "Push button 1";
36+
zephyr,code = <INPUT_KEY_1>;
37+
};
38+
39+
button2: button_2 {
40+
gpios = <&gpio1 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
41+
label = "Push button 2";
42+
zephyr,code = <INPUT_KEY_2>;
43+
};
44+
45+
button3: button_3 {
46+
gpios = <&gpio0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
47+
label = "Push button 3";
48+
zephyr,code = <INPUT_KEY_3>;
49+
};
50+
};
51+
52+
aliases {
53+
led0 = &led0;
54+
led1 = &led1;
55+
sw0 = &button0;
56+
sw1 = &button1;
57+
sw2 = &button2;
58+
sw3 = &button3;
59+
};
60+
};
61+
62+
&hfpll {
63+
/* For now use 64 MHz clock for CPU and fast peripherals. */
64+
clock-frequency = <DT_FREQ_M(64)>;
65+
};

boards/nordic/nrf54ls05dk/nrf54ls05dk_nrf54ls05b_cpuapp.yaml renamed to boards/nordic/nrf54ls05dk/nrf54ls05dk_nrf54ls05b_cpuapp_0_0_0.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Copyright (c) 2025 Nordic Semiconductor ASA
22
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
33

4-
identifier: nrf54ls05dk/nrf54ls05b/cpuapp
5-
name: nRF54LS05-DK-nRF54LS05B-Application
4+
identifier: nrf54ls05dk@0.0.0/nrf54ls05b/cpuapp
5+
name: nRF54LS05-DK-nRF54LS05B-Application (rev. 0.0.0)
66
type: mcu
77
arch: arm
88
toolchain:
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include "nrf54ls05dk_nrf54ls05b-pinctrl.dtsi"
8+
9+
/ {
10+
leds {
11+
compatible = "gpio-leds";
12+
13+
led0: led_0 {
14+
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
15+
label = "Green LED 0";
16+
};
17+
18+
led1: led_1 {
19+
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
20+
label = "Green LED 1";
21+
};
22+
23+
led2: led_2 {
24+
gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
25+
label = "Green LED 2";
26+
};
27+
28+
led3: led_3 {
29+
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
30+
label = "Green LED 3";
31+
};
32+
};
33+
34+
buttons {
35+
compatible = "gpio-keys";
36+
37+
button0: button_0 {
38+
gpios = <&gpio1 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
39+
label = "Push button 0";
40+
zephyr,code = <INPUT_KEY_0>;
41+
};
42+
43+
button1: button_1 {
44+
gpios = <&gpio1 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
45+
label = "Push button 1";
46+
zephyr,code = <INPUT_KEY_1>;
47+
};
48+
49+
button2: button_2 {
50+
gpios = <&gpio1 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
51+
label = "Push button 2";
52+
zephyr,code = <INPUT_KEY_2>;
53+
};
54+
55+
button3: button_3 {
56+
gpios = <&gpio0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
57+
label = "Push button 3";
58+
zephyr,code = <INPUT_KEY_3>;
59+
};
60+
};
61+
62+
aliases {
63+
led0 = &led0;
64+
led1 = &led1;
65+
led2 = &led2;
66+
led3 = &led3;
67+
sw0 = &button0;
68+
sw1 = &button1;
69+
sw2 = &button2;
70+
sw3 = &button3;
71+
};
72+
};
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright (c) 2025 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
3+
4+
identifier: [email protected]/nrf54ls05b/cpuapp
5+
name: nRF54LS05-DK-nRF54LS05B-Application (rev. 0.1.0)
6+
type: mcu
7+
arch: arm
8+
toolchain:
9+
- gnuarmemb
10+
- zephyr
11+
sysbuild: true
12+
ram: 96
13+
flash: 508
14+
supported:
15+
- adc
16+
- counter
17+
- gpio
18+
- i2c
19+
- pwm
20+
- spi
21+
- watchdog

0 commit comments

Comments
 (0)