From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailrelay005.isp.belgacom.be (mailrelay005.isp.belgacom.be [195.238.6.171]) by ozlabs.org (Postfix) with ESMTP id 0585CDDF24 for ; Tue, 1 Apr 2008 23:38:11 +1100 (EST) From: Laurent Pinchart To: linuxppc-dev@ozlabs.org Subject: [PATCHv4 4/5] ep8248e: Reference SMC parameter RAM base in the device tree. Date: Tue, 1 Apr 2008 14:35:23 +0200 References: <200804011433.29841.laurentp@cse-semaphore.com> In-Reply-To: <200804011433.29841.laurentp@cse-semaphore.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1506090.dKyUV8eqDc"; protocol="application/pgp-signature"; micalg=pgp-sha1 Message-Id: <200804011435.23523.laurentp@cse-semaphore.com> Cc: Scott Wood List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --nextPart1506090.dKyUV8eqDc Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This patch modifies the Embedded Planet EP8248E device tree to reference the SMC paramater RAM base register instead of the parameter RAM allocated by t= he boot loader. The cpm_uart driver will allocate parameter RAM itself, making the serial p= ort initialisation independent of the boot loader. The patch adds the parameter RAM allocated by the boot loader in the CPM mu= ram node, making it available to the kernel. Signed-off-by: Laurent Pinchart =2D-- arch/powerpc/boot/dts/ep8248e.dts | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/boot/dts/ep8248e.dts b/arch/powerpc/boot/dts/ep82= 48e.dts index 5d2fb76..756758f 100644 =2D-- a/arch/powerpc/boot/dts/ep8248e.dts +++ b/arch/powerpc/boot/dts/ep8248e.dts @@ -121,8 +121,7 @@ =20 data@0 { compatible =3D "fsl,cpm-muram-data"; =2D reg =3D <0 0x1100 0x1140 =2D 0xec0 0x9800 0x800>; + reg =3D <0 0x2000 0x9800 0x800>; }; }; =20 @@ -138,7 +137,7 @@ device_type =3D "serial"; compatible =3D "fsl,mpc8248-smc-uart", "fsl,cpm2-smc-uart"; =2D reg =3D <0x11a80 0x20 0x1100 0x40>; + reg =3D <0x11a80 0x20 0x87fc 2>; interrupts =3D <4 8>; interrupt-parent =3D <&PIC>; fsl,cpm-brg =3D <7>; =2D-=20 1.5.0 =2D-=20 Laurent Pinchart CSE Semaphore Belgium Chauss=C3=A9e de Bruxelles, 732A B-1410 Waterloo Belgium T +32 (2) 387 42 59 =46 +32 (2) 387 42 75 --nextPart1506090.dKyUV8eqDc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBH8iwL8y9gWxC9vpcRAhdyAJ0VNLPMsdERimhucUo6AYFkKJ0OsgCg1HXp 0r4v8snQnavTtuqIqwx9ASA= =Z435 -----END PGP SIGNATURE----- --nextPart1506090.dKyUV8eqDc--