boards: st: stm32h573i_dk: Enable sdmmc support

Configure SDMMC port on stm32h573i_dk.
Disable SDMMC clock check as using 48MHz is not strictly required.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou 2024-04-04 11:45:33 +02:00 committed by Fabio Baltieri
commit f71c7f21f4
4 changed files with 21 additions and 0 deletions

View file

@ -14,4 +14,11 @@ config NET_L2_ETHERNET
endif # NETWORKING endif # NETWORKING
if DISK_DRIVER_SDMMC
config SDMMC_STM32_CLOCK_CHECK
default n
endif # DISK_DRIVER_SDMMC
endif # BOARD_STM32H573I_DK endif # BOARD_STM32H573I_DK

View file

@ -193,9 +193,12 @@ hardware features:
+-----------+------------+-------------------------------------+ +-----------+------------+-------------------------------------+
| AES | on-chip | crypto | | AES | on-chip | crypto |
+-----------+------------+-------------------------------------+ +-----------+------------+-------------------------------------+
| SDMMC | on-chip | disk access |
+-----------+------------+-------------------------------------+
| USB | on-chip | USB full-speed host/device bus | | USB | on-chip | USB full-speed host/device bus |
+-----------+------------+-------------------------------------+ +-----------+------------+-------------------------------------+
Other hardware features are not yet supported on this Zephyr port. Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig and dts files: The default configuration can be found in the defconfig and dts files:

View file

@ -275,6 +275,16 @@
}; };
}; };
&sdmmc1 {
pinctrl-0 = <&sdmmc1_d0_pc8 &sdmmc1_d1_pc9
&sdmmc1_d2_pc10 &sdmmc1_d3_pc11
&sdmmc1_ck_pc12 &sdmmc1_cmd_pd2>;
pinctrl-names = "default";
cd-gpios = <&gpioh 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
status = "okay";
};
zephyr_udc0: &usb { zephyr_udc0: &usb {
pinctrl-0 = <&usb_dm_pa11 &usb_dp_pa12>; pinctrl-0 = <&usb_dm_pa11 &usb_dp_pa12>;
pinctrl-names = "default"; pinctrl-names = "default";

View file

@ -24,4 +24,5 @@ supported:
- usb_device - usb_device
- usb - usb
- i2c - i2c
- sdhc
vendor: st vendor: st