mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
arm: dts: ls1028a-qds: declare in-band autoneg for Ethernet ports
The commit in the Fixes: tag below broke traffic through switch ports
where the SERDES protocol requires in-band autoneg and this requirement
isn't described in the device tree: SGMII, QSGMII, USXGMII (with
2500Base-X, in-band autoneg isn't supported).
The LS1028A-QDS boards are not yet ready for syncing their device trees
with Linux, since Ethernet is missing there (but has been submitted):
https://lore.kernel.org/lkml/20211112223457.10599-11-leoyang.li@nxp.com/
When agreement is reached for the Ethernet support in Linux, there will
be a sync for these boards as well. For now, just enable in-band autoneg
to fix the breakage.
Fixes: e3789a7262
("net: dsa: felix: configure the in-band autoneg property based on OF node info")
Cc: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
bee9fd2957
commit
681adaa466
6 changed files with 18 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
|
||||
&enetc_port0 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "usxgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@02}>;
|
||||
};
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
&enetc_port0 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
|
||||
};
|
||||
|
|
|
@ -44,24 +44,28 @@
|
|||
|
||||
&mscc_felix_port0 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port1 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@1c}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port2 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1e}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port3 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1f}>;
|
||||
};
|
||||
|
|
|
@ -29,24 +29,28 @@
|
|||
|
||||
&mscc_felix_port0 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port1 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1d}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port2 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1e}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port3 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1f}>;
|
||||
};
|
||||
|
|
|
@ -29,24 +29,28 @@
|
|||
|
||||
&mscc_felix_port0 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "usxgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@00}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port1 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "usxgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@01}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port2 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "usxgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@02}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port3 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "usxgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@03}>;
|
||||
};
|
||||
|
|
|
@ -23,24 +23,28 @@
|
|||
|
||||
&mscc_felix_port0 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "qsgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@08}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port1 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "qsgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@09}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port2 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "qsgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@0a}>;
|
||||
};
|
||||
|
||||
&mscc_felix_port3 {
|
||||
status = "okay";
|
||||
managed = "in-band-status";
|
||||
phy-mode = "qsgmii";
|
||||
phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@0b}>;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue