forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnrf9160dk_nrf52840.overlay
More file actions
67 lines (56 loc) · 1.17 KB
/
Copy pathnrf9160dk_nrf52840.overlay
File metadata and controls
67 lines (56 loc) · 1.17 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
/*
* Copyright (c) 2022 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/
#include <nrf52840/nrf9160dk_nrf52840_reset_on_if5.dtsi>
#include <nrf52840/nrf9160dk_uart1_on_if0_3.dtsi>
&pinctrl {
uart1_default_alt: uart1_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 17)>,
<NRF_PSEL(UART_RX, 0, 20)>;
};
};
uart1_sleep_alt: uart1_sleep_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 17)>;
low-power-enable;
bias-pull-up;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 20)>;
low-power-enable;
};
};
};
&uart1 {
current-speed = <1000000>;
pinctrl-0 = <&uart1_default_alt>;
pinctrl-1 = <&uart1_sleep_alt>;
pinctrl-names = "default", "sleep";
lpuart: nrf-sw-lpuart {
compatible = "nordic,nrf-sw-lpuart";
status = "okay";
req-pin = <15>; /* <&interface_to_nrf9160 2 0>; */
rdy-pin = <22>; /* <&interface_to_nrf9160 3 0>; */
};
};
&gpiote {
interrupts = <6 NRF_DEFAULT_IRQ_PRIORITY>;
};
/* Disabling uart rx pin to get low power */
&uart0 {
disable-rx;
};
&timer3 {
status = "okay";
interrupts = <26 0>;
};
/ {
busy-sim {
compatible = "vnd,busy-sim";
status = "okay";
counter = <&timer3>;
};
};