]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: net: cdns,macb: Add external REFCLK property
authorRyan Wanner <Ryan.Wanner@microchip.com>
Mon, 14 Jul 2025 16:36:59 +0000 (09:36 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Jul 2025 00:28:36 +0000 (17:28 -0700)
REFCLK can be provided by an external source so this should be exposed
by a DT property. The REFCLK is used for RMII and in some SoCs that use
this driver the RGMII 125MHz clk can also be provided by an external
source.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/d558467c4d5b27fb3135ffdead800b14cd9c6c0a.1752510727.git.Ryan.Wanner@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/cdns,macb.yaml

index 4423d038b2436ccf0d4c7f161510edbc5da3f131..559d0f733e7e7ac2909b87ab759be51d59be51c2 100644 (file)
@@ -115,6 +115,13 @@ properties:
   power-domains:
     maxItems: 1
 
+  cdns,refclk-ext:
+    type: boolean
+    description:
+      This selects if the REFCLK for RMII is provided by an external source.
+      For RGMII mode this selects if the 125MHz REF clock is provided by an external
+      source.
+
   cdns,rx-watermark:
     $ref: /schemas/types.yaml#/definitions/uint32
     description: