]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: net: realtek,rtl9301-mdio: Add RTL931x series
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 10 Jun 2026 19:41:41 +0000 (21:41 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Jun 2026 00:24:10 +0000 (17:24 -0700)
The 10G Realtek Otto switches are divided into two series

- Longan: RTL930x up to 28 ports
- Mango : RTL931x up to 56 ports

The Mango based devices have 3 different SoCs RTL9311, RTL9312 and RTL9313.
The MDIO controller of these switches works like the existing RTL930x
logic but has different characteristics and different registers. Add new
compatibles in the device tree.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://patch.msgid.link/20260610194145.4153668-2-markus.stockhausen@gmx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml

index 02e4e33e996984021e5d43cc6a21e168e65df0da..271e05bae9c574716a207406571bca7d5e571c03 100644 (file)
@@ -18,7 +18,14 @@ properties:
               - realtek,rtl9302c-mdio
               - realtek,rtl9303-mdio
           - const: realtek,rtl9301-mdio
-      - const: realtek,rtl9301-mdio
+      - items:
+          - enum:
+              - realtek,rtl9312-mdio
+              - realtek,rtl9313-mdio
+          - const: realtek,rtl9311-mdio
+      - enum:
+          - realtek,rtl9301-mdio
+          - realtek,rtl9311-mdio
 
   '#address-cells':
     const: 1