[PATCH] ARM: DTS: myir-x335x: Add GPIO aliases

Marco Felsch m.felsch at pengutronix.de
Tue May 24 05:03:16 PDT 2022


On 22-05-24, Alexander Shiyan wrote:
> вт, 24 мая 2022 г. в 12:03, Marco Felsch <m.felsch at pengutronix.de>:
> > On 22-05-24, Alexander Shiyan wrote:
> > > For the correct work of GPIO driver, we need to define aliases.
> > > Let's add them to the devicetree.
> ...
> > > +     aliases {
> > > +             gpio0 = &gpio0;
> > > +             gpio1 = &gpio1;
> > > +             gpio2 = &gpio2;
> > > +             gpio3 = &gpio3;
> > > +     };
> >
> > Out of curiousity, are those aliases not defined in the "upstream" linux
> > device-tree? If not, wouldn't it be better to defined it there?
> 
> Hello.
> 
> The linux gpio-omap driver does not use aliases, it would be hard for
> me to explain the need to make such changes to the linux dts tree :)

Ah.. Thanks for the explanation, of course this would be a bit hard to
explain. So everything fine from pov :)

Regards,
  Marco



More information about the barebox mailing list