]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: stm32: Add SDIO controller for stm32f429
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 18 Jan 2018 14:34:00 +0000 (15:34 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Tue, 27 Feb 2018 09:04:53 +0000 (10:04 +0100)
stm32f429 embeds ARM_PL180 sdi IP, adds SDIO controller
node to allow MMC support.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32f429.dtsi

index 10099df8b73ef39621685efe017dfd08958ca4d1..ede77e0f1c41d044829bf7488959800736e3e514 100644 (file)
@@ -511,6 +511,17 @@ adc3: adc@200 {
                        };
                };
 
+               sdio: sdio@40012c00 {
+                       compatible = "arm,pl180", "arm,primecell";
+                       arm,primecell-periphid = <0x00880180>;
+                       reg = <0x40012c00 0x400>;
+                       clocks = <&rcc 0 STM32F4_APB2_CLOCK(SDIO)>;
+                       clock-names = "apb_pclk";
+                       interrupts = <49>;
+                       max-frequency = <48000000>;
+                       status = "disabled";
+               };
+
                syscfg: system-config@40013800 {
                        compatible = "syscon";
                        reg = <0x40013800 0x400>;