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

Alexander Shiyan eagle.alexander923 at gmail.com
Tue May 24 02:21:58 PDT 2022


вт, 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 :)



More information about the barebox mailing list