On Tue, Jan 08, 2008 at 09:01:30AM -0700, John Rigby wrote:
> Bare minimum tree containing only
> what is currently supported.

[snip]
> +     cpus {
> +             #address-cells = <1>;
> +             #size-cells = <0>;
> +
> +             PowerPC,[EMAIL PROTECTED] {
> +                     device_type = "cpu";
> +                     reg = <0>;
> +                     d-cache-line-size = <20>;       // 32 bytes
> +                     i-cache-line-size = <20>;       // 32 bytes
> +                     d-cache-size = <8000>;          // L1, 32K
> +                     i-cache-size = <8000>;          // L1, 32K
> +                     ref-frequency = <3ef1480>;      // 66MHz ref clock
> +                     timebase-frequency = <2f34f60>; // 49.5MHz (396MHz/8) 
> makes time tick correctly
> +                     bus-frequency = <bcd3d80>;      // 198MHz csb bus
> +                     clock-frequency = <179a7b00>;   // 396MHz ppc core ??
> +                     32-bit;

The "32-bit" property was only ever added by mistake.  Drop it.

[snip]
> +     [EMAIL PROTECTED] {
> +             device_type = "board-control";

No device_type here.  But you should have a "compatible" property.

[snip]
> +     [EMAIL PROTECTED] {
> +             #address-cells = <1>;
> +             #size-cells = <1>;
> +             #interrupt-cells = <2>;
> +             device_type = "soc";
> +             ranges = <0 80000000 400000>;
> +             reg = <80000000 400000>;
> +             ref-frequency = <3ef1480>;      // 66MHz ref

What the hell is ref-frequency?  Unfortunately, you have to work with
existing broken practice for SoC nodes here, but the principle clock
frequency for any device should always be encoded in a property called
"clock-frequency".

[snip]
> +             ipic: [EMAIL PROTECTED] {

Should be "[EMAIL PROTECTED]"

> +                     interrupt-controller;
> +                     #address-cells = <0>;
> +                     #interrupt-cells = <2>;
> +                     reg = <c00 100>;
> +                     built-in;
> +                     device_type = "ipic";

Drop this device_type.  Should have a compatible value instead.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to