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)
committerShawn Guo <shawnguo@kernel.org>
Mon, 30 Nov 2020 14:30:29 +0000 (22:30 +0800)
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 54fe8cd..7723ad5 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>;
+       };
 };
 
 &esdhc0 {
        };
 };
 
+&pcs_mdio3 {
+       status = "okay";
+};
+
+&pcs_mdio4 {
+       status = "okay";
+};
+
 &sata0 {
        status = "okay";
 };