-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathnrf52840dk_nrf52840.overlay
More file actions
68 lines (59 loc) · 1.23 KB
/
nrf52840dk_nrf52840.overlay
File metadata and controls
68 lines (59 loc) · 1.23 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
/*
* Copyright (c) 2025 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/
&pinctrl {
spi0_default_alt: spi0_default_alt {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>,
<NRF_PSEL(SPIM_MISO, 1, 14)>;
};
};
spi0_sleep_alt: spi0_sleep_alt {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>,
<NRF_PSEL(SPIM_MISO, 1, 14)>;
low-power-enable;
};
};
};
&spi0 {
compatible = "nordic,nrf-spi";
status = "okay";
cs-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&spi0_default_alt>;
pinctrl-1 = <&spi0_sleep_alt>;
pinctrl-names = "default", "sleep";
nucleo_nfc@0 {
compatible = "x-nucleo-nfc";
reg = <0>;
spi-max-frequency = <DT_FREQ_M(4)>;
irq-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 10 (GPIO_ACTIVE_LOW | GPIO_PULL_DOWN)>;
};
};
&spi1 {
status = "disabled";
};
&spi2 {
status = "disabled";
};
&spi3 {
status = "disabled";
};
/ {
psa_rng: psa-rng {
compatible = "zephyr,psa-crypto-rng";
status = "okay";
};
};
/ {
access_decision_indicator: access_decision_indicator{
status = "okay";
compatible = "access-decision-indicator";
gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
};
};