1/*
2 * Copyright (c) 2024 Norik Systems
3 * SPDX-License-Identifier: Apache-2.0
4 */
5#include "octopus_som_common-pinctrl.dtsi"
6
7/ {
8	model = "Norik Octopus SoM";
9	compatible = "norik,octopus-som";
10
11	chosen {
12		zephyr,console = &uart0;
13		zephyr,shell-uart = &uart0;
14		zephyr,uart-mcumgr = &uart0;
15	};
16
17	leds {
18		compatible = "gpio-leds";
19
20		led0: led_0 {
21			gpios = <&gpio0 7 0>;
22			label = "Green LED 1";
23		};
24
25	};
26
27	pwmleds {
28		compatible = "pwm-leds";
29
30		pwm_led0: pwm_led_0 {
31			pwms = <&pwm0 0 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
32		};
33	};
34
35	sim_select: sim_select {
36		compatible = "norik,sim_select";
37		sim-gpios= <&gpio0 25 GPIO_ACTIVE_HIGH>;
38		sim = "external";
39	};
40
41	/* These aliases are provided for compatibility with samples */
42	aliases {
43		led0 = &led0;
44		pwm-led0 = &pwm_led0;
45		watchdog0 = &wdt0;
46		accel0 = &adxl362;
47	};
48};
49
50&adc {
51	status = "okay";
52};
53
54&gpiote {
55	status = "okay";
56};
57
58&gpio0 {
59	status = "okay";
60};
61
62&uart0 {
63	status = "okay";
64	current-speed = <115200>;
65	pinctrl-0 = <&uart0_default>;
66	pinctrl-1 = <&uart0_sleep>;
67	pinctrl-names = "default", "sleep";
68};
69
70&pwm0 {
71	status = "okay";
72	pinctrl-0 = <&pwm0_default>;
73	pinctrl-1 = <&pwm0_sleep>;
74	pinctrl-names = "default", "sleep";
75};
76
77&spi3 {
78	compatible = "nordic,nrf-spim";
79	status = "okay";
80	cs-gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
81	pinctrl-0 = <&spi3_default>;
82	pinctrl-1 = <&spi3_sleep>;
83	pinctrl-names = "default", "sleep";
84
85	adxl362: adxl362@0 {
86		compatible = "adi,adxl362";
87		spi-max-frequency = <8000000>;
88		reg = <0>;
89		int1-gpios = <&gpio0 12 0>;
90	};
91};
92
93/* Include default memory partition configuration file */
94#include <common/nordic/nrf91xx_partition.dtsi>
95