Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
92 lines
1.6 KiB
Plaintext
92 lines
1.6 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Device Tree fragment for LS1028A QDS board, serdes 13bb
|
|
*
|
|
* Copyright 2019-2021 NXP
|
|
*
|
|
* Requires a LS1028A QDS board with lane B rework.
|
|
* Requires a SCH-30841 card with lane A of connector rewired to PHY lane C.
|
|
* Set-up is a SCH-30842 card in slot 1 and SCH-30841 in slot 2.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
&mdio_slot1 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
slot1_sgmii: ethernet-phy@2 {
|
|
/* AQR112 */
|
|
reg = <0x2>;
|
|
compatible = "ethernet-phy-ieee802.3-c45";
|
|
};
|
|
};
|
|
|
|
&enetc_port0 {
|
|
phy-handle = <&slot1_sgmii>;
|
|
phy-mode = "usxgmii";
|
|
managed = "in-band-status";
|
|
status = "okay";
|
|
};
|
|
|
|
&mdio_slot2 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
/* 4 ports on AQR412 */
|
|
slot2_qxgmii0: ethernet-phy@0 {
|
|
reg = <0x0>;
|
|
compatible = "ethernet-phy-ieee802.3-c45";
|
|
};
|
|
|
|
slot2_qxgmii1: ethernet-phy@1 {
|
|
reg = <0x1>;
|
|
compatible = "ethernet-phy-ieee802.3-c45";
|
|
};
|
|
|
|
slot2_qxgmii2: ethernet-phy@2 {
|
|
reg = <0x2>;
|
|
compatible = "ethernet-phy-ieee802.3-c45";
|
|
};
|
|
|
|
slot2_qxgmii3: ethernet-phy@3 {
|
|
reg = <0x3>;
|
|
compatible = "ethernet-phy-ieee802.3-c45";
|
|
};
|
|
};
|
|
|
|
&mscc_felix_ports {
|
|
port@0 {
|
|
status = "okay";
|
|
phy-handle = <&slot2_qxgmii0>;
|
|
phy-mode = "usxgmii";
|
|
managed = "in-band-status";
|
|
};
|
|
|
|
port@1 {
|
|
status = "okay";
|
|
phy-handle = <&slot2_qxgmii1>;
|
|
phy-mode = "usxgmii";
|
|
managed = "in-band-status";
|
|
};
|
|
|
|
port@2 {
|
|
status = "okay";
|
|
phy-handle = <&slot2_qxgmii2>;
|
|
phy-mode = "usxgmii";
|
|
managed = "in-band-status";
|
|
};
|
|
|
|
port@3 {
|
|
status = "okay";
|
|
phy-handle = <&slot2_qxgmii3>;
|
|
phy-mode = "usxgmii";
|
|
managed = "in-band-status";
|
|
};
|
|
};
|
|
|
|
&mscc_felix {
|
|
status = "okay";
|
|
};
|