Messages in this thread | | | Date | Wed, 23 Jun 2021 22:18:02 +0200 | From | Andrew Lunn <> | Subject | Re: [net-next: PATCH v3 1/6] Documentation: ACPI: DSD: describe additional MAC configuration |
| |
> +MAC node example with a "fixed-link" subnode. > +--------------------------------------------- > + > +.. code-block:: none > + > + Scope(\_SB.PP21.ETH1) > + { > + Name (_DSD, Package () { > + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), > + Package () { > + Package () {"phy-mode", "sgmii"}, > + }, > + ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"), > + Package () { > + Package () {"fixed-link", "LNK0"} > + } > + })
At least in the DT world, it is pretty unusual to see both fixed-link and phy-mode. You might have one of the four RGMII modes, in order to set the delays when connecting to a switch. But sgmii and fixed link seems very unlikely, how is sgmii autoneg going to work?
> + Name (LNK0, Package(){ // Data-only subnode of port > + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), > + Package () { > + Package () {"speed", 1000}, > + Package () {"full-duplex", 1} > + } > + }) > + } > +
Andrew
| |