This patch adds the COMPHY device tree configuration to the DT file for
the Marvell DB-88F8040 devel board.

Signed-off-by: Stefan Roese <s...@denx.de>
Cc: Nadav Haklai <nad...@marvell.com>
Cc: Neta Zur Hershkovits <n...@marvell.com>
Cc: Kostya Porotchkin <kos...@marvell.com>
Cc: Omri Itach <om...@marvell.com>
Cc: Igal Liberman <ig...@marvell.com>
Cc: Haim Boot <ha...@marvell.com>
Cc: Hanna Hawa <han...@marvell.com>
---
 arch/arm/dts/armada-8040-db.dts | 84 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)

diff --git a/arch/arm/dts/armada-8040-db.dts b/arch/arm/dts/armada-8040-db.dts
index 6e6f182..4978092 100644
--- a/arch/arm/dts/armada-8040-db.dts
+++ b/arch/arm/dts/armada-8040-db.dts
@@ -148,3 +148,87 @@
 &cps_usb3_1 {
        status = "okay";
 };
+
+&cpm_comphy {
+       /*
+        * Serdes Configuration:
+        * Lane 0: SGMII2
+        * Lane 1: USB3_HOST0
+        * Lane 2: KR (10G)
+        * Lane 3: SATA1
+        * Lane 4: USB3_HOST1
+        * Lane 5: PEX2x1
+        */
+       phy0 {
+               phy-type = <PHY_TYPE_SGMII2>;
+               phy-speed = <PHY_SPEED_3_125G>;
+       };
+
+       phy1 {
+               phy-type = <PHY_TYPE_USB3_HOST0>;
+       };
+
+       phy2 {
+               phy-type = <PHY_TYPE_KR>;
+       };
+
+       phy3 {
+               phy-type = <PHY_TYPE_SATA1>;
+       };
+
+       phy4 {
+               phy-type = <PHY_TYPE_USB3_HOST1>;
+       };
+
+       phy5 {
+               phy-type = <PHY_TYPE_PEX2>;
+       };
+};
+
+&cps_comphy {
+       /*
+        * Serdes Configuration:
+        * Lane 0: SGMII2
+        * Lane 1: USB3_HOST0
+        * Lane 2: KR (10G)
+        * Lane 3: SATA1
+        * Lane 4: Unconnected
+        * Lane 5: PEX2x1
+        */
+       phy0 {
+               phy-type = <PHY_TYPE_SGMII2>;
+               phy-speed = <PHY_SPEED_3_125G>;
+       };
+
+       phy1 {
+               phy-type = <PHY_TYPE_USB3_HOST0>;
+       };
+
+       phy2 {
+               phy-type = <PHY_TYPE_KR>;
+       };
+
+       phy3 {
+               phy-type = <PHY_TYPE_SATA1>;
+       };
+
+       phy4 {
+               phy-type = <PHY_TYPE_UNCONNECTED>;
+       };
+
+       phy5 {
+               phy-type = <PHY_TYPE_PEX2>;
+       };
+};
+
+&cpm_utmi0 {
+       status = "okay";
+};
+
+&cpm_utmi1 {
+       status = "okay";
+};
+
+&cps_utmi0 {
+       status = "okay";
+};
-- 
2.10.2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to