From: Robert Hancock Date: Sat, 13 Feb 2021 00:23:55 +0000 (-0600) Subject: dt-bindings: net: xilinx_axienet: add xlnx,switch-x-sgmii attribute X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eceac9d2590bfcca25d28bd34ac3294dbb73c8ff;p=linux.git dt-bindings: net: xilinx_axienet: add xlnx,switch-x-sgmii attribute Document the new xlnx,switch-x-sgmii attribute which is used to indicate that the Ethernet core supports dynamic switching between 1000BaseX and SGMII. Signed-off-by: Robert Hancock Signed-off-by: David S. Miller --- diff --git a/Documentation/devicetree/bindings/net/xilinx_axienet.txt b/Documentation/devicetree/bindings/net/xilinx_axienet.txt index 7360617cdedb5..2cd452419ed0c 100644 --- a/Documentation/devicetree/bindings/net/xilinx_axienet.txt +++ b/Documentation/devicetree/bindings/net/xilinx_axienet.txt @@ -38,6 +38,10 @@ Optional properties: 1 to enable partial TX checksum offload, 2 to enable full TX checksum offload - xlnx,rxcsum : Same values as xlnx,txcsum but for RX checksum offload +- xlnx,switch-x-sgmii : Boolean to indicate the Ethernet core is configured to + support both 1000BaseX and SGMII modes. If set, the phy-mode + should be set to match the mode selected on core reset (i.e. + by the basex_or_sgmii core input line). - clocks : AXI bus clock for the device. Refer to common clock bindings. Used to calculate MDIO clock divisor. If not specified, it is auto-detected from the CPU clock (but only on platforms where