Skip to content

Commit 1a14eb2

Browse files
committed
boards: opta: enable SDHC SDIO support
This commit enable SDHC SDIO support for OPTA Signed-off-by: Mattia Pennasilico <m.pennasilico@arduino.cc>
1 parent 667e4dc commit 1a14eb2

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

boards/arduino/opta/arduino_opta-common.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,27 @@
201201
zephyr,resolution = <16>;
202202
};
203203
};
204+
205+
sdhc: &sdmmc1 {
206+
compatible = "st,stm32-sdio";
207+
pinctrl-0 = <&sdmmc1_d0_pc8 &sdmmc1_d1_pc9
208+
&sdmmc1_d2_pc10 &sdmmc1_d3_pc11
209+
&sdmmc1_ck_pc12 &sdmmc1_cmd_pd2>;
210+
pinctrl-names = "default";
211+
sdhi-on-gpios = <&gpioj 1 GPIO_ACTIVE_HIGH>;
212+
power-delay-ms = <50>;
213+
interrupts = <49 0>;
214+
interrupt-names = "event";
215+
min-bus-freq = <DT_FREQ_K(400)>;
216+
max-bus-freq = <DT_FREQ_M(208)>;
217+
hw-flow-control;
218+
bus-width = <4>;
219+
status= "okay";
220+
221+
wifi: airoc-wifi {
222+
status = "okay";
223+
compatible = "infineon,airoc-wifi";
224+
wifi-reg-on-gpios = <&gpioj 1 GPIO_ACTIVE_HIGH>;
225+
wifi-host-wake-gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>;
226+
};
227+
};

0 commit comments

Comments
 (0)