Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: ti: missing SERDES PHY on cpsw0_port2..4 in J7200
  QSGMII overlay
--

commit 9308aaccf0ec64c66667e093bd8f8f0c3d7d8571
Author: Chintan Vankar <[email protected]>

arm64: dts: ti: k3-j7200: Fix QSGMII overlay by adding SERDES PHY

This commit adds the serdes0_qsgmii_link PHY phandle and phy-names to
cpsw0_port1 in the J7200 QSGMII quad-port Ethernet expansion overlay.

> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso 
> b/arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso
> index 6432ca08ee8e4..4824d53c95bb3 100644
> --- a/arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso
> +++ b/arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso
> @@ -32,7 +32,8 @@ &cpsw0_port1 {
>       phy-handle = <&cpsw5g_phy0>;
>       phy-mode = "qsgmii";
>       mac-address = [00 00 00 00 00 00];
> -     phys = <&cpsw0_phy_gmii_sel 1>;
> +     phys = <&cpsw0_phy_gmii_sel 1>, <&serdes0_qsgmii_link>;
> +     phy-names = "mac", "serdes";
>  };
>  
>  &cpsw0_port2 {

[Severity: Medium]
Should cpsw0_port2, cpsw0_port3, and cpsw0_port4 also reference
<&serdes0_qsgmii_link> with phy-names = "mac", "serdes"?

am65_cpsw_nuss_init_slave_ports() skips disabled ports and calls
am65_cpsw_init_serdes_phy() on each enabled port.  If cpsw0_port1 is
disabled while any of cpsw0_port2..4 remain enabled, serdes0_qsgmii_link
is never initialized or powered on and QSGMII link fails on the remaining
ports.  In k3-j784s4-evm-quad-port-eth-exp1.dtso, all four QSGMII ports
specify both the gmii_sel PHY and the shared QSGMII SERDES link PHY.

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=1

Reply via email to