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	dmas = <&dma0 8>, <&dma0 9>;
43	dma-names = "tx", "rx";
44};
45
46&dma0 {
47	#address-cells = <1>;
48	#size-cells = <0>;
49	compatible = "infineon,cat1-dma";
50	status = "okay";
51};
52
53&fll0 {
54	status = "okay";
55};
56
57&path_mux0 {
58	status = "okay";
59};
60
61&path_mux1 {
62	status = "okay";
63};
64
65&path_mux2 {
66	status = "okay";
67};
68
69&path_mux3 {
70	status = "okay";
71};
72
73&clk_hf0 {
74	status = "okay";
75	clocks = <&fll0>;
76};
77
78&clk_hf1 {
79	status = "okay";
80};
81
82&clk_hf2 {
83	status = "okay";
84};
85
86&clk_hf3 {
87	status = "okay";
88};
89
90&watchdog0 {
91	status = "okay";
92};
93
94&mcwdt0 {
95	status = "okay";
96};
97
98&bluetooth {
99	status = "okay";
100};
101
102/ {
103	qspi_flash: qspi_flash@40890000 {
104		compatible = "infineon,cat1-qspi-flash";
105		reg = <0x40890000 0x30000>;
106		#address-cells = <1>;
107		#size-cells = <1>;
108
109		flash0: flash@8000000 {
110			compatible = "soc-nv-flash";
111			reg = <0x08000000 DT_SIZE_K(512)>;
112			write-block-size = <1>;
113			erase-block-size = <DT_SIZE_K(4)>;
114			#address-cells = <1>;
115			#size-cells = <1>;
116
117			toc2_region: toc2_region@8000000 {
118				compatible = "zephyr,memory-region", "soc-nv-flash";
119				zephyr,memory-region = "APP_HEADER_FLASH";
120				reg = <0x08000000 0x50>;
121			};
122			bootstrap_region: bootstrap_region@8000050 {
123				compatible = "zephyr,memory-region", "soc-nv-flash";
124				zephyr,memory-region = "BOOTSTRAP_FLASH";
125				reg = <0x08000050 DT_SIZE_K(12)>;
126			};
127			app_region: app_region@8003050 {
128				compatible = "soc-nv-flash";
129				reg = <0x08003050 0x6CFB0>; /* 435kb */
130			};
131
132			partitions {
133				compatible = "fixed-partitions";
134				#address-cells = <1>;
135				#size-cells = <1>;
136
137				storage_partition: storage_partition@60000 {
138					compatible = "soc-nv-flash";
139					reg = <0x60000 DT_SIZE_K(64)>;
140				};
141			};
142		};
143	};
144};
145