Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / marvell / armada-37xx.dtsi
index 5db81a4..9acc5d2 100644 (file)
                        #interrupt-cells = <1>;
                        msi-parent = <&pcie0>;
                        msi-controller;
-                       ranges = <0x82000000 0 0xe8000000   0 0xe8000000 0 0x1000000 /* Port 0 MEM */
-                                 0x81000000 0 0xe9000000   0 0xe9000000 0 0x10000>; /* Port 0 IO*/
+                       /*
+                        * The 128 MiB address range [0xe8000000-0xf0000000] is
+                        * dedicated for PCIe and can be assigned to 8 windows
+                        * with size a power of two. Use one 64 KiB window for
+                        * IO at the end and the remaining seven windows
+                        * (totaling 127 MiB) for MEM.
+                        */
+                       ranges = <0x82000000 0 0xe8000000   0 0xe8000000   0 0x07f00000   /* Port 0 MEM */
+                                 0x81000000 0 0xefff0000   0 0xefff0000   0 0x00010000>; /* Port 0 IO */
                        interrupt-map-mask = <0 0 0 7>;
                        interrupt-map = <0 0 0 1 &pcie_intc 0>,
                                        <0 0 0 2 &pcie_intc 1>,