aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2021-01-18 16:52:39 +0100
committerHeiko Stuebner <heiko@sntech.de>2021-01-26 00:31:23 +0100
commit1034e2b6b8435758c0d699b77761365fd09a5f4a (patch)
tree0cf3786b105d5d590a6c15d8f6f1ced00eddef0c
parentARM: dts: rockchip: assign a fixed index to mmc devices on rk322x boards (diff)
downloadwireguard-linux-1034e2b6b8435758c0d699b77761365fd09a5f4a.tar.xz
wireguard-linux-1034e2b6b8435758c0d699b77761365fd09a5f4a.zip
ARM: dts: rockchip: assign a fixed index to mmc devices on rv1108 boards
Recently introduced async probe on mmc devices can shuffle block IDs. Pin them to fixed values to ease booting in environments where UUIDs are not practical. Use newly introduced aliases for mmcblk devices from [1]. The sort order is based on reg address. [1] https://patchwork.kernel.org/patch/11747669/ Signed-off-by: Johan Jonker <jbx6244@gmail.com> Link: https://lore.kernel.org/r/20210118155242.7172-2-jbx6244@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm/boot/dts/rv1108.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
index 15fa25585ea4..7319a2473b80 100644
--- a/arch/arm/boot/dts/rv1108.dtsi
+++ b/arch/arm/boot/dts/rv1108.dtsi
@@ -19,6 +19,9 @@
i2c1 = &i2c1;
i2c2 = &i2c2;
i2c3 = &i2c3;
+ mmc0 = &emmc;
+ mmc1 = &sdio;
+ mmc2 = &sdmmc;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;