arm64: dts: freescale: sl28: correct MMC order
Subsystems (2)
PATCH 1/1 arm64: dts: freescale: sl28: correct MMC order
Commit 342ab37ecaf8 ("arm64: dts: freescale: use fixed index mmcN for layerscape") hardcoded the order of the MMC devices. This doesn't fit the sl28 boards, which come with an onboard eMMC. Thus use the more natural order for the eMMC and SD card. Use /dev/mmcblk0 for the eMMC and /dev/mmcblk1 for the SD card which is removable by the user.
Please note, that the images for this board already use root=UUID=, therefore the actual device number doesn't matter for booting.
--- arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +2 -0
@@ -18,6 +18,8 @@ aliases { crypto = &crypto; + mmc0 = &esdhc1; + mmc1 = &esdhc; serial0 = &duart0; serial1 = &duart1; serial2 = &lpuart1;
Signature · 1 line
2.20.1
Quoted 16 lines
-----Original Message-----
From: Michael Walle <[email protected]>
Sent: Wednesday, November 25, 2020 5:21 AM
To: [email protected]; [email protected]; [email protected]
Cc: Shawn Guo <[email protected]>; Leo Li <[email protected]>; Rob Herring <[email protected]>; Y.b. Lu <[email protected]>; Vladimir Oltean <[email protected]>; Michael Walle <[email protected]>
Subject: [PATCH] arm64: dts: freescale: sl28: correct MMC orderCommit
342ab37ecaf8("arm64: dts: freescale: use fixed index mmcN for layerscape") hardcoded the order of the MMC devices. This doesn't fit the sl28 boards, which come with an onboard eMMC. Thus use the more natural order for the eMMC and SD card. Use/dev/mmcblk0for the eMMC and/dev/mmcblk1for the SD card which is removable by the user.
Quoted 4 lines
Please note, that the images for this board already use root=UUID=, therefore the actual device number doesn't matter for booting.
Signed-off-by Michael Walle <[email protected]>
It's ok for me to re-define mmc alias.
Quoted 20 lines
--- arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +2
-1@@ -18,6 +18,8 @@ aliases { crypto = &crypto; + mmc0 = &esdhc1; + mmc1 = &esdhc; serial0 = &duart0; serial1 = &duart1; serial2 = &lpuart1; --2.20.1
Am 2020-11-24 22:21, schrieb Michael Walle:
Quoted 21 lines
Commit
342ab37ecaf8("arm64: dts: freescale: use fixed index mmcN for layerscape") hardcoded the order of the MMC devices. This doesn't fit the sl28 boards, which come with an onboard eMMC. Thus use the more natural order for the eMMC and SD card. Use/dev/mmcblk0for the eMMC and/dev/mmcblk1for the SD card which is removable by the user.Please note, that the images for this board already use root=UUID=, therefore the actual device number doesn't matter for booting.
Signed-off-by Michael Walle <[email protected]>--- arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 2 ++ 1 file changed, 2 insertions(+)diff --git
a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dtsb/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dtsindexfbaecf285d05..6da4a28c4d19100644
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts line 25
Quoted 8 lines
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +2
-0@@ -18,6 +18,8 @@ aliases { crypto = &crypto; + mmc0 = &esdhc1; + mmc1 = &esdhc; serial0 = &duart0; serial1 = &duart1; serial2 = &lpuart1;
This will be superfluous because Vladimirs patch was applied:
https://lore.kernel.org/linux-devicetree/20201130143923.GK4072@dragon/
Thanks!
-michael