-
Notifications
You must be signed in to change notification settings - Fork 1
/
mikroe-no-ui.overlay
86 lines (73 loc) · 1.72 KB
/
mikroe-no-ui.overlay
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
79
80
81
82
83
84
85
/*
* Copyright (c) 2024 Achim Kraus CloudCoap.net
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0 or Apache-2.0
*/
/*
* Usage:
*
* west build -d build_nrf9160dk_nrf9160_ns -b nrf9160dk_nrf9160_ns --pristine -- \
* -DOVERLAY_CONFIG="60min0-prj.conf;mikroe-prj.conf" -DDTC_OVERLAY_FILE="mikroe-no-ui.overlay"
*/
#include "boards/nrf9160dk_nrf9160_ns.overlay"
&spi3 {
status = "disabled";
/delete-property/ cs-gpios;
/delete-node/ mx25r6435f@1;
};
&pinctrl {
i2c2_default: i2c2_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 11)>,
<NRF_PSEL(TWIM_SCL, 0, 12)>;
};
};
i2c2_sleep: i2c2_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 11)>,
<NRF_PSEL(TWIM_SCL, 0, 12)>;
low-power-enable;
};
};
};
&i2c2 {
clock-frequency = <I2C_BITRATE_FAST>;
};
/ {
leds {
/delete-node/ led_0;
/delete-node/ led_1;
/delete-node/ led_2;
/delete-node/ led_3;
};
buttons {
/delete-node/ button_0;
/delete-node/ button_1;
/delete-node/ button_2;
/delete-node/ button_3;
};
aliases {
/delete-property/ spi-flash0;
/delete-property/ pwm-led0;
/delete-property/ led0;
/delete-property/ led1;
/delete-property/ led2;
/delete-property/ led3;
/delete-property/ sw0;
/delete-property/ sw1;
/delete-property/ sw2;
/delete-property/ sw3;
/delete-property/ out1;
/delete-property/ out2;
/delete-property/ bootloader-led0;
/delete-property/ mcuboot-button0;
/delete-property/ mcuboot-led0;
};
};