diff mbox series

[U-Boot,2/4] ARM: dts: am574x-idk: Add pinmuxes for mmc1 and mmc2

Message ID 20190620093722.15471-3-faiz_abbas@ti.com
State Accepted
Commit 684af0be943c11933e784566b4558d98681b5216
Delegated to: Tom Rini
Headers show
Series MMC Fixes for dra7xx and am57xx boards | expand

Commit Message

Faiz Abbas June 20, 2019, 9:37 a.m. UTC
Sync with kernel dts by adding pinmuxes for mmc1 and mmc2. This fixes an
issue where mmc2 (eMMC) was coming up in HS52 mode instead of the
highest DDR52 mode.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
---
 arch/arm/dts/am574x-idk.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Tom Rini July 28, 2019, 9:49 p.m. UTC | #1
On Thu, Jun 20, 2019 at 03:07:20PM +0530, Faiz Abbas wrote:

> Sync with kernel dts by adding pinmuxes for mmc1 and mmc2. This fixes an
> issue where mmc2 (eMMC) was coming up in HS52 mode instead of the
> highest DDR52 mode.
> 
> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/am574x-idk.dts b/arch/arm/dts/am574x-idk.dts
index 41e12a382d..0de73616b5 100644
--- a/arch/arm/dts/am574x-idk.dts
+++ b/arch/arm/dts/am574x-idk.dts
@@ -7,6 +7,8 @@ 
 /dts-v1/;
 
 #include "dra76x.dtsi"
+#include "dra7-mmc-iodelay.dtsi"
+#include "dra76x-mmc-iodelay.dtsi"
 #include "am572x-idk-common.dtsi"
 
 / {
@@ -20,3 +22,16 @@ 
 		spi-max-frequency = <96000000>;
 	};
 };
+
+&mmc1 {
+	pinctrl-names = "default", "hs";
+	pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
+	pinctrl-1 = <&mmc1_pins_hs>;
+};
+
+&mmc2 {
+	pinctrl-names = "default", "hs", "ddr_1_8v";
+	pinctrl-0 = <&mmc2_pins_default>;
+	pinctrl-1 = <&mmc2_pins_default>;
+	pinctrl-2 = <&mmc2_pins_default>;
+};