xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/fsl-ls1028a-qds-899b.dts (revision b197d4b893974c9eb4d7b38704c6d5c486235d6f)
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&enetc_port0 {
37	phy-handle = <&slot1_sgmii0>;
38	phy-mode = "sgmii";
39	managed = "in-band-status";
40	status = "okay";
41};
42
43&mscc_felix_ports {
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
59&mscc_felix {
60	status = "okay";
61};
62