The lower end Realtek Otto switches provide 1G only and are divided into two series: - Maple : RTL838x up to 28 ports - Cypress: RTL839x up to 56 ports The Maple based devices have 3 different SoCs: RTL8380, RTL8381 and RTL8382. The Cypress series consists of the RTL8391, RTL8392 and RTL8393 SoCs. The MDIO controller of these switches works like the existing RTL93xx logic but has different characteristics and different registers. Add new compatibles in the device tree. Signed-off-by: Markus Stockhausen --- .../bindings/net/realtek,rtl9301-mdio.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml b/Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml index 271e05bae9c5..de33364b67ef 100644 --- a/Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml +++ b/Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml @@ -12,6 +12,16 @@ maintainers: properties: compatible: oneOf: + - items: + - enum: + - realtek,rtl8381-mdio + - realtek,rtl8382-mdio + - const: realtek,rtl8380-mdio + - items: + - enum: + - realtek,rtl8392-mdio + - realtek,rtl8393-mdio + - const: realtek,rtl8391-mdio - items: - enum: - realtek,rtl9302b-mdio @@ -24,6 +34,8 @@ properties: - realtek,rtl9313-mdio - const: realtek,rtl9311-mdio - enum: + - realtek,rtl8380-mdio + - realtek,rtl8391-mdio - realtek,rtl9301-mdio - realtek,rtl9311-mdio -- 2.54.0