Linux 6.7-rc7
[linux-modified.git] / arch / arm64 / boot / dts / freescale / fsl-ls1028a-qds-85bb.dtso
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Device Tree fragment for LS1028A QDS board, serdes 85bb
4  *
5  * Copyright 2019-2021 NXP
6  *
7  * Requires a LS1028A QDS board with lane B rework.
8  * Requires a SCH-24801 card in slot 1 and a SCH-28021 card in slot 2.
9  */
10
11 /dts-v1/;
12 /plugin/;
13
14 &mdio_slot1 {
15         #address-cells = <1>;
16         #size-cells = <0>;
17
18         slot1_sgmii: ethernet-phy@1c {
19                 /* 1st port on VSC8234 */
20                 reg = <0x1c>;
21         };
22 };
23
24 &enetc_port0 {
25         phy-handle = <&slot1_sgmii>;
26         phy-mode = "sgmii";
27         managed = "in-band-status";
28         status = "okay";
29 };
30
31 &mdio_slot2 {
32         #address-cells = <1>;
33         #size-cells = <0>;
34
35         /* 4 ports on VSC8514 */
36         slot2_qsgmii0: ethernet-phy@8 {
37                 reg = <0x8>;
38         };
39
40         slot2_qsgmii1: ethernet-phy@9 {
41                 reg = <0x9>;
42         };
43
44         slot2_qsgmii2: ethernet-phy@a {
45                 reg = <0xa>;
46         };
47
48         slot2_qsgmii3: ethernet-phy@b {
49                 reg = <0xb>;
50         };
51 };
52
53 &mscc_felix_ports {
54         port@0 {
55                 status = "okay";
56                 phy-handle = <&slot2_qsgmii0>;
57                 phy-mode = "qsgmii";
58                 managed = "in-band-status";
59         };
60
61         port@1 {
62                 status = "okay";
63                 phy-handle = <&slot2_qsgmii1>;
64                 phy-mode = "qsgmii";
65                 managed = "in-band-status";
66         };
67
68         port@2 {
69                 status = "okay";
70                 phy-handle = <&slot2_qsgmii2>;
71                 phy-mode = "qsgmii";
72                 managed = "in-band-status";
73         };
74
75         port@3 {
76                 status = "okay";
77                 phy-handle = <&slot2_qsgmii3>;
78                 phy-mode = "qsgmii";
79                 managed = "in-band-status";
80         };
81 };
82
83 &mscc_felix {
84         status = "okay";
85 };