From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 0D490DDDDB for ; Wed, 23 Jan 2008 03:44:47 +1100 (EST) Message-Id: <06AA1424-0697-4AF8-B843-945211A5B54A@kernel.crashing.org> From: Kumar Gala To: Wade Farnsworth In-Reply-To: <1201019917.5716.154.camel@rhino> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: [PATCH 1/2] Add flash node to mpc8641_hpcn.dts Date: Tue, 22 Jan 2008 10:44:15 -0600 References: <1201019917.5716.154.camel@rhino> Cc: linuxppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Jan 22, 2008, at 10:38 AM, Wade Farnsworth wrote: > Add flash and partition information to mpc8641_hpcn.dts > > Signed-off-by: Wade Farnsworth > > --- > arch/powerpc/boot/dts/mpc8641_hpcn.dts | 27 +++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/ > boot/dts/mpc8641_hpcn.dts > index a719179..679e857 100644 > --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts > +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts > @@ -457,4 +457,31 @@ > 0 00100000>; > }; > }; This really should be under a localbus node. - k > > + > + flash@ff800000 { > + compatible = "cfi-flash"; > + reg = ; > + bank-width = <2>; > + device-width = <2>; > + #address-cells = <1>; > + #size-cells = <1>; > + partition@0 { > + label = "kernel"; > + reg = <00000000 00300000>; > + }; > + partition@300000 { > + label = "firmware b"; > + reg = <00300000 00100000>; > + read-only; > + }; > + partition@400000 { > + label = "fs"; > + reg = <00400000 00300000>; > + }; > + partition@700000 { > + label = "firmware a"; > + reg = <00700000 00100000>; > + read-only; > + }; > + }; > }; >