1/*
2 * Copyright (c) 2024 GARDENA GmbH
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8#include <silabs/sim3u167.dtsi>
9#include "sgrm-pinctrl.dtsi"
10
11/ {
12	model = "GARDENA Smart Garden Radio Module";
13	compatible = "gardena,sgrm-sim3u167", "silabs,sim3u167","silabs,sim3u";
14
15	chosen {
16		zephyr,console = &usart1;
17		zephyr,flash = &flash0;
18		zephyr,shell-uart = &usart1;
19		zephyr,sram = &sram0;
20		zephyr,ppp-uart = &usart0;
21	};
22};
23
24&cpu0 {
25	clock-frequency = <76953600>;
26};
27
28&pll0 {
29	status = "okay";
30};
31
32&clk_ahb {
33	clocks = <&pll0>;
34	status = "okay";
35};
36
37&clk_apb {
38	divider = <2>;
39	status = "okay";
40};
41
42&usart0 {
43	current-speed = <500000>;
44	pinctrl-0 = <&usart0_default>;
45	pinctrl-names = "default";
46	hw-flow-control;
47	status = "okay";
48};
49
50&usart1 {
51	current-speed = <115200>;
52	pinctrl-0 = <&usart1_default>;
53	pinctrl-names = "default";
54	status = "okay";
55};
56
57&gpio0 {
58	status = "okay";
59};
60
61&gpio1 {
62	status = "okay";
63};
64
65&gpio2 {
66	disable-pullups;
67	status = "okay";
68};
69
70&gpio3 {
71	status = "okay";
72};
73
74&flash0 {
75	status = "okay";
76
77	partitions {
78		compatible = "fixed-partitions";
79		#address-cells = <1>;
80		#size-cells = <1>;
81
82		slot0_partition: partition@0 {
83			label = "image-0";
84			reg = <0x00000000 DT_SIZE_K(192)>;
85		};
86
87		storage_partition: partition@30000 {
88			label = "storage";
89			reg = <0x00030000 DT_SIZE_K(64)>;
90		};
91	};
92};
93