Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Device Tree fragment for LS1028A QDS board, serdes 85xx
0004  *
0005  * Copyright 2019-2021 NXP
0006  *
0007  * Requires a LS1028A QDS board without lane B rework.
0008  * Requires a SCH-24801 card in slot 1.
0009  */
0010 
0011 /dts-v1/;
0012 /plugin/;
0013 
0014 &mdio_slot1 {
0015         #address-cells = <1>;
0016         #size-cells = <0>;
0017 
0018         /* VSC8234 */
0019         slot1_sgmii0: ethernet-phy@1c {
0020                 reg = <0x1c>;
0021         };
0022 
0023         slot1_sgmii1: ethernet-phy@1d {
0024                 reg = <0x1d>;
0025         };
0026 
0027         slot1_sgmii2: ethernet-phy@1e {
0028                 reg = <0x1e>;
0029         };
0030 
0031         slot1_sgmii3: ethernet-phy@1f {
0032                 reg = <0x1f>;
0033         };
0034 };
0035 
0036 &mscc_felix_ports {
0037         port@0 {
0038                 status = "okay";
0039                 phy-handle = <&slot1_sgmii0>;
0040                 phy-mode = "sgmii";
0041                 managed = "in-band-status";
0042         };
0043 
0044         port@1 {
0045                 status = "okay";
0046                 phy-handle = <&slot1_sgmii1>;
0047                 phy-mode = "sgmii";
0048                 managed = "in-band-status";
0049         };
0050 
0051         port@2 {
0052                 status = "okay";
0053                 phy-handle = <&slot1_sgmii2>;
0054                 phy-mode = "sgmii";
0055                 managed = "in-band-status";
0056         };
0057 
0058         port@3 {
0059                 status = "okay";
0060                 phy-handle = <&slot1_sgmii3>;
0061                 phy-mode = "sgmii";
0062                 managed = "in-band-status";
0063         };
0064 };
0065 
0066 &mscc_felix {
0067         status = "okay";
0068 };