Subject: [PATCH mvebu-dt64] arm64: dts: armada-3720-turris-mox.dts: fix sdhci1 pins

From: Domenico Andreoli <[email-masked]>
Date: Wed, 13 May 2020 19:56:48 +0200

From: Domenico Andreoli <[email-masked]>

In order to use the sdcard slot on Turris MOX it is necessary to mux
the sdio0 pins in the north-bridge, which are herein also added.

This fixes the boot problem reported at [0].

Signed-off-by: Domenico Andreoli <[email-masked]>
Cc: Gregory CLEMENT <[email-masked]>
Cc: "Marek Behún" <[email-masked]>
Cc: [email-masked]

[0] https://lore.kernel.org/linux-arm-kernel/[email-masked]/

---
 arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts |    2 +-
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi           |    5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

Index: b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
===================================================================
--- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
@@ -173,7 +173,7 @@
 
 &sdhci1 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&sdio_pins>;
+	pinctrl-0 = <&sdio0_pins &sdio_pins>;
 	non-removable;
 	bus-width = <4>;
 	marvell,pad-type = "sd";
Index: b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
===================================================================
--- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
@@ -244,6 +244,11 @@
 					groups = "emmc_nb";
 					function = "emmc";
 				};
+
+				sdio0_pins: sdio0-pins {
+					groups = "sdio0";
+					function = "sdio";
+				};
 			};
 
 			nb_pm: syscon@14000 {

-- 
rsa4096: 3B10 0CA1 8674 ACBA B4FE  FCD2 CE5B CF17 9960 DE13
ed25519: FFB4 0CC3 7F2E 091D F7DA  356E CC79 2832 ED38 CB05

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel