devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] arm64: tegra: enable SDIO on Jetson Nano M.2 Key E
@ 2019-12-02 21:51 Tamás Szűcs
  2019-12-02 21:52 ` [PATCH v2 1/1] arm64: tegra: Enable " Tamás Szűcs
  0 siblings, 1 reply; 2+ messages in thread
From: Tamás Szűcs @ 2019-12-02 21:51 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Thierry Reding, Jonathan Hunter,
	Sowjanya Komatineni, devicetree, linux-tegra, linux-kernel
  Cc: Tamás Szűcs

It turns out SDMMC3 on the Jetson Nano module is wired to respective pins of
the carrier's M.2 Key E socket. However, it is not enabled. I see no reason
why. This block is functional and has a fixed 1.8 V I/O supply. Perfect for
SDIO cards nowdays. I think it would make sense to enable this feature. PCIe
could be used for something else.

Kind regards,
Tamas


Tamás Szűcs (1):
  arm64: tegra: Enable SDIO on Jetson Nano M.2 Key E

 arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

-- 
2.20.1


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

* [PATCH v2 1/1] arm64: tegra: Enable SDIO on Jetson Nano M.2 Key E
  2019-12-02 21:51 [PATCH v2 0/1] arm64: tegra: enable SDIO on Jetson Nano M.2 Key E Tamás Szűcs
@ 2019-12-02 21:52 ` Tamás Szűcs
  0 siblings, 0 replies; 2+ messages in thread
From: Tamás Szűcs @ 2019-12-02 21:52 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Thierry Reding, Jonathan Hunter,
	Sowjanya Komatineni, devicetree, linux-tegra, linux-kernel
  Cc: Tamás Szűcs

Enable SDMMC3 and set it up for SDIO devices.

Signed-off-by: Tamás Szűcs <tszucs@protonmail.ch>
---
Changes in v2:
- keep card powered in suspend and enable WoWLAN

 arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts b/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
index 90381d52ac54..7f7b720a2a1c 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
@@ -536,6 +536,19 @@
 		vmmc-supply = <&vdd_3v3_sd>;
 	};
 
+	sdhci@700b0400 {
+		status = "okay";
+		bus-width = <4>;
+
+		vqmmc-supply = <&vdd_1v8>;
+		vmmc-supply = <&vdd_3v3_sys>;
+
+		non-removable;
+		cap-sdio-irq;
+		keep-power-in-suspend;
+		wakeup-source;
+	};
+
 	clocks {
 		compatible = "simple-bus";
 		#address-cells = <1>;
-- 
2.20.1


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

end of thread, other threads:[~2019-12-02 21:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 21:51 [PATCH v2 0/1] arm64: tegra: enable SDIO on Jetson Nano M.2 Key E Tamás Szűcs
2019-12-02 21:52 ` [PATCH v2 1/1] arm64: tegra: Enable " Tamás Szűcs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).