xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/fsl-ls1028a-qds-13bb.dts (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1e67e8565SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2e67e8565SEmmanuel Vadot/*
3e67e8565SEmmanuel Vadot * Device Tree fragment for LS1028A QDS board, serdes 13bb
4e67e8565SEmmanuel Vadot *
5e67e8565SEmmanuel Vadot * Copyright 2019-2021 NXP
6e67e8565SEmmanuel Vadot *
7e67e8565SEmmanuel Vadot * Requires a LS1028A QDS board with lane B rework.
8e67e8565SEmmanuel Vadot * Requires a SCH-30841 card with lane A of connector rewired to PHY lane C.
9e67e8565SEmmanuel Vadot * Set-up is a SCH-30842 card in slot 1 and SCH-30841 in slot 2.
10e67e8565SEmmanuel Vadot */
11e67e8565SEmmanuel Vadot
12e67e8565SEmmanuel Vadot/dts-v1/;
13e67e8565SEmmanuel Vadot/plugin/;
14e67e8565SEmmanuel Vadot
15*c9ccf3a3SEmmanuel Vadot&mdio_slot1 {
16e67e8565SEmmanuel Vadot	#address-cells = <1>;
17e67e8565SEmmanuel Vadot	#size-cells = <0>;
18e67e8565SEmmanuel Vadot
19e67e8565SEmmanuel Vadot	slot1_sgmii: ethernet-phy@2 {
20e67e8565SEmmanuel Vadot		/* AQR112 */
21e67e8565SEmmanuel Vadot		reg = <0x2>;
22e67e8565SEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c45";
23e67e8565SEmmanuel Vadot	};
24e67e8565SEmmanuel Vadot};
25e67e8565SEmmanuel Vadot
26*c9ccf3a3SEmmanuel Vadot&enetc_port0 {
27e67e8565SEmmanuel Vadot	phy-handle = <&slot1_sgmii>;
28e67e8565SEmmanuel Vadot	phy-mode = "usxgmii";
29e67e8565SEmmanuel Vadot	managed = "in-band-status";
30e67e8565SEmmanuel Vadot	status = "okay";
31e67e8565SEmmanuel Vadot};
32e67e8565SEmmanuel Vadot
33*c9ccf3a3SEmmanuel Vadot&mdio_slot2 {
34e67e8565SEmmanuel Vadot	#address-cells = <1>;
35e67e8565SEmmanuel Vadot	#size-cells = <0>;
36e67e8565SEmmanuel Vadot
37e67e8565SEmmanuel Vadot	/* 4 ports on AQR412 */
38e67e8565SEmmanuel Vadot	slot2_qxgmii0: ethernet-phy@0 {
39e67e8565SEmmanuel Vadot		reg = <0x0>;
40e67e8565SEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c45";
41e67e8565SEmmanuel Vadot	};
42e67e8565SEmmanuel Vadot
43e67e8565SEmmanuel Vadot	slot2_qxgmii1: ethernet-phy@1 {
44e67e8565SEmmanuel Vadot		reg = <0x1>;
45e67e8565SEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c45";
46e67e8565SEmmanuel Vadot	};
47e67e8565SEmmanuel Vadot
48e67e8565SEmmanuel Vadot	slot2_qxgmii2: ethernet-phy@2 {
49e67e8565SEmmanuel Vadot		reg = <0x2>;
50e67e8565SEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c45";
51e67e8565SEmmanuel Vadot	};
52e67e8565SEmmanuel Vadot
53e67e8565SEmmanuel Vadot	slot2_qxgmii3: ethernet-phy@3 {
54e67e8565SEmmanuel Vadot		reg = <0x3>;
55e67e8565SEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c45";
56e67e8565SEmmanuel Vadot	};
57e67e8565SEmmanuel Vadot};
58e67e8565SEmmanuel Vadot
59*c9ccf3a3SEmmanuel Vadot&mscc_felix_ports {
60e67e8565SEmmanuel Vadot	port@0 {
61e67e8565SEmmanuel Vadot		status = "okay";
62e67e8565SEmmanuel Vadot		phy-handle = <&slot2_qxgmii0>;
63e67e8565SEmmanuel Vadot		phy-mode = "usxgmii";
64e67e8565SEmmanuel Vadot		managed = "in-band-status";
65e67e8565SEmmanuel Vadot	};
66e67e8565SEmmanuel Vadot
67e67e8565SEmmanuel Vadot	port@1 {
68e67e8565SEmmanuel Vadot		status = "okay";
69e67e8565SEmmanuel Vadot		phy-handle = <&slot2_qxgmii1>;
70e67e8565SEmmanuel Vadot		phy-mode = "usxgmii";
71e67e8565SEmmanuel Vadot		managed = "in-band-status";
72e67e8565SEmmanuel Vadot	};
73e67e8565SEmmanuel Vadot
74e67e8565SEmmanuel Vadot	port@2 {
75e67e8565SEmmanuel Vadot		status = "okay";
76e67e8565SEmmanuel Vadot		phy-handle = <&slot2_qxgmii2>;
77e67e8565SEmmanuel Vadot		phy-mode = "usxgmii";
78e67e8565SEmmanuel Vadot		managed = "in-band-status";
79e67e8565SEmmanuel Vadot	};
80e67e8565SEmmanuel Vadot
81e67e8565SEmmanuel Vadot	port@3 {
82e67e8565SEmmanuel Vadot		status = "okay";
83e67e8565SEmmanuel Vadot		phy-handle = <&slot2_qxgmii3>;
84e67e8565SEmmanuel Vadot		phy-mode = "usxgmii";
85e67e8565SEmmanuel Vadot		managed = "in-band-status";
86e67e8565SEmmanuel Vadot	};
87e67e8565SEmmanuel Vadot};
88e67e8565SEmmanuel Vadot
89*c9ccf3a3SEmmanuel Vadot&mscc_felix {
90e67e8565SEmmanuel Vadot	status = "okay";
91e67e8565SEmmanuel Vadot};
92