-
Notifications
You must be signed in to change notification settings - Fork 1
/
thingy91_nrf9160_ns.overlay
69 lines (57 loc) · 1.6 KB
/
thingy91_nrf9160_ns.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
/*
* Copyright (c) 2022 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
*/
/ {
ins {
compatible = "gpio-keys";
rx0: uart0_rx {
gpios = <&gpio0 19 0>;
};
};
/*
* Map the devices to the aliases of the application.
*/
aliases {
/* alias for sensor with SENSOR_CHAN_AMBIENT_TEMP channel */
temperature-sensor = &bme680;
/* alias for sensor with SENSOR_CHAN_HUMIDITY channel */
humidity-sensor = &bme680;
/* alias for sensor with SENSOR_CHAN_PRESS channel */
pressure-sensor = &bme680;
/* alias for sensor with SENSOR_CHAN_GAS_RES channel */
gas-sensor = &bme680;
/* alias for BME680 sensor to be used with Bosch BSEC library (IAQ Index Air Quality) */
environment-sensor = &bme680;
/* alias for sensor with SENSOR_CHAN_ACCEL_XYZ channels */
accelerometer-sensor = &adxl362;
/* alias for application eeprom */
// appl-storage-eeprom = &eeprom0;
/* alias for watchdog */
watchdog0 = &wdt0;
pmic = &pmic0;
};
};
&i2c2 {
eeprom0: eeprom@50 {
/* 24CW160 (16 kbit eeprom) */
/* 0x8000 config register not accessible! If required, set size to 64K */
compatible = "atmel,at24";
reg = <0x50>;
size = <DT_SIZE_K(2)>;
pagesize = <32>;
address-width = <16>;
timeout = <5>;
status = "disabled";
};
pmic0: pmic@46 {};
};
sensor_i2c: &i2c2 {};