arm64: mvebu: armada-8040-db.dts: Add COMPHY configuration
authorStefan Roese <sr@denx.de>
Tue, 25 Oct 2016 15:43:25 +0000 (17:43 +0200)
committerStefan Roese <sr@denx.de>
Mon, 5 Dec 2016 12:28:23 +0000 (13:28 +0100)
This patch adds the COMPHY device tree configuration to the DT file for
the Marvell DB-88F8040 devel board.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Neta Zur Hershkovits <neta@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Omri Itach <omrii@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Cc: Hanna Hawa <hannah@marvell.com>
arch/arm/dts/armada-8040-db.dts

index 6e6f182..4978092 100644 (file)
 &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";
+};