Skip to content

Commit 74ed497

Browse files
committed
boards: nordic: nrf54lv10dk: update default pin and clock configuration
Make defaults for LEDs, GPIOs and hsfll to match DK (0.2.0). Use dedicated overlay for 0.0.0 revision. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent a4b911b commit 74ed497

File tree

4 files changed

+30
-36
lines changed

4 files changed

+30
-36
lines changed

boards/nordic/nrf54lv10dk/nrf54lv10a_cpuapp_common.dtsi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@
2727
status = "okay";
2828
};
2929

30-
&hfpll {
31-
/* For now use 64 MHz clock for CPU and fast peripherals. */
32-
clock-frequency = <DT_FREQ_M(64)>;
33-
};
34-
3530
&lfxo {
3631
load-capacitors = "internal";
3732
load-capacitance-femtofarad = <17000>;

boards/nordic/nrf54lv10dk/nrf54lv10dk_nrf54lv10a-common.dtsi

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@
1111
compatible = "gpio-leds";
1212

1313
led0: led_0 {
14-
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
15-
label = "Green LED 1";
14+
gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
1615
};
1716

1817
led1: led_1 {
19-
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
20-
label = "Green LED 2";
18+
gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
19+
};
20+
21+
led2: led_2 {
22+
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
23+
};
24+
25+
led3: led_3 {
26+
gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
2127
};
2228
};
2329

@@ -82,8 +88,3 @@
8288
pinctrl-1 = <&uart30_sleep>;
8389
pinctrl-names = "default", "sleep";
8490
};
85-
86-
&hfpll {
87-
/* For now use 64 MHz clock for CPU and fast peripherals. */
88-
clock-frequency = <DT_FREQ_M(64)>;
89-
};

boards/nordic/nrf54lv10dk/nrf54lv10dk_nrf54lv10a_cpuflpr_0_2_0.overlay renamed to boards/nordic/nrf54lv10dk/nrf54lv10dk_nrf54lv10a_cpuapp_0_0_0.overlay

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,13 @@
99
compatible = "gpio-leds";
1010

1111
led0: led_0 {
12-
gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
12+
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
13+
label = "Green LED 1";
1314
};
1415

1516
led1: led_1 {
16-
gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
17-
};
18-
19-
led2: led_2 {
20-
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
21-
};
22-
23-
led3: led_3 {
24-
gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
17+
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
18+
label = "Green LED 2";
2519
};
2620
};
2721

@@ -30,22 +24,31 @@
3024

3125
button0: button_0 {
3226
gpios = <&gpio1 15 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
27+
label = "Push button 0";
28+
zephyr,code = <INPUT_KEY_0>;
3329
};
3430

3531
button1: button_1 {
3632
gpios = <&gpio1 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
33+
label = "Push button 1";
34+
zephyr,code = <INPUT_KEY_1>;
3735
};
3836

3937
button2: button_2 {
4038
gpios = <&gpio1 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
39+
label = "Push button 2";
40+
zephyr,code = <INPUT_KEY_2>;
4141
};
4242

4343
button3: button_3 {
4444
gpios = <&gpio0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
45+
label = "Push button 3";
46+
zephyr,code = <INPUT_KEY_3>;
4547
};
4648
};
4749
};
4850

4951
&hfpll {
50-
clock-frequency = <DT_FREQ_M(128)>;
52+
/* For now use 64 MHz clock for CPU and fast peripherals. */
53+
clock-frequency = <DT_FREQ_M(64)>;
5154
};

boards/nordic/nrf54lv10dk/nrf54lv10dk_nrf54lv10a_cpuapp_0_2_0.overlay renamed to boards/nordic/nrf54lv10dk/nrf54lv10dk_nrf54lv10a_cpuflpr_0_0_0.overlay

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,13 @@
99
compatible = "gpio-leds";
1010

1111
led0: led_0 {
12-
gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
12+
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
13+
label = "Green LED 1";
1314
};
1415

1516
led1: led_1 {
16-
gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
17-
};
18-
19-
led2: led_2 {
20-
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
21-
};
22-
23-
led3: led_3 {
24-
gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
17+
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
18+
label = "Green LED 2";
2519
};
2620
};
2721

@@ -47,5 +41,6 @@
4741
};
4842

4943
&hfpll {
50-
clock-frequency = <DT_FREQ_M(128)>;
44+
/* For now use 64 MHz clock for CPU and fast peripherals. */
45+
clock-frequency = <DT_FREQ_M(64)>;
5146
};

0 commit comments

Comments
 (0)