Commit 3ddba33d authored by Henrik Grimler's avatar Henrik Grimler Committed by Krzysztof Kozlowski
Browse files

ARM: dts: exynos: add mmc aliases



Add aliases for eMMC, SD card and WiFi where applicable, so that
assigned mmc indeces are always the same.

Co-developed-by: default avatarAnton Bambura <jenneron@protonmail.com>
Signed-off-by: default avatarAnton Bambura <jenneron@protonmail.com>
[ Tested on exynos5800-peach-pi ]
Tested-by: default avatarValentine Iourine <iourine@iourine.msk.su>
Signed-off-by: default avatarHenrik Grimler <henrik@grimler.se>
Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20230402144724.17839-3-henrik@grimler.se


Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 37f9514e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,10 @@ / {
	model = "Samsung ARTIK5 evaluation board";
	compatible = "samsung,artik5-eval", "samsung,artik5",
			"samsung,exynos3250", "samsung,exynos3";

	aliases {
		mmc0 = &mshc_2;
	};
};

&mshc_2 {
+5 −0
Original line number Diff line number Diff line
@@ -17,6 +17,11 @@
/ {
	compatible = "samsung,artik5", "samsung,exynos3250", "samsung,exynos3";

	aliases {
		mmc0 = &mshc_0;
		mmc1 = &mshc_1;
	};

	chosen {
		stdout-path = &serial_2;
	};
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ / {

	aliases {
		i2c7 = &i2c_max77836;
		mmc0 = &mshc_0;
	};

	memory@40000000 {
+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@ / {

	aliases {
		i2c7 = &i2c_max77836;
		mmc0 = &mshc_0;
		mmc1 = &mshc_1;
	};

	chosen {
+6 −0
Original line number Diff line number Diff line
@@ -25,6 +25,12 @@ memory@40000000 {
		reg = <0x40000000 0x40000000>;
	};

	aliases {
		mmc0 = &sdhci_0;
		mmc1 = &sdhci_2;
		mmc2 = &sdhci_3;
	};

	chosen {
		stdout-path = "serial2:115200n8";
	};
Loading