RE: [PATCH 3/4] powerpc/p3060qds: Add support for P3060QDS board
From: Liu Shengzhou-B36685 <hidden>
Date: 2011-09-15 02:23:03
This patch was obsolete, please see http://linux.freescale.net/patchwork/pa= tch/12224/ posted on Sep 9.
-----Original Message----- From: Tabi Timur-B04825 Sent: Thursday, September 15, 2011 5:18 AM To: Kumar Gala Cc: linuxppc-dev@ozlabs.org; Liu Shengzhou-B36685 Subject: Re: [PATCH 3/4] powerpc/p3060qds: Add support for P3060QDS board =20 On Thu, Sep 1, 2011 at 2:26 PM, Kumar Gala [off-list ref] wrote: =20quoted
+ =A0 =A0 =A0 localbus@ffe124000 { + =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0xf 0xfe124000 0 0x1000>; + =A0 =A0 =A0 =A0 =A0 =A0 =A0 ranges =3D <0 0 0xf 0xe8000000 0x08000000=;quoted
+ + =A0 =A0 =A0 =A0 =A0 =A0 =A0 flash@0,0 { + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 compatible =3D "cfi-flash=
";
quoted
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0 0 0x08000000>; + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 bank-width =3D <2>; + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 device-width =3D <2>; + =A0 =A0 =A0 =A0 =A0 =A0 =A0 }; + + =A0 =A0 =A0 =A0 =A0 =A0 =A0 nand@2,0 { + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #address-cells =3D <1>; + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #size-cells =3D <1>; + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 compatible =3D "fsl,elbc-=
fcm-nand";
quoted
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0x2 0x0 0x40000>=
;
=20
The 'ranges' property is missing a line for the NAND device. You need
something like this:
=20
ranges =3D <0 0 0xf 0xe8000000 0x08000000
2 0 0xf 0xffa00000 0x00040000>;
=20
I don't know if these are the right numbers, but the "2" line is missing.
=20
--
Timur Tabi
Linux kernel developer at Freescale