1/*
2 * Copyright (c) 2021-2022 Actinius
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#include "actinius_icarus_som_common-pinctrl.dtsi"
7
8/ {
9	model = "Actinius Icarus SoM";
10	compatible = "actinius,icarus_som";
11
12	chosen {
13		zephyr,console = &uart0;
14		zephyr,shell-uart = &uart0;
15		zephyr,uart-mcumgr = &uart0;
16	};
17
18	aliases {
19		watchdog0 = &wdt0;
20		accel0 = &lis2dh12_accel;
21	};
22
23	sim_select: sim-select {
24		compatible = "actinius-sim-select";
25		sim-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
26		sim = "esim";
27	};
28};
29
30&adc {
31	status ="okay";
32};
33
34&gpiote {
35	status = "okay";
36};
37
38&gpio0 {
39	status = "okay";
40};
41
42&uart0 {
43	status = "okay";
44
45	current-speed = <115200>;
46	pinctrl-0 = <&uart0_default>;
47	pinctrl-1 = <&uart0_sleep>;
48	pinctrl-names = "default", "sleep";
49};
50
51&i2c2 {
52	compatible = "nordic,nrf-twim";
53	status = "okay";
54
55	clock-frequency = <I2C_BITRATE_FAST>;
56
57	pinctrl-0 = <&i2c2_default>;
58	pinctrl-1 = <&i2c2_sleep>;
59	pinctrl-names = "default", "sleep";
60	lis2dh12_accel: lis2dh12-accel@19 {
61		compatible = "st,lis2dh12", "st,lis2dh";
62		reg = <0x19>;
63		irq-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>,
64			  <&gpio0 28 GPIO_ACTIVE_HIGH>;
65	};
66};
67
68/* Include default memory partition configuration file */
69#include <common/nordic/nrf91xx_partition.dtsi>
70