[net-next-2.6 PATCH] can: SJA1000: generic OF platform bus driver

Grant Likely grant.likely at secretlab.ca
Fri May 22 14:42:07 EST 2009


On Wed, May 20, 2009 at 11:06 AM, Wolfgang Grandegger <wg at grandegger.com> wrote:
> This patch adds a generic driver for SJA1000 chips on the OpenFirmware
> platform bus found on embedded PowerPC systems. You need a SJA1000 node
> definition in your flattened device tree source (DTS) file similar to:
>
>   can at 3,100 {
>           compatible = "philips,sja1000";
>           reg = <3 0x100 0x80>;
>           clock-frequency = <8000000>;
>           cdr-reg = <0x48>;
>           ocr-reg = <0x0a>;
>           interrupts = <2 0>;
>           interrupt-parent = <&mpic>;
>   };

This new binding must be documented in Documentation/powerpc/dts-bindings

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the Linuxppc-dev mailing list