]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: tegra: nexus7: Add aliases for MMC
authorDmitry Osipenko <digetx@gmail.com>
Sun, 6 Sep 2020 19:00:06 +0000 (22:00 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Sep 2020 16:09:37 +0000 (18:09 +0200)
MMC core now supports binding to a specific ID, which is very handy for
embedded devices, like Nexus 7, because MMC ID may change depending on
kernel version or configuration which affects MMC driver probe order.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi

index 3922517145e78fca1670a72da27fe21304813ec2..9999e1afd4654ff0490e093a8ea1e01d22cabf42 100644 (file)
@@ -10,6 +10,9 @@
 
 / {
        aliases {
+               mmc0 = &sdmmc4; /* eMMC */
+               mmc1 = &sdmmc3; /* WiFi */
+
                rtc0 = &pmic;
                rtc1 = "/rtc@7000e000";
 
                power-off-delay-us = <300>;
        };
 
-       mmc@78000400 {
+       sdmmc3: mmc@78000400 {
                status = "okay";
 
                #address-cells = <1>;
                };
        };
 
-       mmc@78000600 {
+       sdmmc4: mmc@78000600 {
                status = "okay";
                bus-width = <8>;
                vmmc-supply = <&vcore_emmc>;