xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/fsl-ls1028a-qds-899b.dts (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
1*e67e8565SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*e67e8565SEmmanuel Vadot/*
3*e67e8565SEmmanuel Vadot * Device Tree fragment for LS1028A QDS board, serdes 85xx
4*e67e8565SEmmanuel Vadot *
5*e67e8565SEmmanuel Vadot * Copyright 2019-2021 NXP
6*e67e8565SEmmanuel Vadot *
7*e67e8565SEmmanuel Vadot * Requires a LS1028A QDS board without lane B rework.
8*e67e8565SEmmanuel Vadot * Requires a SCH-24801 card in slot 1.
9*e67e8565SEmmanuel Vadot */
10*e67e8565SEmmanuel Vadot
11*e67e8565SEmmanuel Vadot/dts-v1/;
12*e67e8565SEmmanuel Vadot/plugin/;
13*e67e8565SEmmanuel Vadot
14*e67e8565SEmmanuel Vadot/ {
15*e67e8565SEmmanuel Vadot	fragment@0 {
16*e67e8565SEmmanuel Vadot		target = <&mdio_slot1>;
17*e67e8565SEmmanuel Vadot		__overlay__ {
18*e67e8565SEmmanuel Vadot			#address-cells = <1>;
19*e67e8565SEmmanuel Vadot			#size-cells = <0>;
20*e67e8565SEmmanuel Vadot
21*e67e8565SEmmanuel Vadot			/* VSC8234 */
22*e67e8565SEmmanuel Vadot			slot1_sgmii0: ethernet-phy@1c {
23*e67e8565SEmmanuel Vadot				reg = <0x1c>;
24*e67e8565SEmmanuel Vadot			};
25*e67e8565SEmmanuel Vadot
26*e67e8565SEmmanuel Vadot			slot1_sgmii1: ethernet-phy@1d {
27*e67e8565SEmmanuel Vadot				reg = <0x1d>;
28*e67e8565SEmmanuel Vadot			};
29*e67e8565SEmmanuel Vadot
30*e67e8565SEmmanuel Vadot			slot1_sgmii2: ethernet-phy@1e {
31*e67e8565SEmmanuel Vadot				reg = <0x1e>;
32*e67e8565SEmmanuel Vadot			};
33*e67e8565SEmmanuel Vadot
34*e67e8565SEmmanuel Vadot			slot1_sgmii3: ethernet-phy@1f {
35*e67e8565SEmmanuel Vadot				reg = <0x1f>;
36*e67e8565SEmmanuel Vadot			};
37*e67e8565SEmmanuel Vadot		};
38*e67e8565SEmmanuel Vadot	};
39*e67e8565SEmmanuel Vadot
40*e67e8565SEmmanuel Vadot	fragment@1 {
41*e67e8565SEmmanuel Vadot		target = <&enetc_port0>;
42*e67e8565SEmmanuel Vadot		__overlay__ {
43*e67e8565SEmmanuel Vadot			phy-handle = <&slot1_sgmii0>;
44*e67e8565SEmmanuel Vadot			phy-mode = "sgmii";
45*e67e8565SEmmanuel Vadot			managed = "in-band-status";
46*e67e8565SEmmanuel Vadot			status = "okay";
47*e67e8565SEmmanuel Vadot		};
48*e67e8565SEmmanuel Vadot	};
49*e67e8565SEmmanuel Vadot
50*e67e8565SEmmanuel Vadot	fragment@2 {
51*e67e8565SEmmanuel Vadot		target = <&mscc_felix_ports>;
52*e67e8565SEmmanuel Vadot		__overlay__ {
53*e67e8565SEmmanuel Vadot			port@1 {
54*e67e8565SEmmanuel Vadot				status = "okay";
55*e67e8565SEmmanuel Vadot				phy-handle = <&slot1_sgmii1>;
56*e67e8565SEmmanuel Vadot				phy-mode = "sgmii";
57*e67e8565SEmmanuel Vadot				managed = "in-band-status";
58*e67e8565SEmmanuel Vadot			};
59*e67e8565SEmmanuel Vadot
60*e67e8565SEmmanuel Vadot			port@2 {
61*e67e8565SEmmanuel Vadot				status = "okay";
62*e67e8565SEmmanuel Vadot				phy-handle = <&slot1_sgmii2>;
63*e67e8565SEmmanuel Vadot				phy-mode = "sgmii";
64*e67e8565SEmmanuel Vadot				managed = "in-band-status";
65*e67e8565SEmmanuel Vadot			};
66*e67e8565SEmmanuel Vadot		};
67*e67e8565SEmmanuel Vadot	};
68*e67e8565SEmmanuel Vadot
69*e67e8565SEmmanuel Vadot	fragment@3 {
70*e67e8565SEmmanuel Vadot		target = <&mscc_felix>;
71*e67e8565SEmmanuel Vadot		__overlay__ {
72*e67e8565SEmmanuel Vadot			status = "okay";
73*e67e8565SEmmanuel Vadot		};
74*e67e8565SEmmanuel Vadot	};
75*e67e8565SEmmanuel Vadot};
76