From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <4A143896.7050200@grandegger.com> References: <4A143896.7050200@grandegger.com> From: Grant Likely Date: Thu, 21 May 2009 22:42:07 -0600 Message-ID: Subject: Re: [net-next-2.6 PATCH] can: SJA1000: generic OF platform bus driver To: Wolfgang Grandegger Content-Type: text/plain; charset=ISO-8859-1 Cc: Linux Netdev List , devicetree-discuss , linuxppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, May 20, 2009 at 11:06 AM, Wolfgang Grandegger w= rote: > 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: > > =A0 can@3,100 { > =A0 =A0 =A0 =A0 =A0 compatible =3D "philips,sja1000"; > =A0 =A0 =A0 =A0 =A0 reg =3D <3 0x100 0x80>; > =A0 =A0 =A0 =A0 =A0 clock-frequency =3D <8000000>; > =A0 =A0 =A0 =A0 =A0 cdr-reg =3D <0x48>; > =A0 =A0 =A0 =A0 =A0 ocr-reg =3D <0x0a>; > =A0 =A0 =A0 =A0 =A0 interrupts =3D <2 0>; > =A0 =A0 =A0 =A0 =A0 interrupt-parent =3D <&mpic>; > =A0 }; This new binding must be documented in Documentation/powerpc/dts-bindings g. --=20 Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.