dt-bindings: net: xilinx_gmii2rgmii: Add clock support
authorVineeth Karumanchi <vineeth.karumanchi@amd.com>
Tue, 28 May 2024 06:20:07 +0000 (11:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 May 2024 12:10:57 +0000 (13:10 +0100)
Add "clocks" bindings for the input clock.

Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/xlnx,gmii-to-rgmii.yaml

index 0f781da..eb803dd 100644 (file)
@@ -31,6 +31,10 @@ properties:
   phy-handle:
     $ref: ethernet-controller.yaml#/properties/phy-handle
 
+  clocks:
+    items:
+      - description: 200/375 MHz free-running clock is used as input clock.
+
 required:
   - compatible
   - reg
@@ -51,5 +55,6 @@ examples:
             compatible = "xlnx,gmii-to-rgmii-1.0";
             reg = <8>;
             phy-handle = <&phy>;
+            clocks = <&dummy>;
         };
     };