[PATCH v4] ARM: SPEAr600: Add device-tree support to SPEAr600 boards
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Fri Mar 16 22:51:56 EST 2012
On 15:21 Fri 16 Mar , Viresh Kumar wrote:
> On 3/16/2012 3:00 PM, Stefan Roese wrote:
> > This patch adds a generic target for SPEAr600 board that can be
> > configured via the device-tree. Currently the following devices
> > are supported via the devicetree:
> >
> > - VIC interrupts
> > - PL011 UART
> > - PL061 GPIO
> > - Synopsys DW I2C
> > - Synopsys DW ethernet
> >
> > Signed-off-by: Stefan Roese <sr at denx.de>
> > Cc: Viresh Kumar <viresh.kumar at st.com>
> > Cc: Arnd Bergmann <arnd at arndb.de>
> > Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
>
> Acked-by: Viresh Kumar <viresh.kumar at st.com>
>
> I have one query (as part of my learning of DT) to all DT experts:
>
> >
> > + /* local/cpu GPIO */
> > + gpio0: gpio at f0100000 {
> > + #gpio-cells = <2>;
> > + compatible = "arm,pl061", "arm,primecell";
> > + gpio-controller;
> > + reg = <0xf0100000 0x1000>;
> > + interrupt-parent = <&vic0>;
> > + interrupts = <18>;
> > + };
> > +
> >
>
> Can we add name property here:
> name = "gpio0"
>
> So that we don't need to do below stuff.
no the nae of the device is f0100000.gpio"
so what do stefan is right
Best Regards,
J.
More information about the devicetree-discuss
mailing list