diff options
author | Michal Vokáč <michal.vokac@ysoft.com> | 2021-04-30 16:53:15 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-05-23 05:02:02 +0300 |
commit | d178918891a1ed09711ac33ff93f7710be137826 (patch) | |
tree | 67e65ab50c72e30f58394eb14ec420f76044364b /arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | |
parent | 034ebde3b8c7897fba4148bb8b59b856d34fcee9 (diff) | |
download | linux-d178918891a1ed09711ac33ff93f7710be137826.tar.xz |
ARM: dts: imx6dl-yapp4: Use aliases to set custom MMC device indexes
Until commit fa2d0aa96941 ("mmc: core: Allow setting slot index via
device tree alias") was introduced, our usdhc3 and usdhc4 devices
were enumerated as mmc0 and mmc1. The mmc1 device is used to boot/update
the board and its name must be fixed.
With the referenced commit, aliases from imx6qdl.dtsi took effect.
Override the aliases to get back the original device indexes.
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6dl-yapp4-common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index f2c7298aead1..d3921f297445 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -11,6 +11,8 @@ aliases: aliases { ethernet1 = ð1; ethernet2 = ð2; + mmc0 = &usdhc3; + mmc1 = &usdhc4; }; backlight: backlight { |