]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: lx2160a-qds: add the two on-board RGMII PHYs
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 7 Jul 2025 15:33:31 +0000 (18:33 +0300)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 Jul 2025 08:34:33 +0000 (16:34 +0800)
Describe the two LX2160AQDS on-board RGMII PHYs on their respective MDIO
buses behind the MDIO multiplexer.

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

index 4d721197d837e10948e6dcbd8403925efb1d5b56..2d01e20b47e7f9f34543e07642cf35b83936ee84 100644 (file)
                        reg = <0x00>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       rgmii_phy1: ethernet-phy@1 {
+                               compatible = "ethernet-phy-id001c.c916";
+                               reg = <0x1>;
+                       };
                };
 
                mdio@8 { /* On-board PHY #2 RGMI2*/
                        reg = <0x8>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       rgmii_phy2: ethernet-phy@2 {
+                               compatible = "ethernet-phy-id001c.c916";
+                               reg = <0x2>;
+                       };
                };
 
                mdio@18 { /* Slot #1 */
        status = "okay";
 };
 
+&dpmac17 {
+       phy-handle = <&rgmii_phy1>;
+       phy-connection-type = "rgmii-id";
+};
+
+&dpmac18 {
+       phy-handle = <&rgmii_phy2>;
+       phy-connection-type = "rgmii-id";
+};
+
 &dspi0 {
        status = "okay";