1/*
2 * Copyright (c) 2024 DPTechnics bv
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6/dts-v1/;
7
8#include "espressif/esp32s3/esp32s3_wroom_n16r2.dtsi"
9#include "walter-pinctrl.dtsi"
10#include <espressif/partitions_0x0_amp_8M.dtsi>
11
12/ {
13	model = "DPTechnics Walter PROCPU";
14	compatible = "espressif,esp32s3";
15
16	aliases {
17		modem = &modem;
18		modem-uart = &uart1;
19		i2c-0 = &i2c0;
20		watchdog0 = &wdt0;
21		uart-0 = &usb_serial;
22	};
23
24	chosen {
25		zephyr,sram = &sram1;
26		zephyr,console = &usb_serial;
27		zephyr,shell-uart = &usb_serial;
28		zephyr,flash = &flash0;
29		zephyr,code-partition = &slot0_partition;
30		zephyr,bt-hci = &esp32_bt_hci;
31	};
32};
33
34&usb_serial {
35	status = "okay";
36};
37
38&uart0 {
39	status = "disabled";
40};
41
42&uart1 {
43	status = "okay";
44	current-speed = <115200>;
45	hw-flow-control;
46	pinctrl-0 = <&uart1_default>;
47	pinctrl-names = "default";
48	modem: modem {
49		status = "okay";
50		compatible = "sqn,gm02s";
51		mdm-reset-gpios = <&gpio1 13 (GPIO_OPEN_DRAIN | GPIO_ACTIVE_LOW)>;
52	};
53};
54
55&gpio0 {
56	status = "okay";
57};
58
59&gpio1 {
60	status = "okay";
61};
62
63&i2c0 {
64	clock-frequency = <I2C_BITRATE_STANDARD>;
65	pinctrl-0 = <&i2c0_default>;
66	pinctrl-names = "default";
67};
68
69&i2c1 {
70	clock-frequency = <I2C_BITRATE_STANDARD>;
71	pinctrl-0 = <&i2c1_default>;
72	pinctrl-names = "default";
73};
74
75&spi2 {
76	#address-cells = <1>;
77	#size-cells = <0>;
78	status = "okay";
79	pinctrl-0 = <&spim2_default>;
80	pinctrl-names = "default";
81};
82
83&spi3 {
84	#address-cells = <1>;
85	#size-cells = <0>;
86	status = "okay";
87	pinctrl-0 = <&spim3_default>;
88	pinctrl-names = "default";
89};
90
91&twai {
92	pinctrl-0 = <&twai_default>;
93	pinctrl-names = "default";
94};
95
96&timer0 {
97	status = "disabled";
98};
99
100&timer1 {
101	status = "disabled";
102};
103
104&timer2 {
105	status = "disabled";
106};
107
108&timer3 {
109	status = "disabled";
110};
111
112&wdt0 {
113	status = "okay";
114};
115
116&trng0 {
117	status = "okay";
118};
119
120&esp32_bt_hci {
121	status = "okay";
122};
123