[PATCH] [POWERPC] mpc5200: Switch mpc5200 dts files to dts-v1 format

Grant Likely grant.likely at secretlab.ca
Mon Apr 21 23:21:14 EST 2008


On Mon, Apr 21, 2008 at 2:43 AM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> On Fri, Apr 18, 2008 at 09:10:04AM -0700, Grant Likely wrote:
>
>
> > Update dts files to current format
>  >
>  > From: Grant Likely <grant.likely at secretlab.ca>
>  >
>  > Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
>  > ---
>  >
>  >  arch/powerpc/boot/dts/cm5200.dts    |   98 +++++++++++------------
>  >  arch/powerpc/boot/dts/lite5200.dts  |  132 ++++++++++++++++----------------
>  >  arch/powerpc/boot/dts/lite5200b.dts |  146 +++++++++++++++++------------------
>  >  arch/powerpc/boot/dts/motionpro.dts |  118 ++++++++++++++--------------
>  >  arch/powerpc/boot/dts/tqm5200.dts   |   80 ++++++++++---------
>  >  5 files changed, 286 insertions(+), 288 deletions(-)
>  >
>  > diff --git a/arch/powerpc/boot/dts/cm5200.dts b/arch/powerpc/boot/dts/cm5200.dts
>  > index c6ca631..2f74cc4 100644
>  > --- a/arch/powerpc/boot/dts/cm5200.dts
>  > +++ b/arch/powerpc/boot/dts/cm5200.dts
>  > @@ -10,11 +10,7 @@
>  >   * option) any later version.
>  >   */
>  >
>  > -/*
>  > - * WARNING: Do not depend on this tree layout remaining static just yet.
>  > - * The MPC5200 device tree conventions are still in flux
>  > - * Keep an eye on the linuxppc-dev mailing list for more details
>  > - */
>  > +/dts-v1/;
>  >
>  >  / {
>  >       model = "schindler,cm5200";
>  > @@ -29,10 +25,10 @@
>  >               PowerPC,5200 at 0 {
>  >                       device_type = "cpu";
>  >                       reg = <0>;
>  > -                     d-cache-line-size = <20>;
>  > -                     i-cache-line-size = <20>;
>  > -                     d-cache-size = <4000>;          // L1, 16K
>  > -                     i-cache-size = <4000>;          // L1, 16K
>  > +                     d-cache-line-size = <32>;
>  > +                     i-cache-line-size = <32>;
>
>  Has the standard number format changed to decimal lately? Otherwise this
>  looks wrong. There are more occurences of this in the other dts files.

Yes, that is the major change in v1 of the dts format.  It uses C
style number format.

Cheers,
g.


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the Linuxppc-dev mailing list