[PATCH 3/4] powerpc/p3060qds: Add support for P3060QDS board

Tabi Timur-B04825 B04825 at freescale.com
Thu Sep 15 07:17:49 EST 2011


On Thu, Sep 1, 2011 at 2:26 PM, Kumar Gala <galak at kernel.crashing.org> wrote:

> +       localbus at ffe124000 {
> +               reg = <0xf 0xfe124000 0 0x1000>;
> +               ranges = <0 0 0xf 0xe8000000 0x08000000>;
> +
> +               flash at 0,0 {
> +                       compatible = "cfi-flash";
> +                       reg = <0 0 0x08000000>;
> +                       bank-width = <2>;
> +                       device-width = <2>;
> +               };
> +
> +               nand at 2,0 {
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       compatible = "fsl,elbc-fcm-nand";
> +                       reg = <0x2 0x0 0x40000>;

The 'ranges' property is missing a line for the NAND device.  You need
something like this:

               ranges = <0 0 0xf 0xe8000000 0x08000000
     			       2 0 0xf 0xffa00000 0x00040000>;

I don't know if these are the right numbers, but the "2" line is missing.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Linuxppc-dev mailing list