2021-01-27 11:00:00 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
|
|
/*
|
|
|
|
* NXP LS1028A-QDS device tree fragment for RCW 9999
|
|
|
|
*
|
|
|
|
* Copyright 2019-2021 NXP Semiconductors
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This set-up is using SCH-24801 cards with VSC8234 quad SGMII PHY.
|
|
|
|
*
|
|
|
|
* Switch ports are mapped 1:1 to VSC8234 card ports seated in slot 1.
|
|
|
|
* Top port is port 0.
|
|
|
|
*
|
|
|
|
* The following DTS assumes DIP SW5[1-3] = 000b.
|
|
|
|
*/
|
|
|
|
|
|
|
|
&slot1 {
|
|
|
|
#include "fsl-sch-24801.dtsi"
|
|
|
|
};
|
|
|
|
|
2021-06-29 17:53:11 +00:00
|
|
|
&enetc2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-01-27 11:00:00 +00:00
|
|
|
&mscc_felix {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port0 {
|
|
|
|
status = "okay";
|
|
|
|
phy-mode = "sgmii";
|
|
|
|
phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port1 {
|
|
|
|
status = "okay";
|
|
|
|
phy-mode = "sgmii";
|
|
|
|
phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1d}>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port2 {
|
|
|
|
status = "okay";
|
|
|
|
phy-mode = "sgmii";
|
|
|
|
phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1e}>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port3 {
|
|
|
|
status = "okay";
|
|
|
|
phy-mode = "sgmii";
|
|
|
|
phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1f}>;
|
|
|
|
};
|
2021-06-29 17:53:11 +00:00
|
|
|
|
|
|
|
&mscc_felix_port4 {
|
|
|
|
ethernet = <&enetc2>;
|
|
|
|
status = "okay";
|
|
|
|
};
|