]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arch: arm64: dts: lx2160a: describe the SerDes block #1
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 11 Mar 2022 21:22:28 +0000 (23:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2022 10:41:51 +0000 (10:41 +0000)
Describe the SerDes block #1 using the generic phys infrastructure. This
way, the ethernet nodes can each reference their serdes lanes
individually using the 'phys' dts property.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-itx.dtsi
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi

index 17f8e733972a3077ecfed361f0dfa15fef851cee..41702e7386e371ebd7124785026e7fabb8f06305 100644 (file)
 &dpmac7 {
        sfp = <&sfp0>;
        managed = "in-band-status";
+       phys = <&serdes_1 3>;
 };
 
 &dpmac8 {
        sfp = <&sfp1>;
        managed = "in-band-status";
+       phys = <&serdes_1 2>;
 };
 
 &dpmac9 {
        sfp = <&sfp2>;
        managed = "in-band-status";
+       phys = <&serdes_1 1>;
 };
 
 &dpmac10 {
        sfp = <&sfp3>;
        managed = "in-band-status";
+       phys = <&serdes_1 0>;
 };
 
 &emdio2 {
index 7032505f5ef3a1300c5c40291e5ebcac62104046..92a881302708e4c97f8e1ebac3c7e2e077597c72 100644 (file)
                ranges;
                dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
 
+               serdes_1: phy@1ea0000 {
+                       compatible = "fsl,lynx-28g";
+                       reg = <0x0 0x1ea0000 0x0 0x1e30>;
+                       #phy-cells = <1>;
+               };
+
                crypto: crypto@8000000 {
                        compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
                        fsl,sec-era = <10>;