arm64: dts: marvell: armada-37xx: Move PCIe comphy handle property
authorMarek Behún <marek.behun@nic.cz>
Thu, 30 Apr 2020 08:06:24 +0000 (10:06 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sun, 17 May 2020 15:52:13 +0000 (17:52 +0200)
Move the comphy handle property of the PCIe node from board specific
device tree files (EspressoBin and Turris Mox) to the generic
armada-37xx.dtsi.

This is correct since this is the only possible PCIe PHY configuration
on Armada 37xx, so when PCIe is enabled on any board, this handle is
correct.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
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-espressobin.dtsi
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index c92ad664cb0ec3f718c30691ec41e60d733a510f..b97218c727277ac1976c6cf2c8c4eeb8375febd6 100644 (file)
@@ -44,7 +44,6 @@
 /* J9 */
 &pcie0 {
        status = "okay";
-       phys = <&comphy1 0>;
        pinctrl-names = "default";
        pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
        reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
index e496bd9d47374f9c4001b2e538dcff2321a38f5b..15c1cf5c5b69ad99cdc816d6af062e1a83c16485 100644 (file)
        status = "okay";
        max-link-speed = <2>;
        reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
-       phys = <&comphy1 0>;
 
        /* enabled by U-Boot if PCIe module is present */
        status = "disabled";
index 7909c146eabf72fb4d8f96f17f3e88d2fb1ac3ae..5aaad64a793d5cb0d3a97e8295f973f5e34fff12 100644 (file)
                                        <0 0 0 2 &pcie_intc 1>,
                                        <0 0 0 3 &pcie_intc 2>,
                                        <0 0 0 4 &pcie_intc 3>;
+                       phys = <&comphy1 0>;
                        pcie_intc: interrupt-controller {
                                interrupt-controller;
                                #interrupt-cells = <1>;