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 8
8
#include <zephyr/dt-bindings/input/input-event-codes.h>
9
9
10
10
/ {
11
+ aliases {
12
+ sdhc0 = &sdhc;
13
+ };
14
+
11
15
leds {
12
16
compatible = "gpio-leds";
13
17
red_led: led_0 {
42
46
&mailbox {
43
47
status = "okay";
44
48
};
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 5
5
*/
6
6
7
7
/ {
8
+ aliases {
9
+ sdhc0 = &sdhc;
10
+ };
11
+
8
12
leds {
9
13
compatible = "gpio-leds";
10
14
red_led: led_0 {
31
35
&mailbox {
32
36
status = "okay";
33
37
};
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 30
30
led0 = &red_led;
31
31
led1 = &green_led;
32
32
led2 = &blue_led;
33
+ sdhc0 = &sdhc;
33
34
};
34
35
};
35
36
@@ -239,6 +240,29 @@ zephyr_i2c: &i2c1 {
239
240
};
240
241
};
241
242
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
+
242
266
zephyr_udc0: &usbotg_hs {
243
267
pinctrl-0 = < &usb_otg_hs_ulpi_d0_pa3
244
268
&usb_otg_hs_ulpi_ck_pa5
You can’t perform that action at this time.
0 commit comments