Skip to content

Commit 0972207

Browse files
committed
boards: arduino: fix long startup time with WIFI enabled
The default SDHC 'power-delay-ms' is 500 ms, which is unnecessarily long and causes the boot time to increase by over 5 seconds on H7 boards with the Murata Wi-Fi card (GIGA R1, Nicla Vision, Portenta H7). Shortening this delay to 50 ms greatly improves boot time while keeping compatibility with the controller spec. Signed-off-by: Luca Burelli <[email protected]>
1 parent 2c1c2c7 commit 0972207

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

boards/arduino/giga_r1/arduino_giga_r1.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ sdhc: &sdmmc1 {
5656
&sdmmc1_ck_pc12 &sdmmc1_cmd_pd2>;
5757
pinctrl-names = "default";
5858
sdhi-on-gpios = <&gpiob 10 GPIO_ACTIVE_HIGH>;
59+
power-delay-ms = <50>;
5960
min-bus-freq = <DT_FREQ_K(400)>;
6061
max-bus-freq = <DT_FREQ_M(208)>;
6162
hw-flow-control;

boards/arduino/nicla_vision/arduino_nicla_vision.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ sdhc: &sdmmc2 {
4545
&sdmmc2_ck_pd6 &sdmmc2_cmd_pd7>;
4646
pinctrl-names = "default";
4747
sdhi-on-gpios = <&gpiog 4 GPIO_ACTIVE_HIGH>;
48+
power-delay-ms = <50>;
4849
min-bus-freq = <DT_FREQ_K(400)>;
4950
max-bus-freq = <DT_FREQ_M(208)>;
5051
hw-flow-control;

boards/arduino/portenta_h7/arduino_portenta_h7-common.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ sdhc: &sdmmc1 {
247247
&sdmmc1_ck_pc12 &sdmmc1_cmd_pd2>;
248248
pinctrl-names = "default";
249249
sdhi-on-gpios = <&gpioj 1 GPIO_ACTIVE_HIGH>;
250+
power-delay-ms = <50>;
250251
interrupts = <49 0>;
251252
interrupt-names = "event";
252253
min-bus-freq = <DT_FREQ_K(400)>;

0 commit comments

Comments
 (0)