All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mvebu-dt64] arm64: dts: armada-3720-turris-mox.dts: fix sdhci1 pins
@ 2020-05-13 17:56 Domenico Andreoli
  2020-05-13 19:08 ` Marek Behun
  0 siblings, 1 reply; 4+ messages in thread
From: Domenico Andreoli @ 2020-05-13 17:56 UTC (permalink / raw)
  To: Gregory CLEMENT, Marek Behún; +Cc: soc, arm, Leigh Brown, linux-arm-kernel

From: Domenico Andreoli <domenico.andreoli@linux.com>

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 <domenico.andreoli@linux.com>
Cc: Gregory CLEMENT <gregory.clement@bootlin.com>
Cc: "Marek Behún" <marek.behun@nic.cz>
Cc: linux-arm-kernel@lists.infradead.org

[0] https://lore.kernel.org/linux-arm-kernel/165fdeb5583069d893436e95cac5436@solinno.co.uk/

---
 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
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-13 22:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 17:56 [PATCH mvebu-dt64] arm64: dts: armada-3720-turris-mox.dts: fix sdhci1 pins Domenico Andreoli
2020-05-13 19:08 ` Marek Behun
2020-05-13 19:25   ` Leigh Brown
2020-05-13 22:15   ` Domenico Andreoli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.