Boards such as the Orange Pi 4 Pro wire the external PHY's 125 MHz CLK_OUT to the MAC's RGMII TX clock input rather than using the MAC's internal GMII TX clock, and stall on 1 Gbps TX unless the glue register selects external GMII clocking. Add the boolean allwinner,rgmii-clk-ext property so boards can select the external RGMII TX clock while preserving internal GMII clocking as the default. Assisted-by: LLM Signed-off-by: Alastair D'Silva --- .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml index fa28df89b48e..7ff467dbeab9 100644 --- a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml +++ b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml @@ -104,6 +104,12 @@ properties: description: Internal RGMII PHY RX clock delay chain value in ps. + allwinner,rgmii-clk-ext: + type: boolean + description: + Use the external 125 MHz RGMII TX clock provided by the PHY instead + of the internal MAC GMII clock. + required: - compatible - reg -- 2.53.0