Hi!

On 10/08/07 11:51 +0200, Domen Puncer wrote:
> Index: work-powerpc.git/arch/powerpc/boot/dts/lite5200b.dts
> ===================================================================
> --- work-powerpc.git.orig/arch/powerpc/boot/dts/lite5200b.dts
> +++ work-powerpc.git/arch/powerpc/boot/dts/lite5200b.dts
> +             [EMAIL PROTECTED] {
> +                     #address-cells = <1>;
> +                     #size-cells = <0>;
> +                     device_type = "mdio";
> +                     compatible = "mpc5200b-fec-phy";
> +                     reg = <3000 400>;       // fec range, since we need to 
> setup fec interrupts
> +                     interrupts = <2 5 0>;   // these are for "mii command 
> finished", not link changes & co.
> +                     interrupt-parent = <&mpc5200_pic>;
> +
> +                     phy0:[EMAIL PROTECTED] {
> +                             device_type = "ethernet-phy";
> +                             reg = <0>;
> +                     };
>               };

I am struggling with this part on Efika.
I would like to add this to the device tree from
fixup_device_tree_efika() (arch/powerpc/kernel/prom_init.c).

AFAICS client-services doesn't offer anything like new-device,
so I guess "interpret" or "call-method" will have to be used.

I have read some docs, but I'm still wandering in the dark.
Can I please get an example?
Pretty please with a cherry on top?


        Domen
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to