]> git.sur5r.net Git - u-boot/commitdiff
arm64: mvebu: Armada 3700: Add COMPHY device tree nodes
authorStefan Roese <sr@denx.de>
Fri, 26 Aug 2016 11:10:45 +0000 (13:10 +0200)
committerStefan Roese <sr@denx.de>
Tue, 27 Sep 2016 15:29:53 +0000 (17:29 +0200)
This patch adds the COMPHY device tree nodes that are still missing to
the Armada 3700 dts files.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Wilson Ding <dingwei@marvell.com>
Cc: Victor Gu <xigu@marvell.com>
Cc: Hua Jing <jinghua@marvell.com>
Cc: Terry Zhou <bjzhou@marvell.com>
Cc: Hanna Hawa <hannah@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
arch/arm/dts/armada-3720-db.dts
arch/arm/dts/armada-37xx.dtsi

index f177c76f2e920a02fdf1971091b6bbcb2142b2e4..60d841cfa2124d0b8daae7c6d1de821f29dfb39e 100644 (file)
        };
 };
 
+&comphy {
+       phy0 {
+               phy-type = <PHY_TYPE_PEX0>;
+               phy-speed = <PHY_SPEED_2_5G>;
+       };
+
+       phy1 {
+               phy-type = <PHY_TYPE_USB3_HOST0>;
+               phy-speed = <PHY_SPEED_5G>;
+       };
+};
+
 &eth0 {
        status = "okay";
        phy-mode = "rgmii";
index 9f350df57496480d275b745059fe42770149da40..ceeb6e5d862bbb887784487986316728cee60e4f 100644 (file)
@@ -45,6 +45,7 @@
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/comphy/comphy_data.h>
 
 / {
        model = "Marvell Armada 37xx SoC";
                                spi-max-frequency = <40000>;
                                status = "disabled";
                        };
+
+                       comphy: comphy@18300 {
+                               compatible = "marvell,mvebu-comphy", "marvell,comphy-armada-3700";
+                               reg = <0x18300 0x28>,
+                                     <0x1f300 0x3d000>;
+                               mux-bitcount = <1>;
+                               max-lanes = <2>;
+                       };
                };
        };
 };