Commit 269a5641 authored by Sekhar Nori's avatar Sekhar Nori Committed by Nishanth Menon

arm64: dts: ti: k3-am65: restrict PCIe to Gen2 speed

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: default avatarSekhar Nori <nsekhar@ti.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20200802165356.10285-1-nsekhar@ti.com
parent 67cfbb62
...@@ -704,7 +704,7 @@ pcie0_rc: pcie@5500000 { ...@@ -704,7 +704,7 @@ pcie0_rc: pcie@5500000 {
ti,syscon-pcie-mode = <&pcie0_mode>; ti,syscon-pcie-mode = <&pcie0_mode>;
bus-range = <0x0 0xff>; bus-range = <0x0 0xff>;
num-viewport = <16>; num-viewport = <16>;
max-link-speed = <3>; max-link-speed = <2>;
dma-coherent; dma-coherent;
interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>; interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
msi-map = <0x0 &gic_its 0x0 0x10000>; msi-map = <0x0 &gic_its 0x0 0x10000>;
...@@ -718,7 +718,7 @@ pcie0_ep: pcie-ep@5500000 { ...@@ -718,7 +718,7 @@ pcie0_ep: pcie-ep@5500000 {
ti,syscon-pcie-mode = <&pcie0_mode>; ti,syscon-pcie-mode = <&pcie0_mode>;
num-ib-windows = <16>; num-ib-windows = <16>;
num-ob-windows = <16>; num-ob-windows = <16>;
max-link-speed = <3>; max-link-speed = <2>;
dma-coherent; dma-coherent;
interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>; interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
}; };
...@@ -736,7 +736,7 @@ pcie1_rc: pcie@5600000 { ...@@ -736,7 +736,7 @@ pcie1_rc: pcie@5600000 {
ti,syscon-pcie-mode = <&pcie1_mode>; ti,syscon-pcie-mode = <&pcie1_mode>;
bus-range = <0x0 0xff>; bus-range = <0x0 0xff>;
num-viewport = <16>; num-viewport = <16>;
max-link-speed = <3>; max-link-speed = <2>;
dma-coherent; dma-coherent;
interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>; interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>;
msi-map = <0x0 &gic_its 0x10000 0x10000>; msi-map = <0x0 &gic_its 0x10000 0x10000>;
...@@ -750,7 +750,7 @@ pcie1_ep: pcie-ep@5600000 { ...@@ -750,7 +750,7 @@ pcie1_ep: pcie-ep@5600000 {
ti,syscon-pcie-mode = <&pcie1_mode>; ti,syscon-pcie-mode = <&pcie1_mode>;
num-ib-windows = <16>; num-ib-windows = <16>;
num-ob-windows = <16>; num-ob-windows = <16>;
max-link-speed = <3>; max-link-speed = <2>;
dma-coherent; dma-coherent;
interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>; interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment