From: Anton Vorontsov <avorontsov@ru•mvista.com>
To: Kumar Gala <galak@kernel•crashing.org>
Cc: linuxppc-dev@ozlabs•org, Haiying Wang <Haiying.Wang@freescale•com>
Subject: [PATCH 5/6] powerpc/85xx: Enable Serial RapidIO for MPC85xx MDS boards
Date: Sat, 2 May 2009 06:16:56 +0400 [thread overview]
Message-ID: <20090502021656.GE18281@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <20090502021611.GA17570@oksana.dev.rtsoft.ru>
Select HAS_RAPIDIO symbol and add rio nodes for MPC8568E-MDS
and MPC8569E-MDS boards.
Signed-off-by: Anton Vorontsov <avorontsov@ru•mvista.com>
---
arch/powerpc/boot/dts/mpc8568mds.dts | 17 +++++++++++++++++
arch/powerpc/boot/dts/mpc8569mds.dts | 17 +++++++++++++++++
arch/powerpc/platforms/85xx/Kconfig | 1 +
3 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/boot/dts/mpc8568mds.dts
index fcab168..473fce6 100644
--- a/arch/powerpc/boot/dts/mpc8568mds.dts
+++ b/arch/powerpc/boot/dts/mpc8568mds.dts
@@ -26,6 +26,7 @@
serial1 = &serial1;
pci0 = &pci0;
pci1 = &pci1;
+ rapidio0 = &rio0;
};
cpus {
@@ -539,4 +540,20 @@
0x0 0x800000>;
};
};
+
+ rio0: rapidio@e00c00000 {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ compatible = "fsl,mpc8568-rapidio", "fsl,rapidio-delta";
+ reg = <0xe00c0000 0x20000>;
+ ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
+ interrupts = <48 2 /* error */
+ 49 2 /* bell_outb */
+ 50 2 /* bell_inb */
+ 53 2 /* msg1_tx */
+ 54 2 /* msg1_rx */
+ 55 2 /* msg2_tx */
+ 56 2 /* msg2_rx */>;
+ interrupt-parent = <&mpic>;
+ };
};
diff --git a/arch/powerpc/boot/dts/mpc8569mds.dts b/arch/powerpc/boot/dts/mpc8569mds.dts
index 14120d7..975f2c5 100644
--- a/arch/powerpc/boot/dts/mpc8569mds.dts
+++ b/arch/powerpc/boot/dts/mpc8569mds.dts
@@ -25,6 +25,7 @@
ethernet2 = &enet2;
ethernet3 = &enet3;
pci1 = &pci1;
+ rapidio0 = &rio0;
};
cpus {
@@ -528,4 +529,20 @@
0x0 0x800000>;
};
};
+
+ rio0: rapidio@e00c00000 {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ compatible = "fsl,mpc8569-rapidio", "fsl,rapidio-delta";
+ reg = <0xe00c0000 0x20000>;
+ ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
+ interrupts = <48 2 /* error */
+ 49 2 /* bell_outb */
+ 50 2 /* bell_inb */
+ 53 2 /* msg1_tx */
+ 54 2 /* msg1_rx */
+ 55 2 /* msg2_tx */
+ 56 2 /* msg2_rx */>;
+ interrupt-parent = <&mpic>;
+ };
};
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
index 7f066ad..43d385c 100644
--- a/arch/powerpc/platforms/85xx/Kconfig
+++ b/arch/powerpc/platforms/85xx/Kconfig
@@ -34,6 +34,7 @@ config MPC85xx_MDS
bool "Freescale MPC85xx MDS"
select DEFAULT_UIMAGE
select PHYLIB
+ select HAS_RAPIDIO
help
This option enables support for the MPC85xx MDS board
--
1.6.2.2
next prev parent reply other threads:[~2009-05-02 2:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-02 2:16 [PATCH 0/6] Some fixes and enhancements for MPC8569E-MDS boards Anton Vorontsov
2009-05-02 2:16 ` [PATCH 1/6] powerpc/85xx: Add PCI IDs for MPC8569 family processors Anton Vorontsov
2009-05-08 14:10 ` Kumar Gala
2009-05-02 2:16 ` [PATCH 2/6] powerpc/85xx: Fix mpc8569emds' crypto node to include SNOW unit Anton Vorontsov
2009-05-08 14:11 ` Kumar Gala
2009-05-02 2:16 ` [PATCH 3/6] powerpc/85xx: Fix reg and interrupts for mpc8569emds' localbus, add NAND Anton Vorontsov
2009-05-08 14:11 ` Kumar Gala
2009-05-02 2:16 ` [PATCH 4/6] powerpc/85xx: Add eSDHC support for MPC8569E-MDS boards Anton Vorontsov
2009-05-08 14:14 ` Kumar Gala
2009-05-02 2:16 ` Anton Vorontsov [this message]
2009-05-08 14:14 ` [PATCH 5/6] powerpc/85xx: Enable Serial RapidIO for MPC85xx MDS boards Kumar Gala
2009-05-02 2:16 ` [PATCH 6/6] powerpc/85xx: Add STMicro M25P40 serial flash support for MPC8569E-MDS Anton Vorontsov
2009-05-08 14:13 ` 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=20090502021656.GE18281@oksana.dev.rtsoft.ru \
--to=avorontsov@ru$(echo .)mvista.com \
--cc=Haiying.Wang@freescale$(echo .)com \
--cc=galak@kernel$(echo .)crashing.org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/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