2021-05-06 07:36:59 +08:00
|
|
|
/*
|
2022-07-02 03:32:07 +08:00
|
|
|
* Copyright (c) 2021-2022 Actinius
|
2021-05-06 07:36:59 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2022-03-17 01:05:27 +08:00
|
|
|
#include "actinius_icarus_som_common-pinctrl.dtsi"
|
2021-05-06 07:36:59 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Actinius Icarus SoM";
|
|
|
|
compatible = "actinius,icarus_som";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &uart0;
|
|
|
|
zephyr,shell-uart = &uart0;
|
|
|
|
zephyr,uart-mcumgr = &uart0;
|
|
|
|
};
|
2022-03-16 01:25:04 +08:00
|
|
|
|
2022-07-19 16:33:14 +08:00
|
|
|
aliases {
|
|
|
|
watchdog0 = &wdt0;
|
2022-07-23 19:48:29 +08:00
|
|
|
accel0 = &lis2dh12_accel;
|
2022-07-19 16:33:14 +08:00
|
|
|
};
|
|
|
|
|
2022-03-16 01:25:04 +08:00
|
|
|
sim_select: sim-select {
|
2022-08-12 01:30:37 +08:00
|
|
|
compatible = "actinius-sim-select";
|
2022-07-02 03:06:40 +08:00
|
|
|
sim-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
2022-03-16 01:25:04 +08:00
|
|
|
sim = "esim";
|
|
|
|
};
|
2021-05-06 07:36:59 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&adc {
|
|
|
|
status ="okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpiote {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
current-speed = <115200>;
|
2022-03-17 01:05:27 +08:00
|
|
|
pinctrl-0 = <&uart0_default>;
|
|
|
|
pinctrl-1 = <&uart0_sleep>;
|
|
|
|
pinctrl-names = "default", "sleep";
|
2021-05-06 07:36:59 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c2 {
|
|
|
|
compatible = "nordic,nrf-twim";
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
|
|
|
2022-03-17 01:05:27 +08:00
|
|
|
pinctrl-0 = <&i2c2_default>;
|
|
|
|
pinctrl-1 = <&i2c2_sleep>;
|
|
|
|
pinctrl-names = "default", "sleep";
|
2022-07-23 19:48:29 +08:00
|
|
|
lis2dh12_accel: lis2dh12-accel@19 {
|
2021-05-06 07:36:59 +08:00
|
|
|
compatible = "st,lis2dh12", "st,lis2dh";
|
|
|
|
reg = <0x19>;
|
2022-07-02 03:12:12 +08:00
|
|
|
irq-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>,
|
|
|
|
<&gpio0 28 GPIO_ACTIVE_HIGH>;
|
2021-05-06 07:36:59 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&flash0 {
|
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
boot_partition: partition@0 {
|
|
|
|
label = "mcuboot";
|
|
|
|
reg = <0x00000000 0x10000>;
|
|
|
|
};
|
|
|
|
slot0_partition: partition@10000 {
|
|
|
|
label = "image-0";
|
|
|
|
};
|
|
|
|
slot0_ns_partition: partition@50000 {
|
|
|
|
label = "image-0-nonsecure";
|
|
|
|
};
|
|
|
|
slot1_partition: partition@80000 {
|
|
|
|
label = "image-1";
|
|
|
|
};
|
|
|
|
slot1_ns_partition: partition@c0000 {
|
|
|
|
label = "image-1-nonsecure";
|
|
|
|
};
|
|
|
|
scratch_partition: partition@f0000 {
|
|
|
|
label = "image-scratch";
|
|
|
|
reg = <0x000f0000 0xa000>;
|
|
|
|
};
|
|
|
|
storage_partition: partition@fa000 {
|
|
|
|
label = "storage";
|
|
|
|
reg = <0x000fa000 0x00006000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/ {
|
|
|
|
|
|
|
|
reserved-memory {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
sram0_s: image_s@20000000 {
|
|
|
|
/* Secure image memory */
|
|
|
|
};
|
|
|
|
|
2022-07-02 03:32:07 +08:00
|
|
|
sram0_modem: image_modem@20016000 {
|
|
|
|
/* Modem (shared) memory */
|
2021-05-06 07:36:59 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
sram0_ns: image_ns@20020000 {
|
|
|
|
/* Non-Secure image memory */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Include partition configuration file */
|
2023-05-24 00:51:03 +08:00
|
|
|
#include "actinius_icarus_som_partition_conf.dtsi"
|