[PATCH 02/11] ARM: tegra20: add mmc aliases

Lucas Stach dev at lynxeye.de
Tue Mar 3 11:46:14 PST 2015


Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 arch/arm/dts/tegra20-colibri.dtsi | 1 +
 arch/arm/dts/tegra20.dtsi         | 9 ++++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/tegra20-colibri.dtsi b/arch/arm/dts/tegra20-colibri.dtsi
index 96da8a4..e931c07 100644
--- a/arch/arm/dts/tegra20-colibri.dtsi
+++ b/arch/arm/dts/tegra20-colibri.dtsi
@@ -1 +1,2 @@
 #include <arm/tegra20-colibri-512.dtsi>
+#include "tegra20.dtsi"
diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi
index ce7d322..995eee4 100644
--- a/arch/arm/dts/tegra20.dtsi
+++ b/arch/arm/dts/tegra20.dtsi
@@ -1 +1,8 @@
-#include <arm/tegra20.dtsi>
+/ {
+	aliases {
+		mmc0 = "/sdhci at c8000000/";
+		mmc1 = "/sdhci at c8000200/";
+		mmc2 = "/sdhci at c8000400/";
+		mmc3 = "/sdhci at c8000600/";
+	};
+};
-- 
2.1.0




More information about the barebox mailing list