浏览代码

ARM: tegra: add SDHCI support for Dalmore

Dalmore has a built-in eMMC device and a user-accessible SD card slot.
Add device tree nodes to enable these.

Based on changes by: Pritesh Raithatha <praithatha@nvidia.com>
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
[swarren: added commit description, fixed DT node sort order]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Rhyland Klein 12 年之前
父节点
当前提交
8d3207ca24
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      arch/arm/boot/dts/tegra114-dalmore.dts

+ 11 - 0
arch/arm/boot/dts/tegra114-dalmore.dts

@@ -721,6 +721,17 @@
 		nvidia,invert-interrupt;
 	};
 
+	sdhci@78000400 {
+		cd-gpios = <&gpio 170 1>; /* gpio PV2 */
+		bus-width = <4>;
+		status = "okay";
+	};
+
+	sdhci@78000600 {
+		bus-width = <8>;
+		status = "okay";
+	};
+
 	clocks {
 		compatible = "simple-bus";
 		#address-cells = <1>;