Subject: Re: [PATCH RFC] tqm8560.dts: add local bus devices

From: Wolfgang Grandegger <[email-masked]>
Date: Sun, 06 Apr 2008 20:45:32 +0200

Wolfgang Grandegger wrote:
> Segher Boessenkool wrote:
>>> +                        partition@300000 {
>>> +                                label = "fs";
>>> +                                reg = <0x00300000 0x07c00000>;
>>> +                        };
>>> +                        partition@7700000 {
>>> +                                label = "firmware";
>>> +                                reg = <0x07700000 0x00100000>;
>> These two overlap; should the latter be @7f00000?
> 
> Yes, of course.
> 
>>> +        can@2,0 {
>>> +            device_type = "can";
>> No device_type please.
> 
> OK, but then I better use a more descriptive name for the compatible
> property, e.g.:
> 
> 	compatible = "can-i82527";	// Intel 82527 or Bosch CC770
> 
>>> +        nand@3,0 {
>>> +            #address-cells = <1>;
>>> +            #size-cells = <1>;
>>> +            compatible = "fsl,mpc8560-fcm-nand",
>>> +                         "fsl,elbc-fcm-nand";
>>> +            reg = <0x3 0x0 0x8000>;
>>> +
>>> +            kernel@0 {
>>> +                                label = "kernel";
>>> +                reg = <0x000000 0x0300000>;
>>> +            };
>>> +            fs@300000 {
>>> +                                label = "fs";
>>> +                reg = <0x300000 0x7d00000>;
>>> +            };
>>> +        };
>>> +    };
>> There should be a node that describes the nand chip between the nand
>> controller node and the partition nodes.
> 
> I took the mpc8378_*.dts files of 2.6.25-rc8 as example and there is no
> such node. Could you point me please to a more appropriate example.

In the meantime I realized, that the upcoming FSL UPM driver seems to be
appropriate for that board:

  http://ozlabs.org/pipermail/linuxppc-dev/2008-March/052890.html

What is the status of this driver? Are there already some boards using
it (including DTS file)?

Wolfgang.