This patch adds the PCIe controller node to the MIPS Octeon 73xx dtsi
file.

Signed-off-by: Stefan Roese <[email protected]>
---

 arch/mips/dts/mrvl,cn73xx.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/mips/dts/mrvl,cn73xx.dtsi b/arch/mips/dts/mrvl,cn73xx.dtsi
index 40eb85ee0c..461ed07969 100644
--- a/arch/mips/dts/mrvl,cn73xx.dtsi
+++ b/arch/mips/dts/mrvl,cn73xx.dtsi
@@ -203,5 +203,21 @@
                                dr_mode = "host";
                        };
                };
+
+               /* PCIe 0 */
+               pcie0: pcie@1180069000000 {
+                       compatible =  "marvell,pcie-host-octeon";
+                       reg = <0 0xf2600000 0 0x10000>;
+                       #address-cells = <3>;
+                       #size-cells = <2>;
+                       device_type = "pci";
+                       dma-coherent;
+
+                       bus-range = <0 0xff>;
+                       marvell,pcie-port = <0>;
+                       ranges = <0x81000000 0x00000000 0xd0000000 0x00011a00 
0xd0000000 0x00000000 0x01000000 /* IO */
+                                 0x02000000 0x00000000 0xe0000000 0x00011b00 
0xe0000000 0x00000000 0x10000000  /* non-prefetchable memory */
+                                 0x43000000 0x00011c00 0x00000000 0x00011c00 
0x00000000 0x00000010 0x00000000>;/* prefetchable memory */
+               };
        };
 };
-- 
2.29.2

Reply via email to