1/*
2 * Copyright 2024 Felipe Neves
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	aliases {
9		sdhc0 = &sdhc;
10	};
11
12	leds {
13		compatible = "gpio-leds";
14		red_led: led_0 {
15			gpios = <&gpioe 3 GPIO_ACTIVE_LOW>;
16		};
17		green_led: led_1 {
18			gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
19		};
20		blue_led: led_2 {
21			gpios = <&gpiof 4 GPIO_ACTIVE_LOW>;
22		};
23	};
24};
25
26&rcc {
27	d1cpre = <1>;
28	hpre = <2>;
29	d1ppre = <2>;
30	d2ppre1 = <2>;
31	d2ppre2 = <2>;
32	d3ppre = <2>;
33};
34
35&mailbox {
36	status = "okay";
37};
38
39sdhc: &sdmmc2 {
40	compatible = "st,stm32-sdio";
41	interrupts = <124 0>;
42	interrupt-names = "event";
43	pinctrl-0 = <&sdmmc2_d0_pb14 &sdmmc2_d1_pb15
44			&sdmmc2_d2_pg11 &sdmmc2_d3_pb4
45			&sdmmc2_ck_pd6 &sdmmc2_cmd_pd7>;
46	pinctrl-names = "default";
47	sdhi-on-gpios = <&gpiog 4 GPIO_ACTIVE_HIGH>;
48	min-bus-freq = <DT_FREQ_K(400)>;
49	max-bus-freq = <DT_FREQ_M(208)>;
50	hw-flow-control;
51	bus-width = <4>;
52	status = "okay";
53
54	wifi: airoc-wifi {
55		status = "okay";
56		compatible = "infineon,airoc-wifi";
57		wifi-reg-on-gpios = <&gpiog 4 GPIO_ACTIVE_HIGH>;
58		wifi-host-wake-gpios = <&gpiod 15 GPIO_ACTIVE_HIGH>;
59	};
60};
61