1/*
2 * Copyright (c) 2020 Piotr Mienkowski
3 * Copyright (c) 2021 Yonatan Schachter
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8/dts-v1/;
9#include <silabs/efr32fg13p233f512gm48.dtsi>
10#include <silabs/efr32xg13p-pinctrl.dtsi>
11#include "../common/efr32-series1-common.dtsi"
12
13/ {
14	model = "Silicon Labs BRD4255A (Flex Gecko Radio Board)";
15	compatible = "silabs,slwrb4255a", "silabs,efr32fg13p";
16};
17
18&cpu0 {
19	clock-frequency = <38400000>;
20};
21
22&flash0 {
23	partitions {
24		compatible = "fixed-partitions";
25		#address-cells = <1>;
26		#size-cells = <1>;
27
28		/* Reserve 32 kB for the bootloader */
29		boot_partition: partition@0 {
30			label = "mcuboot";
31			reg = <0x0 0x00008000>;
32			read-only;
33		};
34
35		/* Reserve 220 kB for the application in slot 0 */
36		slot0_partition: partition@8000 {
37			label = "image-0";
38			reg = <0x00008000 0x00037000>;
39		};
40
41		/* Reserve 220 kB for the application in slot 1 */
42		slot1_partition: partition@3f000 {
43			label = "image-1";
44			reg = <0x0003f000 0x00037000>;
45		};
46
47		/* Reserve 32 kB for the scratch partition */
48		scratch_partition: partition@76000 {
49			label = "image-scratch";
50			reg = <0x00076000 0x00008000>;
51		};
52
53		/* Set 8Kb of storage at the end of the 512KB of flash */
54		storage_partition: partition@7e000 {
55			label = "storage";
56			reg = <0x0007e000 0x00002000>;
57		};
58
59	};
60};
61
62&usart0 {
63	current-speed = <115200>;
64	pinctrl-0 = <&usart0_default>;
65	pinctrl-names = "default";
66	status = "okay";
67};
68