Message ID | 20211107195511.3346734-2-danct12@riseup.net (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Improve support for Xiaomi Redmi Note 7 | expand |
Reviewed-by: Martin Botka <martin.botka@somainline.org> On Mon, Nov 8 2021 at 02:55:05 AM +0700, Dang Huynh <danct12@riseup.net> wrote: > This makes eMMC/SD device number consistent. > > Signed-off-by: Dang Huynh <danct12@riseup.net> > --- > arch/arm64/boot/dts/qcom/sdm630.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi > b/arch/arm64/boot/dts/qcom/sdm630.dtsi > index 3e0165bb61c5..b75bb87ed290 100644 > --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi > @@ -19,6 +19,11 @@ / { > #address-cells = <2>; > #size-cells = <2>; > > + aliases { > + mmc1 = &sdhc_1; > + mmc2 = &sdhc_2; > + }; > + > chosen { }; > > clocks { > -- > 2.33.1 >
diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 3e0165bb61c5..b75bb87ed290 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -19,6 +19,11 @@ / { #address-cells = <2>; #size-cells = <2>; + aliases { + mmc1 = &sdhc_1; + mmc2 = &sdhc_2; + }; + chosen { }; clocks {
This makes eMMC/SD device number consistent. Signed-off-by: Dang Huynh <danct12@riseup.net> --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 5 +++++ 1 file changed, 5 insertions(+)