]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: stm32: Add SDIO controller for stm32f746
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 27 Feb 2018 09:03:57 +0000 (10:03 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Tue, 27 Feb 2018 09:04:27 +0000 (10:04 +0100)
stm32f746 embeds ARM_PL180 sdio IP, adds SDIO controller
nodes to allow MMC support.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32f746.dtsi

index 8fe96d6d0ca297149e00cb68741577dd30c1320b..07c29658696c3be31009c1e0ec356cd6c0f903f0 100644 (file)
@@ -428,6 +428,28 @@ usart6: serial@40011400 {
                        status = "disabled";
                };
 
+               sdio2: sdio2@40011c00 {
+                       compatible = "arm,pl180", "arm,primecell";
+                       arm,primecell-periphid = <0x00880180>;
+                       reg = <0x40011c00 0x400>;
+                       clocks = <&rcc 0 167>;
+                       clock-names = "apb_pclk";
+                       interrupts = <103>;
+                       max-frequency = <48000000>;
+                       status = "disabled";
+               };
+
+               sdio1: sdio1@40012c00 {
+                       compatible = "arm,pl180", "arm,primecell";
+                       arm,primecell-periphid = <0x00880180>;
+                       reg = <0x40012c00 0x400>;
+                       clocks = <&rcc 0 STM32F7_APB2_CLOCK(SDMMC1)>;
+                       clock-names = "apb_pclk";
+                       interrupts = <49>;
+                       max-frequency = <48000000>;
+                       status = "disabled";
+               };
+
                syscfg: system-config@40013800 {
                        compatible = "syscon";
                        reg = <0x40013800 0x400>;