]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: octeon: mrvl, cn73xx.dtsi: Add PCIe controller DT node
authorStefan Roese <sr@denx.de>
Fri, 11 Dec 2020 16:06:09 +0000 (17:06 +0100)
committerStefan Roese <sr@denx.de>
Wed, 28 Apr 2021 08:05:12 +0000 (10:05 +0200)
This patch adds the PCIe controller node to the MIPS Octeon 73xx dtsi
file.

Signed-off-by: Stefan Roese <sr@denx.de>
arch/mips/dts/mrvl,cn73xx.dtsi

index 27cdfd0a2ce5a9cc9d6e7532332c5c97d91f2319..9f3dc615d66da444a5e03b6a58a8448d48cbc0f6 100644 (file)
                                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 */
+               };
        };
 };