Skip to content

Commit 56af59f

Browse files
committed
ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices
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
1 parent fe15c26 commit 56af59f

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
* Copyright 2015 Google, Inc
66
*/
77

8+
/ {
9+
aliases {
10+
mmc1 = &sdmmc;
11+
};
12+
};
13+
814
&io_domains {
915
sdcard-supply = <&vccio_sd>;
1016
};

arch/arm/boot/dts/rk3288-veyron.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
#include "rk3288.dtsi"
1111

1212
/ {
13+
aliases {
14+
mmc0 = &emmc;
15+
};
16+
1317
chosen {
1418
stdout-path = "serial2:115200n8";
1519
};

0 commit comments

Comments
 (0)