[PATCH 1/3] dt-bindings: net: Add bindings for Realtek PHYs

From: Matthias Kaehlcke
Date: Mon Jul 01 2019 - 15:52:32 EST


Add the 'realtek,enable-ssc' property to enable Spread Spectrum
Clocking (SSC) on Realtek PHYs that support it.

Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
---
.../devicetree/bindings/net/realtek.txt | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/realtek.txt

diff --git a/Documentation/devicetree/bindings/net/realtek.txt b/Documentation/devicetree/bindings/net/realtek.txt
new file mode 100644
index 000000000000..9fad97e7404f
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/realtek.txt
@@ -0,0 +1,21 @@
+Realtek PHY properties.
+
+This document describes properties of Realtek PHYs.
+
+Optional properties:
+- realtek,enable-ssc Enable Spread Spectrum Clocking (SSC) on this port.
+ SSC is only available on some Realtek PHYs (e.g.
+ RTL8211E).
+
+Example:
+
+mdio0 {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy: ethernet-phy@1 {
+ reg = <1>;
+ realtek,enable-ssc;
+ };
+};
--
2.22.0.410.gd8fdbe21b5-goog