arm64: dts: marvell: armada-37xx: Move PCIe max-link-speed property
authorPali Rohár <pali@kernel.org>
Thu, 30 Apr 2020 08:06:25 +0000 (10:06 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sun, 17 May 2020 15:52:30 +0000 (17:52 +0200)
Move the max-link-speed property of the PCIe node from board specific
device tree files to the generic armada-37xx.dtsi.

Armada 37xx supports only PCIe gen2 speed so max-link-speed property
should be in the generic armada-37xx.dtsi file.

Signed-off-by: Pali Rohár <pali@kernel.org>
Tested-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index 15c1cf5..4cc7358 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
        status = "okay";
-       max-link-speed = <2>;
        reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
 
        /* enabled by U-Boot if PCIe module is present */
index 5aaad64..2bbc69b 100644 (file)
                                        <0 0 0 2 &pcie_intc 1>,
                                        <0 0 0 3 &pcie_intc 2>,
                                        <0 0 0 4 &pcie_intc 3>;
+                       max-link-speed = <2>;
                        phys = <&comphy1 0>;
                        pcie_intc: interrupt-controller {
                                interrupt-controller;