Skip to content

Commit db95a40

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 5945a3f commit db95a40

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
@@ -865,6 +865,26 @@
865865
STM32_DMA_16BITS)>;
866866
status = "disabled";
867867
};
868+
869+
sdmmc1: sdmmc@52007000 {
870+
compatible = "st,stm32-sdmmc";
871+
reg = <0x52007000 0x400>;
872+
clocks = <&rcc STM32_CLOCK(AHB5, 8)>,
873+
<&rcc STM32_SRC_PLL2_S SDMMC_SEL(0)>;
874+
resets = <&rctl STM32_RESET(AHB5, 8)>;
875+
interrupts = <108 0>;
876+
status = "disabled";
877+
};
878+
879+
sdmmc2: sdmmc@48002400 {
880+
compatible = "st,stm32-sdmmc";
881+
reg = <0x48002400 0x400>;
882+
clocks = <&rcc STM32_CLOCK(AHB2, 9)>,
883+
<&rcc STM32_SRC_PLL2_S SDMMC_SEL(0)>;
884+
resets = <&rctl STM32_RESET(AHB2, 9)>;
885+
interrupts = <109 0>;
886+
status = "disabled";
887+
};
868888
};
869889

870890
otgfs_phy: otgfs_phy {

0 commit comments

Comments
 (0)