-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathnrf54l15dk_nrf54l15_cpuapp.overlay
More file actions
78 lines (67 loc) · 1.46 KB
/
nrf54l15dk_nrf54l15_cpuapp.overlay
File metadata and controls
78 lines (67 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
* Copyright (c) 2025 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/
/{
/* Disable buttons to avoid collision with interrupt and SCK pins for NFC tag reader. */
/delete-node/ buttons;
aliases {
/delete-property/ sw0;
/delete-property/ sw1;
/delete-property/ sw2;
/delete-property/ sw3;
};
};
&pinctrl {
spi21_default: spi21_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 13)>,
<NRF_PSEL(SPIM_MOSI, 1, 11)>,
<NRF_PSEL(SPIM_MISO, 1, 12)>;
};
};
spi21_sleep: spi21_sleep {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 13)>,
<NRF_PSEL(SPIM_MOSI, 1, 11)>,
<NRF_PSEL(SPIM_MISO, 1, 12)>;
low-power-enable;
};
};
};
&spi21 {
compatible = "nordic,nrf-spim";
status = "okay";
cs-gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&spi21_default>;
pinctrl-1 = <&spi21_sleep>;
pinctrl-names = "default", "sleep";
nucleo_nfc@0 {
compatible = "x-nucleo-nfc";
reg = <0>;
spi-max-frequency = <DT_FREQ_M(4)>;
irq-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
};
};
/ {
nfc_power_switch: nfc_power_switch {
status = "okay";
compatible = "nfc-power-control";
gpios = <&gpio2 6 ( GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN )>;
};
access_decision_indicator: access_decision_indicator{
status = "okay";
compatible = "access-decision-indicator";
gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
};
};
&gpio0 {
status = "okay";
};
&gpio1 {
status = "okay";
};
&gpio2 {
status = "okay";
};