]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: stm32: add sdmmc1 support on stm32h743
authorLudovic Barre <ludovic.barre@st.com>
Fri, 1 Mar 2019 08:47:00 +0000 (09:47 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Thu, 11 Apr 2019 09:21:59 +0000 (11:21 +0200)
This patch adds support of sdmmc1 on stm32h743.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32h743.dtsi

index 5cac79ebebb14e6b429cb3b1e1ba8aadd0c96b01..c065266ee37760940671e77ee1c04787e252eeab 100644 (file)
@@ -339,6 +339,20 @@ mdma1: dma@52000000 {
                        dma-requests = <32>;
                };
 
+               sdmmc1: sdmmc@52007000 {
+                       compatible = "arm,pl18x", "arm,primecell";
+                       arm,primecell-periphid = <0x10153180>;
+                       reg = <0x52007000 0x1000>;
+                       interrupts = <49>;
+                       interrupt-names = "cmd_irq";
+                       clocks = <&rcc SDMMC1_CK>;
+                       clock-names = "apb_pclk";
+                       resets = <&rcc STM32H7_AHB3_RESET(SDMMC1)>;
+                       cap-sd-highspeed;
+                       cap-mmc-highspeed;
+                       max-frequency = <120000000>;
+               };
+
                exti: interrupt-controller@58000000 {
                        compatible = "st,stm32h7-exti";
                        interrupt-controller;