Skip to content

Commit c9b8a66

Browse files
committed
dts: stm32: stm32h7rs: Add sdmmc1 and sdmmc2 configuration
Provide the soc configuration for sdmmc1 and sdmmc2 controllers. This includes registers address, clocks, resets and interrupt line details. Signed-off-by: Shan Pen <[email protected]>
1 parent e5838ff commit c9b8a66

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

dts/arm/st/h7rs/stm32h7rs.dtsi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,26 @@
897897
STM32_DMA_16BITS)>;
898898
status = "disabled";
899899
};
900+
901+
sdmmc1: sdmmc@52007000 {
902+
compatible = "st,stm32-sdmmc";
903+
reg = <0x52007000 0x400>;
904+
clocks = <&rcc STM32_CLOCK(AHB5, 8)>,
905+
<&rcc STM32_SRC_PLL2_S SDMMC_SEL(0)>;
906+
resets = <&rctl STM32_RESET(AHB5, 8)>;
907+
interrupts = <108 0>;
908+
status = "disabled";
909+
};
910+
911+
sdmmc2: sdmmc@48002400 {
912+
compatible = "st,stm32-sdmmc";
913+
reg = <0x48002400 0x400>;
914+
clocks = <&rcc STM32_CLOCK(AHB2, 9)>,
915+
<&rcc STM32_SRC_PLL2_S SDMMC_SEL(0)>;
916+
resets = <&rctl STM32_RESET(AHB2, 9)>;
917+
interrupts = <109 0>;
918+
status = "disabled";
919+
};
900920
};
901921

902922
otgfs_phy: otgfs_phy {

0 commit comments

Comments
 (0)