Skip to content

Commit 5f67124

Browse files
Grimler91krzk
authored andcommitted
arm64: dts: exynos: add mmc aliases
Add aliases for eMMC and SD card where applicable, so that assigned mmc indeces are always the same. Signed-off-by: Henrik Grimler <henrik@grimler.se> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/r/20230315212814.15908-3-henrik@grimler.se Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent c04d7b2 commit 5f67124

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
gsc0 = &gsc_0;
2222
gsc1 = &gsc_1;
2323
gsc2 = &gsc_2;
24+
mmc0 = &mshc_0;
25+
mmc2 = &mshc_2;
2426
pinctrl0 = &pinctrl_alive;
2527
pinctrl1 = &pinctrl_aud;
2628
pinctrl2 = &pinctrl_cpif;

arch/arm64/boot/dts/exynos/exynos7-espresso.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
compatible = "samsung,exynos7-espresso", "samsung,exynos7";
1818

1919
aliases {
20+
mmc0 = &mmc_0;
21+
mmc2 = &mmc_2;
2022
serial0 = &serial_2;
2123
};
2224

arch/arm64/boot/dts/exynos/exynos7885-jackpotlte.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
chassis-type = "handset";
1919

2020
aliases {
21+
mmc0 = &mmc_0;
2122
serial0 = &serial_0;
2223
serial1 = &serial_1;
2324
serial2 = &serial_2;

0 commit comments

Comments
 (0)