arm64: dts: lx2160ardb: add nodes for the AQR107 PHYs
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 30 Oct 2020 11:35:55 +0000 (13:35 +0200)
committerIoana Ciornei <ciorneiioana@gmail.com>
Mon, 26 Apr 2021 09:22:46 +0000 (12:22 +0300)
Annotate the EMDIO1 node and describe the 2 AQR107 PHYs found on the
LX2160ARDB board. Also, add the necessary phy-handles for DPMACs 3 and 4
to their associated PHY.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts

index f96bdad..860eb83 100644 (file)
        status = "okay";
 };
 
+&dpmac3 {
+       phy-handle = <&aquantia_phy1>;
+       phy-connection-type = "usxgmii";
+       managed = "in-band-status";
+};
+
+&dpmac4 {
+       phy-handle = <&aquantia_phy2>;
+       phy-connection-type = "usxgmii";
+       managed = "in-band-status";
+};
+
 &dpmac17 {
        phy-handle = <&rgmii_phy1>;
        phy-connection-type = "rgmii-id";
                reg = <0x2>;
                eee-broken-1000t;
        };
+
+       aquantia_phy1: ethernet-phy@4 {
+               /* AQR107 PHY */
+               compatible = "ethernet-phy-ieee802.3-c45";
+               reg = <0x4>;
+       };
+
+       aquantia_phy2: ethernet-phy@5 {
+               /* AQR107 PHY */
+               compatible = "ethernet-phy-ieee802.3-c45";
+               reg = <0x5>;
+       };
 };
 
 &emdio2 {
        };
 };
 
+&pcs_mdio3 {
+       status = "okay";
+};
+
+&pcs_mdio4 {
+       status = "okay";
+};
+
 &sata0 {
        status = "okay";
 };