Skip to content

Commit 31e2a6b

Browse files
Yann-lmsatorgue
authored andcommitted
ARM: dts: stm32: add delay block support and higher sd-uhs speeds on stm32mp157
To reach SDR50, DDRR50 and SDR104 speed on SDMMC, a delay block is required. The addresses of the delay blocks of each SDMMC instance is added in SoC DT file. The sd-uhs-sdr50, sd-uhs-ddr50 and sd-uhs-sdr104 properties are added for STM32MP1 ED1/EV1 boards. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I322e095ad0092d4336a45274fd24aa9dac65fddf Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/148130 Tested-by: Alexandre TORGUE <alexandre.torgue@st.com> Reviewed-by: Alexandre TORGUE <alexandre.torgue@st.com>
1 parent 8e109c7 commit 31e2a6b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

arch/arm/boot/dts/stm32mp157c-ed1.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@
300300
vqmmc-supply = <&sd_switch>;
301301
sd-uhs-sdr12;
302302
sd-uhs-sdr25;
303+
sd-uhs-sdr50;
304+
sd-uhs-ddr50;
305+
sd-uhs-sdr104;
303306
status = "okay";
304307
};
305308

arch/arm/boot/dts/stm32mp157c.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@
11051105
sdmmc3: sdmmc@48004000 {
11061106
compatible = "arm,pl18x", "arm,primecell";
11071107
arm,primecell-periphid = <0x10153180>;
1108-
reg = <0x48004000 0x400>;
1108+
reg = <0x48004000 0x400>, <0x48005000 0x400>;
11091109
interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
11101110
interrupt-names = "cmd_irq";
11111111
clocks = <&rcc SDMMC3_K>;
@@ -1453,7 +1453,7 @@
14531453
sdmmc1: sdmmc@58005000 {
14541454
compatible = "arm,pl18x", "arm,primecell";
14551455
arm,primecell-periphid = <0x10153180>;
1456-
reg = <0x58005000 0x1000>;
1456+
reg = <0x58005000 0x1000>, <0x58006000 0x1000>;
14571457
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
14581458
interrupt-names = "cmd_irq";
14591459
clocks = <&rcc SDMMC1_K>;
@@ -1468,7 +1468,7 @@
14681468
sdmmc2: sdmmc@58007000 {
14691469
compatible = "arm,pl18x", "arm,primecell";
14701470
arm,primecell-periphid = <0x10153180>;
1471-
reg = <0x58007000 0x1000>;
1471+
reg = <0x58007000 0x1000>, <0x58008000 0x1000>;
14721472
interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
14731473
interrupt-names = "cmd_irq";
14741474
clocks = <&rcc SDMMC2_K>;

0 commit comments

Comments
 (0)