arm64: dts: ti: k3-am65: restrict PCIe to Gen2 speed
authorSekhar Nori <nsekhar@ti.com>
Sun, 2 Aug 2020 16:53:56 +0000 (22:23 +0530)
committerNishanth Menon <nm@ti.com>
Mon, 31 Aug 2020 11:31:24 +0000 (06:31 -0500)
Per errata i2104 documented in AM65x device errata document (TI document
number SPRZ452E, revised June 2019), Gen3 operation is not supported for
both PCIe Root Complex and Endpoint modes of operation.

See: https://www.ti.com/lit/er/sprz452e/sprz452e.pdf

Restrict speed to Gen2 to address the errata.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20200802165356.10285-1-nsekhar@ti.com
arch/arm64/boot/dts/ti/k3-am65-main.dtsi

index e12759ce7918735a9d116f65621d538f2b0c1032..76e0edc4ad5c66ff4f8b84e5706fe24cb9a232f9 100644 (file)
                ti,syscon-pcie-mode = <&pcie0_mode>;
                bus-range = <0x0 0xff>;
                num-viewport = <16>;
-               max-link-speed = <3>;
+               max-link-speed = <2>;
                dma-coherent;
                interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
                msi-map = <0x0 &gic_its 0x0 0x10000>;
                ti,syscon-pcie-mode = <&pcie0_mode>;
                num-ib-windows = <16>;
                num-ob-windows = <16>;
-               max-link-speed = <3>;
+               max-link-speed = <2>;
                dma-coherent;
                interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
        };
                ti,syscon-pcie-mode = <&pcie1_mode>;
                bus-range = <0x0 0xff>;
                num-viewport = <16>;
-               max-link-speed = <3>;
+               max-link-speed = <2>;
                dma-coherent;
                interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>;
                msi-map = <0x0 &gic_its 0x10000 0x10000>;
                ti,syscon-pcie-mode = <&pcie1_mode>;
                num-ib-windows = <16>;
                num-ob-windows = <16>;
-               max-link-speed = <3>;
+               max-link-speed = <2>;
                dma-coherent;
                interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>;
        };