70 lines
1.2 KiB
Plaintext
70 lines
1.2 KiB
Plaintext
/*
|
|
* Copyright (c) 2021-2022 Actinius
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#include "actinius_icarus_som_common-pinctrl.dtsi"
|
|
|
|
/ {
|
|
model = "Actinius Icarus SoM";
|
|
compatible = "actinius,icarus_som";
|
|
|
|
chosen {
|
|
zephyr,console = &uart0;
|
|
zephyr,shell-uart = &uart0;
|
|
zephyr,uart-mcumgr = &uart0;
|
|
};
|
|
|
|
aliases {
|
|
watchdog0 = &wdt0;
|
|
accel0 = &lis2dh12_accel;
|
|
};
|
|
|
|
sim_select: sim-select {
|
|
compatible = "actinius-sim-select";
|
|
sim-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
|
sim = "esim";
|
|
};
|
|
};
|
|
|
|
&adc {
|
|
status ="okay";
|
|
};
|
|
|
|
&gpiote {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&uart0_default>;
|
|
pinctrl-1 = <&uart0_sleep>;
|
|
pinctrl-names = "default", "sleep";
|
|
};
|
|
|
|
&i2c2 {
|
|
compatible = "nordic,nrf-twim";
|
|
status = "okay";
|
|
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
|
|
pinctrl-0 = <&i2c2_default>;
|
|
pinctrl-1 = <&i2c2_sleep>;
|
|
pinctrl-names = "default", "sleep";
|
|
lis2dh12_accel: lis2dh12-accel@19 {
|
|
compatible = "st,lis2dh12", "st,lis2dh";
|
|
reg = <0x19>;
|
|
irq-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>,
|
|
<&gpio0 28 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
/* Include default memory partition configuration file */
|
|
#include <common/nordic/nrf91xx_partition.dtsi>
|