OSDN Git Service

ARM: dts: stm32: add SDMMC2 in STM32MP13 DT
authorYann Gautier <yann.gautier@foss.st.com>
Wed, 12 Jan 2022 16:33:55 +0000 (17:33 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 7 Feb 2022 10:16:27 +0000 (11:16 +0100)
STM32MP13 embeds 2 instances of SDMMC peripheral.
Add the required information in SoC device tree file.

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

index 7189cba..a1efb54 100644 (file)
                        status = "disabled";
                };
 
+               sdmmc2: mmc@58007000 {
+                       compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
+                       arm,primecell-periphid = <0x20253180>;
+                       reg = <0x58007000 0x1000>, <0x58008000 0x1000>;
+                       interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "cmd_irq";
+                       clocks = <&clk_pll4_p>;
+                       clock-names = "apb_pclk";
+                       cap-sd-highspeed;
+                       cap-mmc-highspeed;
+                       max-frequency = <130000000>;
+                       status = "disabled";
+               };
+
                iwdg2: watchdog@5a002000 {
                        compatible = "st,stm32mp1-iwdg";
                        reg = <0x5a002000 0x400>;