Re: [PATCH 2/8] dts: espressobin: Define max-link-speed for pcie0

From: Marek Behun
Date: Sat Apr 18 2020 - 23:19:15 EST


When chaning dts files in arch/arm64/boot/dts/marvell, use subject
prefix
arm64: dts: marvell:
for espressobin for example
arm64: dts: marvell: espressobin:

instead of
dts: espressobin
or
dts: aardvark

Marek


On Wed, 15 Apr 2020 18:00:48 +0200
Pali RohÃr <pali@xxxxxxxxxx> wrote:

> Previously aardvark PCI controller set speed to gen2. Now it reads speed
> from Device Tree and as default use maximal possible speed which is gen3.
>
> Because Espressobin has advertised only PCI Express 2.0 capability and
> previous value was gen2, define max-link-speed to 2, so there would not be
> any configuration change.
>
> Signed-off-by: Pali RohÃr <pali@xxxxxxxxxx>
> ---
> arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> index 42e992f9c8a5..6705618162d5 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> @@ -47,6 +47,7 @@
> phys = <&comphy1 0>;
> pinctrl-names = "default";
> pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
> + max-link-speed = <2>;
> };
>
> /* J6 */