Skip to contentSkip to conversation

Add RapidIO node into MPC8641HPCN dts file

PATCH In review [email protected] 2 participants 3 messages Jan 31, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Add RapidIO node into MPC8641HPCN dts file

From: Zhang Wei <[email protected]>

---
 arch/powerpc/boot/dts/mpc8641_hpcn.dts |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
arch/powerpc/boot/dts/mpc8641_hpcn.dts +13 -0
index 556a9ca..1a0fce5 100644
@@ -25,6 +25,7 @@
 		serial1 = &serial1;
 		pci0 = &pci0;
 		pci1 = &pci1;
+		rapidio0 = &rapidio0;
 	};
 
 	cpus {
@@ -499,4 +500,16 @@
 				  0 00100000>;
 		};
 	};
+
+	rapidio0: rapidio@f80c0000 {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		compatible = "fsl,rapidio-delta";
+		reg = <f80c0000 20000>;
+		ranges = <0 0 c0000000 0 20000000>;
+		interrupt-parent = <&mpic>;
+		/* err_irq bell_outb_irq bell_inb_irq
+			msg1_tx_irq msg1_rx_irq	msg2_tx_irq msg2_rx_irq */
+		interrupts = <30 2 31 2 32 2 35 2 36 2 37 2 38 2>;
+	};
 };
Signature · 1 line
1.5.2
#1 lore raw

PATCH 2/2 Add RapidIO node probing into MPC86xx_HPCN board id table.

From: Zhang Wei <[email protected]>

---
 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c +1 -0
index cfbe8c5..4a3e421 100644
@@ -215,6 +215,7 @@ mpc86xx_time_init(void)
 
 static __initdata struct of_device_id of_bus_ids[] = {
 	{ .compatible = "simple-bus", },
+	{ .compatible = "fsl,rapidio-delta", },
 	{},
 };
 
Signature · 1 line
1.5.2
#2 lore raw
In reply to [email protected]

Sorry for wrong sending name of this and next email.

Best Regards,
Wei.=20

Quoted 49 lines

-----Original Message-----
From: y [mailto:y]=20
Sent: Thursday, January 31, 2008 3:45 PM
To: [email protected]
Cc: [email protected]; Zhang Wei
Subject: [PATCH 1/2] Add RapidIO node into MPC8641HPCN dts file =20
From: Zhang Wei <[email protected]>
=20

---
 arch/powerpc/boot/dts/mpc8641_hpcn.dts |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

=20

arch/powerpc/boot/dts/mpc8641_hpcn.dts +1 -0
index 556a9ca..1a0fce5 100644
@@ -25,6 +25,7 @@
 		serial1 =3D &serial1;
 		pci0 =3D &pci0;
 		pci1 =3D &pci1;
+		rapidio0 =3D &rapidio0;
 	};

=20

arch/powerpc/boot/dts/mpc8641_hpcn.dts +10 -0
 	cpus {
@@ -499,4 +500,16 @@
 				  0 00100000>;
 		};
 	};
+
+	rapidio0: rapidio@f80c0000 {
+		#address-cells =3D <2>;
+		#size-cells =3D <2>;
+		compatible =3D "fsl,rapidio-delta";
+		reg =3D <f80c0000 20000>;
+		ranges =3D <0 0 c0000000 0 20000000>;
+		interrupt-parent =3D <&mpic>;
+		/* err_irq bell_outb_irq bell_inb_irq
+			msg1_tx_irq msg1_rx_irq	msg2_tx_irq=20

msg2_rx_irq */

arch/powerpc/boot/dts/mpc8641_hpcn.dts +2 -1
+		interrupts =3D <30 2 31 2 32 2 35 2 36 2 37 2 38 2>;
+	};
 };
--=20

1.5.2
=20
=20