forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnrf9160dk_nrf9160.overlay
More file actions
60 lines (52 loc) · 1.14 KB
/
Copy pathnrf9160dk_nrf9160.overlay
File metadata and controls
60 lines (52 loc) · 1.14 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
/*
* Copyright (c) 2022 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/
#include <nrf9160/nrf9160dk_nrf52840_reset_on_if5.dtsi>
&gpiote {
interrupts = <13 NRF_DEFAULT_IRQ_PRIORITY>;
};
&uart2 {
current-speed = <1000000>;
status = "okay";
pinctrl-0 = <&uart2_default_alt>; /* <&interface_to_nrf52840 1 0> */
pinctrl-1 = <&uart2_sleep_alt>; /* <&interface_to_nrf52840 0 0> */
/delete-property/ hw-flow-control;
lpuart: nrf-sw-lpuart {
compatible = "nordic,nrf-sw-lpuart";
status = "okay";
req-pin = <21>; /* <&interface_to_nrf52840 3 0>; */
rdy-pin = <19>; /* <&interface_to_nrf52840 2 0>; */
};
};
&pinctrl {
uart2_default_alt: uart2_default_alt {
group1 {
psels = <NRF_PSEL(UART_RX, 0, 17)>,
<NRF_PSEL(UART_TX, 0, 18)>;
};
};
uart2_sleep_alt: uart2_sleep_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 18)>;
low-power-enable;
bias-pull-up;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 17)>;
low-power-enable;
};
};
};
&timer0 {
status = "okay";
interrupts = <15 0>;
};
/ {
busy-sim {
compatible = "vnd,busy-sim";
status = "okay";
counter = <&timer0>;
};
};