[PATCH] dts: Re-add aliases for imx6qdl-sabrelite devices
Tom Rini
trini at konsulko.com
Fri Nov 11 16:35:56 CET 2022
On Fri, Nov 11, 2022 at 10:28:43AM -0500, Detlev Casanova wrote:
> On Thursday, October 27, 2022 2:30:51 P.M. EST Tom Rini wrote:
> > On Thu, Oct 27, 2022 at 11:22:52AM -0400, Detlev Casanova wrote:
> > > In commit d0399a46e7cda63c07e3eb8558bef84cfb068028, the device tree was
> > > synchronized from linux and the aliases were dropped.
> > >
> > > They need to be kept so that the mmc cards are in the right order.
> > > Without the aliases, u-boot reports:
> > > MMC: FSL_SDHC: 2, FSL_SDHC: 3
> > >
> > > With the aliases, u-boot reports:
> > > MMC: FSL_SDHC: 0, FSL_SDHC: 1
> > >
> > > Signed-off-by: Detlev Casanova <detlev.casanova at collabora.com>
> > > ---
> > >
> > > arch/arm/dts/imx6qdl-sabrelite.dtsi | 7 +++++++
> > > 1 file changed, 7 insertions(+)
> > >
> > > diff --git a/arch/arm/dts/imx6qdl-sabrelite.dtsi
> > > b/arch/arm/dts/imx6qdl-sabrelite.dtsi index 22f8e2783c..6564e3b82c 100644
> > > --- a/arch/arm/dts/imx6qdl-sabrelite.dtsi
> > > +++ b/arch/arm/dts/imx6qdl-sabrelite.dtsi
> > > @@ -10,6 +10,13 @@
> > >
> > > #include <dt-bindings/input/input.h>
> > >
> > > / {
> > >
> > > + aliases {
> > > + mmc0 = &usdhc3;
> > > + mmc1 = &usdhc4;
> > > + pwm_lcd = &pwm1;
> > > + pwm_lvds = &pwm4;
> > > + };
> > > +
> > >
> > > chosen {
> > >
> > > stdout-path = &uart2;
> > >
> > > };
> >
> > This really belongs in the upstream dts file so they aren't lost again
> > and again.
>
> Forwaded to upstream kernel: https://lore.kernel.org/lkml/20221028141811.101122-1-detlev.casanova@collabora.com/[1]
>
> Would it make sense to still add this one in u-boot before the devices trees are copied again ?
Yes, it would make sense to pick it up now to fix the regression here.
Thanks for pushing it upstream!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221111/74274481/attachment.sig>
More information about the U-Boot
mailing list