[PATCH 2/9] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems
Russell King (Oracle)
linux at armlinux.org.uk
Thu Sep 11 01:58:08 PDT 2025
On Wed, Sep 10, 2025 at 06:04:28PM +0200, Andrew Lunn wrote:
> > + ethernet: ethernet at 7a80000 {
> > + compatible = "qcom,sa8255p-ethqos";
> > + reg = <0x23040000 0x10000>,
> > + <0x23056000 0x100>;
> > + reg-names = "stmmaceth", "rgmii";
> > +
> > + iommus = <&apps_smmu 0x120 0x7>;
> > +
> > + interrupts = <GIC_SPI 946 IRQ_TYPE_LEVEL_HIGH>,
> > + <GIC_SPI 782 IRQ_TYPE_LEVEL_HIGH>;
> > + interrupt-names = "macirq", "sfty";
> > +
> > + dma-coherent;
> > +
> > + snps,tso;
> > + snps,pbl = <32>;
> > + rx-fifo-depth = <16384>;
> > + tx-fifo-depth = <16384>;
> > +
> > + phy-handle = <&sgmii_phy1>;
> > + phy-mode = "2500base-x";
>
> Nitpicking: It is clearly not an SGMII PHY if it support
> 2500BaseX. You might want to give the node a better name.
>
> > + snps,mtl-rx-config = <&mtl_rx_setup1>;
> > + snps,mtl-tx-config = <&mtl_tx_setup1>;
> > + snps,ps-speed = <1000>;
>
> Since this MAC can do 2.5G, is 1000 correct here?
The driver only accepts 10, 100 and 1000 here. Not sure if that's
documented in the binding.
Also, does snps,ps-speed need to be set if we're not immitating a PHY
with the PCS? My understanding is that snps,ps-speed is only relevant
in that circumstance. (I suspect many DTS get this wrong.)
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
More information about the linux-arm-kernel
mailing list