[PATCH v2 1/1] arm64: tegra: Enable SDIO on Jetson Nano M.2 Key E
From: TamÃs SzÅcs
Date: Mon Dec 02 2019 - 16:57:46 EST
Enable SDMMC3 and set it up for SDIO devices.
Signed-off-by: TamÃs SzÅcs <tszucs@xxxxxxxxxxxxx>
---
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