1/*
2 * Copyright (c) 2024 Cypress Semiconductor Corporation.
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6/dts-v1/;
7#include <arm/infineon/cat1b/mpns/CYW20829B0LKML.dtsi>
8#include <arm/infineon/cat1b/cyw20829/system_clocks.dtsi>
9#include "cyw920829m2evk_02-common.dtsi"
10#include "cyw920829m2evk_02-pinctrl.dtsi"
11
12/ {
13	model = "The Infineon AIROC™ CYW20829 Bluetooth® LE evaluation kit (CYW92089M2EVK-02)";
14	compatible = "infineon,cyw920829m2evk_02", "infineon,CYW20829";
15
16	aliases {
17		watchdog0 = &watchdog0;
18	};
19
20	chosen {
21		zephyr,sram = &sram0;
22		zephyr,flash = &app_region;
23		zephyr,console = &uart2;
24		zephyr,shell-uart = &uart2;
25		zephyr,bt-hci = &bluetooth;
26	};
27};
28
29&nvic {
30	arm,num-irq-priority-bits = <3>;
31};
32
33uart2: &scb2 {
34	compatible = "infineon,cat1-uart";
35	status = "okay";
36	current-speed = <115200>;
37	hw-flow-control;
38
39	pinctrl-0 = <&p3_3_scb2_uart_tx &p3_2_scb2_uart_rx &p3_1_scb2_uart_rts &p3_0_scb2_uart_cts>;
40	pinctrl-names = "default";
41};
42
43&fll0 {
44	status = "okay";
45};
46
47&path_mux0 {
48	status = "okay";
49};
50
51&path_mux1 {
52	status = "okay";
53};
54
55&path_mux2 {
56	status = "okay";
57};
58
59&path_mux3 {
60	status = "okay";
61};
62
63&clk_hf0 {
64	status = "okay";
65	clocks = <&fll0>;
66};
67
68&clk_hf1 {
69	status = "okay";
70};
71
72&clk_hf2 {
73	status = "okay";
74};
75
76&clk_hf3 {
77	status = "okay";
78};
79
80&watchdog0 {
81	status = "okay";
82};
83
84&mcwdt0 {
85	status = "okay";
86};
87
88&bluetooth {
89	status = "okay";
90};
91
92/ {
93	qspi_flash: qspi_flash@40890000 {
94		compatible = "infineon,cat1-qspi-flash";
95		reg = <0x40890000 0x30000>;
96		#address-cells = <1>;
97		#size-cells = <1>;
98
99		flash0: flash@8000000 {
100			compatible = "soc-nv-flash";
101			reg = <0x08000000 DT_SIZE_K(512)>;
102			write-block-size = <1>;
103			erase-block-size = <DT_SIZE_K(4)>;
104			#address-cells = <1>;
105			#size-cells = <1>;
106
107			toc2_region: toc2_region@8000000 {
108				compatible = "zephyr,memory-region", "soc-nv-flash";
109				zephyr,memory-region = "APP_HEADER_FLASH";
110				reg = <0x08000000 0x50>;
111			};
112			bootstrap_region: bootstrap_region@8000050 {
113				compatible = "zephyr,memory-region", "soc-nv-flash";
114				zephyr,memory-region = "BOOTSTRAP_FLASH";
115				reg = <0x08000050 DT_SIZE_K(12)>;
116			};
117			app_region: app_region@8003050 {
118				compatible = "soc-nv-flash";
119				reg = <0x08003050 0x6CFB0>; /* 435kb */
120			};
121
122			partitions {
123				compatible = "fixed-partitions";
124				#address-cells = <1>;
125				#size-cells = <1>;
126
127				storage_partition: storage_partition@60000 {
128					compatible = "soc-nv-flash";
129					reg = <0x60000 DT_SIZE_K(64)>;
130				};
131			};
132		};
133	};
134};
135