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

Lucas Stach dev at lynxeye.de
Fri Dec 13 13:00:07 PST 2024


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

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 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 at e000d000 {
 		compatible = "xlnx,zynq-qspi-1.0";
-- 
2.47.1




More information about the barebox mailing list