ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices
authorHeiko Stuebner <heiko@sntech.de>
Tue, 7 Mar 2023 09:55:16 +0000 (10:55 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 15 Mar 2023 07:44:57 +0000 (08:44 +0100)
All of them have an internal emmc that becomes mmc0 and
devices including the sdmmc snippet get mmc1 for the external
sd slot on suitable devices.

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20230307095516.4116827-1-heiko@sntech.de
arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi
arch/arm/boot/dts/rk3288-veyron.dtsi

index 27fb06ce907e87db4a5e40114a1959fbbf8943df..8b58773e592e26b0e218411737b70a44a63ba611 100644 (file)
@@ -5,6 +5,12 @@
  * Copyright 2015 Google, Inc
  */
 
+/ {
+       aliases {
+               mmc1 = &sdmmc;
+       };
+};
+
 &io_domains {
        sdcard-supply = <&vccio_sd>;
 };
index e406c8c7c7e5adf79e6193b997cd0cec0d7cd569..d838bf0d5d9a087b0b9d163a493d8c62e2a04abe 100644 (file)
 #include "rk3288.dtsi"
 
 / {
+       aliases {
+               mmc0 = &emmc;
+       };
+
        chosen {
                stdout-path = "serial2:115200n8";
        };