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 5/9] powerpc/mpc8548cds: Add RapidIO node to dts
Date: Tue, 6 Mar 2012 17:06:41 +0800	[thread overview]
Message-ID: <1331024805-15926-4-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>

Enable RapidIO and add rapidio and rmu nodes to dts.

Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
---
 arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi |   16 ++++++++++++++++
 arch/powerpc/boot/dts/mpc8548cds.dts          |    7 +++++++
 arch/powerpc/platforms/85xx/Kconfig           |    1 +
 3 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi b/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi
index 9d8023a..579d76c 100644
--- a/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi
@@ -89,6 +89,21 @@
 	};
 };
 
+&rio {
+	compatible = "fsl,srio";
+	interrupts = <48 2 0 0>;
+	#address-cells = <2>;
+	#size-cells = <2>;
+	fsl,srio-rmu-handle = <&rmu>;
+	ranges;
+
+	port1 {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		cell-index = <1>;
+	};
+};
+
 &soc {
 	#address-cells = <1>;
 	#size-cells = <1>;
@@ -134,6 +149,7 @@
 
 /include/ "pq3-sec2.1-0.dtsi"
 /include/ "pq3-mpic.dtsi"
+/include/ "pq3-rmu-0.dtsi"
 
 	global-utilities@e0000 {
 		compatible = "fsl,mpc8548-guts";
diff --git a/arch/powerpc/boot/dts/mpc8548cds.dts b/arch/powerpc/boot/dts/mpc8548cds.dts
index c3c8741..8d4df8e 100644
--- a/arch/powerpc/boot/dts/mpc8548cds.dts
+++ b/arch/powerpc/boot/dts/mpc8548cds.dts
@@ -339,6 +339,13 @@
 				  0x0 0x100000>;
 		};
 	};
+
+	rio: rapidio@e00c0000 {
+		reg = <0x0 0xe00c0000 0x0 0x20000>;
+		port1 {
+			ranges = <0x0 0x0 0x0 0xc0000000 0x0 0x20000000>;
+		};
+	};
 };
 
 /include/ "fsl/mpc8548si-post.dtsi"
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
index d7946be..631dfd8 100644
--- a/arch/powerpc/platforms/85xx/Kconfig
+++ b/arch/powerpc/platforms/85xx/Kconfig
@@ -30,6 +30,7 @@ config MPC85xx_CDS
 	bool "Freescale MPC85xx CDS"
 	select DEFAULT_UIMAGE
 	select PPC_I8259
+	select HAS_RAPIDIO
 	help
 	  This option enables support for the MPC85xx CDS board
 
-- 
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 ` [PATCH 4/9] powerpc/mpc8548cds: Add NOR flash node to dts Zhao Chenhui
2012-03-16 20:22   ` Kumar Gala
2012-03-06  9:06 ` Zhao Chenhui [this message]
2012-03-16 20:23   ` [PATCH 5/9] powerpc/mpc8548cds: Add RapidIO " 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-4-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).