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