arm64: dts: st: add sdmmc1 node in stm32mp251 SoC file
authorYann Gautier <yann.gautier@foss.st.com>
Mon, 4 Sep 2023 13:22:10 +0000 (15:22 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 22 Sep 2023 06:44:07 +0000 (08:44 +0200)
The SDMMC1 peripheral is used for SD-cards (default on ST boards), or
eMMC cards. For the moment it uses the fixed clock ck_flexgen_51, until
clock driver is available.

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp251.dtsi

index 5268a43218415f701a6cda93133fb297ef2f8060..d7cb05d534ac9184ec5aceb66dc8091d21d44dee 100644 (file)
                                clocks = <&ck_flexgen_08>;
                                status = "disabled";
                        };
+
+                       sdmmc1: mmc@48220000 {
+                               compatible = "st,stm32mp25-sdmmc2", "arm,pl18x", "arm,primecell";
+                               arm,primecell-periphid = <0x00353180>;
+                               reg = <0x48220000 0x400>, <0x44230400 0x8>;
+                               interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&ck_flexgen_51>;
+                               clock-names = "apb_pclk";
+                               cap-sd-highspeed;
+                               cap-mmc-highspeed;
+                               max-frequency = <120000000>;
+                               status = "disabled";
+                       };
                };
 
                syscfg: syscon@44230000 {