linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Zhao Chenhui <chenhui.zhao@freescale.com>
To: <linuxppc-dev@lists.ozlabs.org>
Subject: [PATCH 4/9] powerpc/mpc8548cds: Add NOR flash node to dts
Date: Tue, 6 Mar 2012 17:06:40 +0800	[thread overview]
Message-ID: <1331024805-15926-3-git-send-email-chenhui.zhao@freescale.com> (raw)
In-Reply-To: <1331024805-15926-1-git-send-email-chenhui.zhao@freescale.com>

From: chenhui zhao <chenhui.zhao@freescale.com>

Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
---
 arch/powerpc/boot/dts/mpc8548cds.dts |   40 +++++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc8548cds.dts b/arch/powerpc/boot/dts/mpc8548cds.dts
index 07b8dae..c3c8741 100644
--- a/arch/powerpc/boot/dts/mpc8548cds.dts
+++ b/arch/powerpc/boot/dts/mpc8548cds.dts
@@ -1,7 +1,7 @@
 /*
  * MPC8548 CDS Device Tree Source
  *
- * Copyright 2006, 2008 Freescale Semiconductor Inc.
+ * Copyright 2006, 2008, 2011 Freescale Semiconductor Inc.
  *
  * This program is free software; you can redistribute  it and/or modify it
  * under  the terms of  the GNU General  Public License as published by the
@@ -34,6 +34,44 @@
 
 	lbc: localbus@e0005000 {
 		reg = <0 0xe0005000 0 0x1000>;
+
+		ranges = <0x0 0x0 0x0 0xff000000 0x01000000>;
+
+		nor@0,0 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "cfi-flash";
+			reg = <0x0 0x0 0x01000000>;
+			bank-width = <2>;
+			device-width = <2>;
+
+			partition@0 {
+				reg = <0x0 0x0b00000>;
+				label = "ramdisk-nor";
+			};
+
+			partition@300000 {
+				reg = <0x0b00000 0x0400000>;
+				label = "kernel-nor";
+			};
+
+			partition@700000 {
+				reg = <0x0f00000 0x060000>;
+				label = "dtb-nor";
+			};
+
+			partition@760000 {
+				reg = <0x0f60000 0x020000>;
+				label = "env-nor";
+				read-only;
+			};
+
+			partition@780000 {
+				reg = <0x0f80000 0x080000>;
+				label = "u-boot-nor";
+				read-only;
+			};
+		};
 	};
 
 	soc: soc8548@e0000000 {
-- 
1.6.4.1

  parent reply	other threads:[~2012-03-06  9:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06  9:06 [PATCH 2/9] powerpc/mpc85xxcds: Fix PCI I/O space resource of PCI bridge Zhao Chenhui
2012-03-06  9:06 ` [PATCH 3/9] l2sram: Add compatible entry for mpc8548 Zhao Chenhui
2012-03-06  9:06 ` Zhao Chenhui [this message]
2012-03-16 20:22   ` [PATCH 4/9] powerpc/mpc8548cds: Add NOR flash node to dts Kumar Gala
2012-03-06  9:06 ` [PATCH 5/9] powerpc/mpc8548cds: Add RapidIO " Zhao Chenhui
2012-03-16 20:23   ` Kumar Gala
2012-03-06  9:06 ` [PATCH 6/9] powerpc/mpc8548cds: Add FPGA " Zhao Chenhui
2012-03-06 12:16   ` Kumar Gala
2012-03-07 16:22   ` Tabi Timur-B04825
2012-03-07 16:24   ` Timur Tabi
2012-03-16 20:22   ` Kumar Gala
2012-03-06  9:06 ` [PATCH 7/9] powerpc/mpc8548cds: fix alias in mpc8548si-pre.dtsi Zhao Chenhui
2012-03-16 20:23   ` Kumar Gala
2012-03-06  9:06 ` [PATCH 8/9] powerpc/mpc8548cds: rename mpc8548cds.dts to mpc8548cds_32b.dts and create mpc8548cds.dtsi Zhao Chenhui
2012-03-16 20:23   ` Kumar Gala
2012-03-06  9:06 ` [PATCH 9/9] powerpc/mpc8548cds: add 36-bit dts Zhao Chenhui
2012-03-16 20:23   ` Kumar Gala
2012-03-06 12:15 ` [PATCH 2/9] powerpc/mpc85xxcds: Fix PCI I/O space resource of PCI bridge Kumar Gala
2012-03-07  9:31   ` Zhao Chenhui-B35336
2012-03-07 10:45     ` Kumar Gala

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=1331024805-15926-3-git-send-email-chenhui.zhao@freescale.com \
    --to=chenhui.zhao@freescale.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).