Commit 7af4c845 authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by David S. Miller
Browse files

dt-bindings: net: meson-dwmac: Add the amlogic,rx-delay-ns property



The PRG_ETHERNET registers on Meson8b and newer SoCs can add an RX
delay. Add a property with the known supported values so it can be
configured according to the board layout.

Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6cd35888
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -67,6 +67,19 @@ allOf:
            PHY and MAC are adding a delay).
            Any configuration is ignored when the phy-mode is set to "rmii".

        amlogic,rx-delay-ns:
          enum:
            - 0
            - 2
          default: 0
          description:
            The internal RGMII RX clock delay (provided by this IP block) in
            nanoseconds. When phy-mode is set to "rgmii" then the RX delay
            should be explicitly configured. When the phy-mode is set to
            either "rgmii-id" or "rgmii-rxid" the RX clock delay is already
            provided by the PHY. Any configuration is ignored when the
            phy-mode is set to "rmii".

properties:
  compatible:
    additionalItems: true