public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Valentine Barshak <vbarshak@ru•mvista.com>
To: linuxppc-dev@ozlabs•org
Cc: sr@denx•de
Subject: [PATCH] PowerPC 44x: Add NOR flash entry to Canyonlands DTS.
Date: Thu, 17 Apr 2008 23:37:44 +0400	[thread overview]
Message-ID: <20080417193744.GA17524@ru.mvista.com> (raw)

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 {

             reply	other threads:[~2008-04-17 19:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17 19:37 Valentine Barshak [this message]
2008-04-18 14:26 ` [PATCH] PowerPC 44x: Add NOR flash entry to Canyonlands DTS Stefan Roese
2008-04-18 15:20   ` Valentine Barshak
2008-04-18 16:38     ` Stefan Roese
2008-04-18 16:50       ` Valentine Barshak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080417193744.GA17524@ru.mvista.com \
    --to=vbarshak@ru$(echo .)mvista.com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=sr@denx$(echo .)de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox