linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PowerPC 44x: Add NOR flash entry to Canyonlands DTS.
@ 2008-04-17 19:37 Valentine Barshak
  2008-04-18 14:26 ` Stefan Roese
  0 siblings, 1 reply; 5+ messages in thread
From: Valentine Barshak @ 2008-04-17 19:37 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: sr

This patch adds NOR flash entry to the PowerPC 460EX Canyonlands DTS.

Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
---
 arch/powerpc/boot/dts/canyonlands.dts |   36 ++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+)

diff -pruN powerpc/arch/powerpc/boot/dts/canyonlands.dts powerpc.new/arch/powerpc/boot/dts/canyonlands.dts
--- powerpc/arch/powerpc/boot/dts/canyonlands.dts	2008-04-14 22:07:26.000000000 +0400
+++ powerpc.new/arch/powerpc/boot/dts/canyonlands.dts	2008-04-17 23:07:39.000000000 +0400
@@ -144,6 +144,42 @@
 				clock-frequency = <0>; /* Filled in by U-Boot */
 				interrupts = <6 4>;
 				interrupt-parent = <&UIC1>;
+
+				nor_flash@0,0 {
+					compatible = "amd,s29gl512n", "cfi-flash";
+					bank-width = <2>;
+					reg = <0 000000 4000000>;
+					#address-cells = <1>;
+					#size-cells = <1>;
+					partition@0 {
+						label = "unavailable";
+						reg = <0 3000000>;
+					};
+					partition@3000000 {
+						label = "kernel";
+						reg = <3000000 1e0000>;
+					};
+					partition@31e0000 {
+						label = "fdt";
+						reg = <31e0000 20000>;
+					};
+					partition@3200000 {
+						label = "ramdisk";
+						reg = <3200000 700000>;
+					};
+					partition@3900000 {
+						label = "unused";
+						reg = <3900000 660000>;
+					};
+					partition@3f60000 {
+						label = "env";
+						reg = <3f60000 40000>;
+					};
+					partition@3fa0000 {
+						label = "u-boot";
+						reg = <3fa0000 60000>;
+					};
+				};				
 			};
 
 			UART0: serial@ef600300 {

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] PowerPC 44x: Add NOR flash entry to Canyonlands DTS.
  2008-04-17 19:37 [PATCH] PowerPC 44x: Add NOR flash entry to Canyonlands DTS Valentine Barshak
@ 2008-04-18 14:26 ` Stefan Roese
  2008-04-18 15:20   ` Valentine Barshak
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Roese @ 2008-04-18 14:26 UTC (permalink / raw)
  To: Valentine Barshak; +Cc: linuxppc-dev

On Thursday 17 April 2008, Valentine Barshak wrote:
> This patch adds NOR flash entry to the PowerPC 460EX Canyonlands DTS.

Right, I forgot to add this. But the partition names and sizes are a little 
different from those we used before (e.g. kilauea). I'll send a patch to 
update the Canyonlands & Glacier dts files in a short while.

Thanks.

Best regards,
Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] PowerPC 44x: Add NOR flash entry to Canyonlands DTS.
  2008-04-18 14:26 ` Stefan Roese
@ 2008-04-18 15:20   ` Valentine Barshak
  2008-04-18 16:38     ` Stefan Roese
  0 siblings, 1 reply; 5+ messages in thread
From: Valentine Barshak @ 2008-04-18 15:20 UTC (permalink / raw)
  To: Stefan Roese; +Cc: linuxppc-dev

Stefan Roese wrote:
> On Thursday 17 April 2008, Valentine Barshak wrote:
>> This patch adds NOR flash entry to the PowerPC 460EX Canyonlands DTS.
> 
> Right, I forgot to add this. But the partition names and sizes are a little 
> different from those we used before (e.g. kilauea). I'll send a patch to 
> update the Canyonlands & Glacier dts files in a short while.
> 

I've got these partition names and sizes form amcc site.
They seem to correspond to u-boot environment my board has.
Are these incorrect?
Thanks,
Valentine.

> Thanks.
> 
> Best regards,
> Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] PowerPC 44x: Add NOR flash entry to Canyonlands DTS.
  2008-04-18 15:20   ` Valentine Barshak
@ 2008-04-18 16:38     ` Stefan Roese
  2008-04-18 16:50       ` Valentine Barshak
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Roese @ 2008-04-18 16:38 UTC (permalink / raw)
  To: Valentine Barshak; +Cc: linuxppc-dev

On Friday 18 April 2008, Valentine Barshak wrote:
> > Right, I forgot to add this. But the partition names and sizes are a
> > little different from those we used before (e.g. kilauea). I'll send a
> > patch to update the Canyonlands & Glacier dts files in a short while.
>
> I've got these partition names and sizes form amcc site.
> They seem to correspond to u-boot environment my board has.

I see. I'll check with AMCC on what really to use here.

> Are these incorrect?

Yes, these values are incorrect because of some problems with NOR FLASH on the 
first preliminary board ports. This is fixed now.

I'll come up with some new patches shortly.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] PowerPC 44x: Add NOR flash entry to Canyonlands DTS.
  2008-04-18 16:38     ` Stefan Roese
@ 2008-04-18 16:50       ` Valentine Barshak
  0 siblings, 0 replies; 5+ messages in thread
From: Valentine Barshak @ 2008-04-18 16:50 UTC (permalink / raw)
  To: Stefan Roese; +Cc: linuxppc-dev

Stefan Roese wrote:
> On Friday 18 April 2008, Valentine Barshak wrote:
>>> Right, I forgot to add this. But the partition names and sizes are a
>>> little different from those we used before (e.g. kilauea). I'll send a
>>> patch to update the Canyonlands & Glacier dts files in a short while.
>> I've got these partition names and sizes form amcc site.
>> They seem to correspond to u-boot environment my board has.
> 
> I see. I'll check with AMCC on what really to use here.
> 
>> Are these incorrect?
> 
> Yes, these values are incorrect because of some problems with NOR FLASH on the 
> first preliminary board ports. This is fixed now.
> 
> I'll come up with some new patches shortly.
> 

OK thanks a lot,
Valentine.

> Best regards,
> Stefan
> 
> =====================================================================
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office@denx.de
> =====================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-18 16:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-17 19:37 [PATCH] PowerPC 44x: Add NOR flash entry to Canyonlands DTS Valentine Barshak
2008-04-18 14:26 ` Stefan Roese
2008-04-18 15:20   ` Valentine Barshak
2008-04-18 16:38     ` Stefan Roese
2008-04-18 16:50       ` Valentine Barshak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).