[PATCH 1/3 v3] Add StorCenter DTS first draft.
Jon Loeliger
jdl at freescale.com
Wed Jan 23 09:54:46 EST 2008
Grant Likely wrote:
> On 1/22/08, Jon Loeliger <jdl at jdl.com> wrote:
>> Based on the Kurobox DTS files.
>>
>> Signed-off-by: Andy Wilcox <andy at protium.com>
>> Signed-off-by: Jon Loeliger <jdl at jdl.com>
>
> Comments below
>
>> +
>> +/ {
>> + model = "StorCenter";
>> + compatible = "storcenter";
>
> Be specific! "iomega,storcenter". Even better if you put in the model number.
As I mentioned vefore, there is no further model number.
That _is_ the model name.
>> +
>> + soc at fc000000 {
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> + device_type = "soc";
>
> device_type should be dropped (but I know that requires changes to the
> existing mpc82xx support code).
And when the code is fixed, we can fix the DTS too... :-)
>> + compatible = "fsl,mpc8241", "mpc10x";
>
> fsl,mpc8241-immr would be better; this node describes the internally
> memory mapped registers; not the entire soc.
Uh, whatever? :-) 'Cuz how many other DTS files say that?
>> +
>> + mpic: interrupt-controller at 40000 {
>> + #interrupt-cells = <2>;
>> + #address-cells = <0>;
>
> Is #address-cells needed? There are no child nodes.
I thought so. Could be wrong.
>> + chosen {
>> + linux,stdout-path = "/soc/serial at 4500";
>
> /soc at fc000000/ perhaps?
Not really necessary to specify the unit number.
jdl
More information about the Linuxppc-dev
mailing list