[PATCH 03/11] ARM: tegra30: add mmc aliases

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


Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 arch/arm/dts/tegra30-beaver.dts | 1 +
 arch/arm/dts/tegra30.dtsi       | 8 ++++++++
 2 files changed, 9 insertions(+)
 create mode 100644 arch/arm/dts/tegra30.dtsi

diff --git a/arch/arm/dts/tegra30-beaver.dts b/arch/arm/dts/tegra30-beaver.dts
index 5879353..91e1354 100644
--- a/arch/arm/dts/tegra30-beaver.dts
+++ b/arch/arm/dts/tegra30-beaver.dts
@@ -1,6 +1,7 @@
 /dts-v1/;
 
 #include <arm/tegra30.dtsi>
+#include "tegra30.dtsi"
 
 / {
 	model = "NVIDIA Tegra30 Beaver evaluation board";
diff --git a/arch/arm/dts/tegra30.dtsi b/arch/arm/dts/tegra30.dtsi
new file mode 100644
index 0000000..90bd08b
--- /dev/null
+++ b/arch/arm/dts/tegra30.dtsi
@@ -0,0 +1,8 @@
+/ {
+	aliases {
+		mmc0 = "/sdhci at 78000000/";
+		mmc1 = "/sdhci at 78000200/";
+		mmc2 = "/sdhci at 78000400/";
+		mmc3 = "/sdhci at 78000600/";
+	};
+};
-- 
2.1.0




More information about the barebox mailing list