2021-01-27 11:00:00 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
|
|
/*
|
|
|
|
* NXP LS1028A-QDS device tree fragment for RCW x3xx
|
|
|
|
*
|
2021-09-17 11:27:13 +00:00
|
|
|
* Copyright 2019-2021 NXP
|
2021-01-27 11:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This setup is using a SCH-30841-R card with AQR412 quad PHY in slot 2. This
|
|
|
|
* is used for the 4 integrated ethernet switch in a multiplexes USXGMII set-up.
|
|
|
|
*
|
|
|
|
* We're including the normal .dsti file, not the reworked card .dtsi
|
|
|
|
* intentionally. We are using multiplexing of the 4 interfaces on a single
|
|
|
|
* lane and the rework doesn't actually disable any port. The rework is in fact
|
|
|
|
* needed, otherwise the PHY won't work with the default wiring on the QDS/PHY
|
|
|
|
* card.
|
|
|
|
*/
|
|
|
|
&slot2 {
|
|
|
|
#include "fsl-sch-30841.dtsi"
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&enetc_port2 {
|
2021-06-29 17:53:11 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-01-27 11:00:00 +00:00
|
|
|
&mscc_felix {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port0 {
|
|
|
|
status = "okay";
|
2022-01-03 12:47:37 +00:00
|
|
|
managed = "in-band-status";
|
2021-01-27 11:00:00 +00:00
|
|
|
phy-mode = "usxgmii";
|
2021-10-13 16:14:05 +00:00
|
|
|
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@00}>;
|
2021-01-27 11:00:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port1 {
|
|
|
|
status = "okay";
|
2022-01-03 12:47:37 +00:00
|
|
|
managed = "in-band-status";
|
2021-01-27 11:00:00 +00:00
|
|
|
phy-mode = "usxgmii";
|
2021-10-13 16:14:05 +00:00
|
|
|
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@01}>;
|
2021-01-27 11:00:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port2 {
|
|
|
|
status = "okay";
|
2022-01-03 12:47:37 +00:00
|
|
|
managed = "in-band-status";
|
2021-01-27 11:00:00 +00:00
|
|
|
phy-mode = "usxgmii";
|
2021-10-13 16:14:05 +00:00
|
|
|
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@02}>;
|
2021-01-27 11:00:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port3 {
|
|
|
|
status = "okay";
|
2022-01-03 12:47:37 +00:00
|
|
|
managed = "in-band-status";
|
2021-01-27 11:00:00 +00:00
|
|
|
phy-mode = "usxgmii";
|
2021-10-13 16:14:05 +00:00
|
|
|
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@03}>;
|
2021-01-27 11:00:00 +00:00
|
|
|
};
|
2021-06-29 17:53:11 +00:00
|
|
|
|
|
|
|
&mscc_felix_port4 {
|
2021-10-13 16:14:15 +00:00
|
|
|
ethernet = <&enetc_port2>;
|
2021-06-29 17:53:11 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|