File tree Expand file tree Collapse file tree 3 files changed +78
-0
lines changed Expand file tree Collapse file tree 3 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 88#include <zephyr/dt-bindings/input/input-event-codes.h>
99
1010/ {
11+ aliases {
12+ sdhc0 = &sdhc;
13+ };
14+
1115 leds {
1216 compatible = "gpio-leds";
1317 red_led: led_0 {
4246&mailbox {
4347 status = "okay";
4448};
49+
50+ sdhc: &sdmmc1 {
51+ compatible = "st,stm32-sdio";
52+ interrupts = <49 0>;
53+ interrupt-names = "event";
54+ pinctrl-0 = <&sdmmc1_d0_pc8 &sdmmc1_d1_pc9
55+ &sdmmc1_d2_pc10 &sdmmc1_d3_pc11
56+ &sdmmc1_ck_pc12 &sdmmc1_cmd_pd2>;
57+ pinctrl-names = "default";
58+ sdhi-on-gpios = <&gpiob 10 GPIO_ACTIVE_HIGH>;
59+ min-bus-freq = <DT_FREQ_K(400)>;
60+ max-bus-freq = <DT_FREQ_M(208)>;
61+ hw-flow-control;
62+ bus-width = <4>;
63+ status= "okay";
64+
65+ wifi: airoc-wifi {
66+ status = "okay";
67+ compatible = "infineon,airoc-wifi";
68+ wifi-reg-on-gpios = <&gpiob 10 GPIO_ACTIVE_HIGH>;
69+ wifi-host-wake-gpios = <&gpioi 8 GPIO_ACTIVE_HIGH>;
70+ };
71+ };
Original file line number Diff line number Diff line change 55 */
66
77/ {
8+ aliases {
9+ sdhc0 = &sdhc;
10+ };
11+
812 leds {
913 compatible = "gpio-leds";
1014 red_led: led_0 {
3135&mailbox {
3236 status = "okay";
3337};
38+
39+ sdhc: &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+ };
Original file line number Diff line number Diff line change 3030 led0 = &red_led;
3131 led1 = &green_led;
3232 led2 = &blue_led;
33+ sdhc0 = &sdhc;
3334 };
3435};
3536
@@ -239,6 +240,29 @@ zephyr_i2c: &i2c1 {
239240 };
240241};
241242
243+ sdhc: &sdmmc1 {
244+ compatible = "st,stm32-sdio";
245+ pinctrl-0 = <&sdmmc1_d0_pc8 &sdmmc1_d1_pc9
246+ &sdmmc1_d2_pc10 &sdmmc1_d3_pc11
247+ &sdmmc1_ck_pc12 &sdmmc1_cmd_pd2>;
248+ pinctrl-names = "default";
249+ sdhi-on-gpios = <&gpioj 1 GPIO_ACTIVE_HIGH>;
250+ interrupts = <49 0>;
251+ interrupt-names = "event";
252+ min-bus-freq = <DT_FREQ_K(400)>;
253+ max-bus-freq = <DT_FREQ_M(208)>;
254+ hw-flow-control;
255+ bus-width = <4>;
256+ status= "okay";
257+
258+ wifi: airoc-wifi {
259+ status = "okay";
260+ compatible = "infineon,airoc-wifi";
261+ wifi-reg-on-gpios = <&gpioj 1 GPIO_ACTIVE_HIGH>;
262+ wifi-host-wake-gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>;
263+ };
264+ };
265+
242266zephyr_udc0: &usbotg_hs {
243267 pinctrl-0 = < &usb_otg_hs_ulpi_d0_pa3
244268 &usb_otg_hs_ulpi_ck_pa5
You can’t perform that action at this time.
0 commit comments