arm64: dts: marvell: armada-37xx: Add SATA comphy into main armada-37xx.dtsi file
authorPali Rohár <pali@kernel.org>
Mon, 18 Jan 2021 09:31:39 +0000 (10:31 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 29 Jan 2021 15:50:28 +0000 (16:50 +0100)
SATA on A3720 SOC can use only comphy2, so move this definition from board
specific DTS file armada-3720-espressobin.dtsi into main A3720 SOC file
armada-37xx.dtsi.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index daffe136c5235471e25e1f33eb63d94f119a59b2..5fc613d241516bed49480dbf7df038f0127dd460 100644 (file)
@@ -67,8 +67,6 @@
 /* J6 */
 &sata {
        status = "okay";
-       phys = <&comphy2 0>;
-       phy-names = "sata-phy";
 };
 
 /* U11 */
index d5b6c0a1c54a542d8fa5973deae4f5579b92c93f..7a2df148c6a31aa00e3ef638ff9711d6540eab11 100644 (file)
                                reg = <0xe0000 0x178>;
                                interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&nb_periph_clk 1>;
+                               phys = <&comphy2 0>;
+                               phy-names = "sata-phy";
                                status = "disabled";
                        };