Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-30 Thread Németh Márton
Hi, Grant Likely wrote: 2010/3/13 Németh Márton nm...@freemail.hu: [...] + }; + + e...@3fc { // Enhanced Time Processing Unit + compatible = fsl,mpc5554-etpu; + reg =

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-22 Thread Németh Márton
Hi Grant, thanks for the comments, I solved some of the points you mentioned. I need some more time to work on the others. In the meantime I send the intermediate version. Grant Likely wrote: 2010/3/13 Németh Márton nm...@freemail.hu: [...] + mem...@4000 { +

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-22 Thread Grant Likely
2010/3/22 Németh Márton nm...@freemail.hu: Hi Grant, thanks for the comments, I solved some of the points you mentioned. I need some more time to work on the others. In the meantime I send the intermediate version. Grant Likely wrote: 2010/3/13 Németh Márton nm...@freemail.hu: [...] +

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-22 Thread Németh Márton
Grant Likely wrote: 2010/3/22 Németh Márton nm...@freemail.hu: Hi Grant, thanks for the comments, I solved some of the points you mentioned. I need some more time to work on the others. In the meantime I send the intermediate version. Grant Likely wrote: 2010/3/13 Németh Márton

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-17 Thread Németh Márton
Hi Grant, David and Segher, is there any comments or suggestions about this MPC5554 device tree? Regards, Márton Németh Németh Márton wrote: Hi, here is a version with modified cpu node, xbar ranges and added interrupt sources. Please send comments. Regards, Márton

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-17 Thread Grant Likely
2010/3/13 Németh Márton nm...@freemail.hu: Hi, here is a version with modified cpu node, xbar ranges and added interrupt sources. Please send comments. Hi Márton. A few comments below. --- From: Márton Németh nm...@freemail.hu Add device tree for Freescale MPC5554. Signed-off-by:

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-13 Thread Németh Márton
Hi, here is a version with modified cpu node, xbar ranges and added interrupt sources. Please send comments. Regards, Márton Németh --- From: Márton Németh nm...@freemail.hu Add device tree for Freescale MPC5554. Signed-off-by: Márton Németh nm...@freemail.hu --- diff -uprN

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-12 Thread Grant Likely
2010/3/11 Németh Márton nm...@freemail.hu: Hi, thank you for the comments, I reworked the Freescale MPC5554 device tree accordingly. I'm listening for comments on this draft. Regards,        Márton Németh --- From: Márton Németh nm...@freemail.hu Add device tree for Freescale MPC5554.

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-12 Thread David Gibson
On Fri, Mar 12, 2010 at 05:14:56AM -0700, Grant Likely wrote: 2010/3/11 Németh Márton nm...@freemail.hu: [snip] + +       cpus { +               #address-cells = 1; +               #size-cells = 0; + +               c...@0 { +                       device_type = cpu; +            

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-12 Thread Grant Likely
On Fri, Mar 12, 2010 at 3:36 PM, David Gibson da...@gibson.dropbear.id.au wrote: On Fri, Mar 12, 2010 at 05:14:56AM -0700, Grant Likely wrote: 2010/3/11 Németh Márton nm...@freemail.hu: [snip] + +       cpus { +               #address-cells = 1; +               #size-cells = 0; + +  

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-12 Thread Segher Boessenkool
The historical background here is that in the original OF spec, driver matching was done on node name, and only then on compatible. Essentially the node name was treated as an implicit first entry in the compatible list. The the generic names convention came along, and instead name became a

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-12 Thread Segher Boessenkool
In this particular case, we're talking about a part that has never previously been described in a device tree. So, since this is something entirely new, what is the value in preserving the PowerPC, style when there isn't any code that will be relying on it? There could be code that

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-11 Thread Németh Márton
Hi, thank you for the comments, I reworked the Freescale MPC5554 device tree accordingly. I'm listening for comments on this draft. Regards, Márton Németh --- From: Márton Németh nm...@freemail.hu Add device tree for Freescale MPC5554. Signed-off-by: Márton Németh nm...@freemail.hu

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-10 Thread Németh Márton
Grant Likely wrote: 2010/3/9 Németh Márton nm...@freemail.hu: Hi, Grant Likely wrote: 2010/3/8 Németh Márton nm...@freemail.hu: [snip] As far as I could find out I'll need to create a device tree as documented in the linux/Documentation/powerpc/booting-without-of.txt file. Yes, you'll

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-10 Thread David Gibson
On Thu, Mar 11, 2010 at 07:11:56AM +0100, Németh Márton wrote: [snip] +/dts-v1/; + +/ { + model = MPC5554; + compatible = fsl,MPC5554EVB; // Freescale MPC5554 Evaluation Board + #address-cells = 1; + #size-cells = 1; + + cpus { + #address-cells