Add RapidIO node into MPC8641HPCN dts file
Subsystems (2)
PATCH 1/2 Add RapidIO node into MPC8641HPCN dts file
--- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-)
arch/powerpc/boot/dts/mpc8641_hpcn.dts +13 -0
@@ -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
PATCH 2/2 Add RapidIO node probing into MPC86xx_HPCN board id table.
--- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c +1 -0
@@ -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
Quoted 17 lines · Zhang Wei
Signed-off-by 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 +3
-0@@ -499,4 +500,16 @@ 0 00100000>; }; }; + + rapidio0: rapidio@f80c0000 { + #address-cells = <2>;
arch/powerpc/boot/dts/mpc8641_hpcn.dts line 515
Quoted 10 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +9
-0+ #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>; + }; };
Have updates to the booting-without-of.txt file for been made or proposed for the RapidIO node definition?
jdl
=20
Quoted 30 lines
-----Original Message-----
From: Loeliger Jon=20
=20Review
Quoted 6 lines · Zhang Wei
Signed-off-by Zhang Wei <[email protected]>--- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-)=20
(quoted diff) +0
-0
b/arch/powerpc/boot/dts/mpc8641_hpcn.dtsarch/powerpc/boot/dts/mpc8641_hpcn.dts
Quoted 3 lines
index 556a9ca..1a0fce5 100644
arch/powerpc/boot/dts/mpc8641_hpcn.dts +0
-0=20
Quoted 4 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +0
-0@@ -499,4 +500,16 @@ 0 00100000>; }; };arch/powerpc/boot/dts/mpc8641_hpcn.dts line 512
Quoted 10 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +10
-0+ + 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*/
Quoted 7 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts line 515
Quoted 3 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +2
-0+ interrupts =3D <30 2 31 2 32 2 35 2 36 2 37 2 38 2>; + }; };=20
Have updates to the booting-without-of.txt file for been made or proposed for the RapidIO node definition? =20
I remember Kumar has a patch for RapidIO node of booting-without-of.txt, = is it?
Cheers!
Wei.
Quoted 32 lines · Zhang Wei
Quoted 32 lines
-----Original Message-----
From: Loeliger JonReview
Quoted 6 lines · Zhang Wei
Signed-off-by Zhang Wei <[email protected]>---
arch/powerpc/boot/dts/mpc8641_hpcn.dts| 13 +++++++++++++1 files changed, 13 insertions(+), 0 deletions(-)(quoted diff) +0
-0
b/arch/powerpc/boot/dts/mpc8641_hpcn.dtsQuoted 8 lines
index 556a9ca..1a0fce5 100644
arch/powerpc/boot/dts/mpc8641_hpcn.dts +0
-0@@ -499,4 +500,16 @@ 0 00100000>; }; };arch/powerpc/boot/dts/mpc8641_hpcn.dts line 512
Quoted 10 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +10
-0+ + 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*/
Quoted 8 lines
Quoted 7 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts line 515
Quoted 3 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +2
-0+ interrupts = <30 2 31 2 32 2 35 2 36 2 37 2 38 2>; + }; };Have updates to the booting-without-of.txt file for been made or proposed for the RapidIO node definition?
I remember Kumar has a patch for RapidIO node of booting-without-of.txt, is it?
I do.. I'll post it and update the .dts patch once I sort through all the patches.
- k
Quoted 24 lines · Zhang Wei
Signed-off-by 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 +4
-0@@ -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>;
arch/powerpc/boot/dts/mpc8641_hpcn.dts line 515
Quoted 10 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +9
-0+ #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>; + }; };
The 8641 DTS file has been converted to /dts-v1/ format now. Please rewrite this patch with explicit hex numbers for addresses, even if 0x0, and decimal for IRQs.
Thanks,
jdl
Hi, Jon,=20
Quoted 37 lines
-----Original Message-----
From: Loeliger Jon=20
=20Review
Quoted 6 lines · Zhang Wei
Signed-off-by Zhang Wei <[email protected]>--- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-)=20
(quoted diff) +0
-0
b/arch/powerpc/boot/dts/mpc8641_hpcn.dtsQuoted 15 lines
index 556a9ca..1a0fce5 100644
arch/powerpc/boot/dts/mpc8641_hpcn.dts +1
-0@@ -25,6 +25,7 @@ serial1 =3D &serial1; pci0 =3D &pci0; pci1 =3D &pci1; + rapidio0 =3D &rapidio0; };=20
arch/powerpc/boot/dts/mpc8641_hpcn.dts +0
-0cpus {@@ -499,4 +500,16 @@ 0 00100000>; }; };arch/powerpc/boot/dts/mpc8641_hpcn.dts line 512
Quoted 10 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +10
-0+ + 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*/
Quoted 8 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts line 515
Quoted 3 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +2
-0+ interrupts =3D <30 2 31 2 32 2 35 2 36 2 37 2 38 2>; + }; };=20
The 8641 DTS file has been converted to /dts-v1/ format now. Please rewrite this patch with explicit hex numbers for addresses, even if0x0, and decimal for IRQs.
=20
Thanks! I'm dropped by fashion. :) I'll re-do them.
Cheers!
Wei.
Hi, Jon,=20
Quoted 37 lines
-----Original Message-----
From: Loeliger Jon=20
=20Review
Quoted 6 lines · Zhang Wei
Signed-off-by Zhang Wei <[email protected]>--- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-)=20
(quoted diff) +0
-0
b/arch/powerpc/boot/dts/mpc8641_hpcn.dtsQuoted 15 lines
index 556a9ca..1a0fce5 100644
arch/powerpc/boot/dts/mpc8641_hpcn.dts +1
-0@@ -25,6 +25,7 @@ serial1 =3D &serial1; pci0 =3D &pci0; pci1 =3D &pci1; + rapidio0 =3D &rapidio0; };=20
arch/powerpc/boot/dts/mpc8641_hpcn.dts +0
-0cpus {@@ -499,4 +500,16 @@ 0 00100000>; }; };arch/powerpc/boot/dts/mpc8641_hpcn.dts line 512
Quoted 10 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +10
-0+ + 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*/
Quoted 8 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts line 515
Quoted 3 lines
arch/powerpc/boot/dts/mpc8641_hpcn.dts +2
-0+ interrupts =3D <30 2 31 2 32 2 35 2 36 2 37 2 38 2>; + }; };=20
The 8641 DTS file has been converted to /dts-v1/ format now. Please rewrite this patch with explicit hex numbers for addresses, even if0x0, and decimal for IRQs.
=20
I have seen other nodes in mpc8641_hpcn.dts still use old style.
Is it better to create an another new patch for correcting the style =
all?
Cheers!
Wei
So, like, the other day "Zhang Wei" mumbled:
Quoted 7 lines
Quoted 4 lines
The 8641 DTS file has been converted to /dts-v1/ format now. Please rewrite this patch with explicit hex numbers for addresses, even if
0x0, and decimal for IRQs.I have seen other nodes in
mpc8641_hpcn.dtsstill use old style.
Is it better to create an another new patch for correcting the style all?
The file as to be all one format or the other, it can not be mixed.
Kumar applied my patches to convert all the 86xx FSL boards to /dts-v1/ and they have gone into Paul's and Linus' mainline already.
If another old style node goes by, we should all gang up on it! :-)
jdl