File tree Expand file tree Collapse file tree 4 files changed +30
-36
lines changed
boards/nordic/nrf54lv10dk Expand file tree Collapse file tree 4 files changed +30
-36
lines changed Original file line number Diff line number Diff line change 27
27
status = "okay";
28
28
};
29
29
30
- &hfpll {
31
- /* For now use 64 MHz clock for CPU and fast peripherals. */
32
- clock-frequency = <DT_FREQ_M(64)>;
33
- };
34
-
35
30
&lfxo {
36
31
load-capacitors = "internal";
37
32
load-capacitance-femtofarad = <17000>;
Original file line number Diff line number Diff line change 11
11
compatible = "gpio-leds";
12
12
13
13
led0: led_0 {
14
- gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
15
- label = "Green LED 1";
14
+ gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
16
15
};
17
16
18
17
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>;
21
27
};
22
28
};
23
29
82
88
pinctrl-1 = <&uart30_sleep>;
83
89
pinctrl-names = "default", "sleep";
84
90
};
85
-
86
- &hfpll {
87
- /* For now use 64 MHz clock for CPU and fast peripherals. */
88
- clock-frequency = <DT_FREQ_M(64)>;
89
- };
Original file line number Diff line number Diff line change 9
9
compatible = "gpio-leds";
10
10
11
11
led0: led_0 {
12
- gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
12
+ gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
13
+ label = "Green LED 1";
13
14
};
14
15
15
16
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";
25
19
};
26
20
};
27
21
30
24
31
25
button0: button_0 {
32
26
gpios = <&gpio1 15 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
27
+ label = "Push button 0";
28
+ zephyr,code = <INPUT_KEY_0>;
33
29
};
34
30
35
31
button1: button_1 {
36
32
gpios = <&gpio1 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
33
+ label = "Push button 1";
34
+ zephyr,code = <INPUT_KEY_1>;
37
35
};
38
36
39
37
button2: button_2 {
40
38
gpios = <&gpio1 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
39
+ label = "Push button 2";
40
+ zephyr,code = <INPUT_KEY_2>;
41
41
};
42
42
43
43
button3: button_3 {
44
44
gpios = <&gpio0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
45
+ label = "Push button 3";
46
+ zephyr,code = <INPUT_KEY_3>;
45
47
};
46
48
};
47
49
};
48
50
49
51
&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)>;
51
54
};
Original file line number Diff line number Diff line change 9
9
compatible = "gpio-leds";
10
10
11
11
led0: led_0 {
12
- gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
12
+ gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
13
+ label = "Green LED 1";
13
14
};
14
15
15
16
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";
25
19
};
26
20
};
27
21
47
41
};
48
42
49
43
&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)>;
51
46
};
You can’t perform that action at this time.
0 commit comments