RISCV: dts: starfive: use the aliases about mmc 45/293845/1
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 7 Jun 2023 05:13:01 +0000 (14:13 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 7 Jun 2023 05:13:01 +0000 (14:13 +0900)
The index of mmc is assigned according to probing sequence.
It means that index can be changed every booting time.
To prevent the wrong index, use the aliases as fixed index.
- eMMC : mmc0
- SD   : mmc1

Change-Id: Ie0abe1b01be55decf8be7cb9ae553a421240e422
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

index dca93b4..f88e849 100644 (file)
@@ -18,6 +18,8 @@
                i2c5 = &i2c5;
                i2c6 = &i2c6;
                serial0 = &uart0;
+               mmc0 = &mmc0;
+               mmc1 = &mmc1;
        };
 
        chosen {