[PATCH 1/9] ARM: zynq: add MMC aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The upstream DT doesn't include those, yet. Make sure
MMC controllers end up with a deterministic numbering.

Signed-off-by: Lucas Stach <dev@xxxxxxxxxx>
---
 arch/arm/dts/zynq-7000.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi
index f7a0d70babef..90b0c098fc82 100644
--- a/arch/arm/dts/zynq-7000.dtsi
+++ b/arch/arm/dts/zynq-7000.dtsi
@@ -1,4 +1,11 @@
 
+/ {
+	aliases {
+		mmc0 = &sdhci0;
+		mmc1 = &sdhci1;
+	};
+};
+
 &amba {
 	qspi: spi@e000d000 {
 		compatible = "xlnx,zynq-qspi-1.0";
-- 
2.47.1





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux