On Thu, Sep 03, 2026 at 02:21:17PM +0200, Markus Stockhausen wrote:
quoted hunk ↗ jump to hunk
The Realtek Otto Switch ethernet MDIO controller supports different MDC
speeds ranging from 1.25MHz to 10MHz. Document the clock-frequency
attribute for the device tree.
There is neither an offical documentation nor any obvious registers that
indicate a dependency to one of the hardware clocks. The usable setup bits
are more like hardcoded values than dividers. Without further details do
not add a clock reference.
Signed-off-by: Markus Stockhausen <redacted>
---
.../devicetree/bindings/net/realtek,rtl9301-mdio.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml b/Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml
index 67e0b23a8470..6db3315ce96b 100644
--- a/Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml
@@ -56,6 +56,9 @@ patternProperties:
reg:
maxItems: 1
+ clock-frequency:
+ default: 2500000
Please list the supported values.
The fact this is messy, different devices supporting different
frequencies, makes the validation more important.
Andrew