[PATCH net-next v3 2/8] dt-bindings: net: Add SoC-e SWIP MDIO controller

From: Vasilij Strassheim

Date: Wed Sep 23 2026 - 06:54:46 EST


Add a binding for the MDIO controller integrated into SoC-e SWIP
Ethernet switch IP cores.

The controller exposes separate register regions for transaction data
and for the shared transaction control and external bus selector
register. It acts as the parent bus for an MDIO mux used to access the
external MDIO interfaces synthesized into the switch core.

Signed-off-by: Vasilij Strassheim <v.strassheim@xxxxxxxxxxxxx>
---
.../devicetree/bindings/net/soce,swip-mdio.yaml | 47 ++++++++++++++++++++++
1 file changed, 47 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/soce,swip-mdio.yaml b/Documentation/devicetree/bindings/net/soce,swip-mdio.yaml
new file mode 100644
index 000000000000..3cf4bde0508a
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/soce,swip-mdio.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/soce,swip-mdio.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: SoC-e switch IP MDIO controller
+
+maintainers:
+ - Vasilij Strassheim <v.strassheim@xxxxxxxxxxxxx>
+
+description:
+ MDIO controller integrated into SoC-e Ethernet switch FPGA IP cores.
+ The controller accesses multiple external MDIO buses through a mux.
+
+$ref: mdio.yaml#
+
+properties:
+ compatible:
+ const: soce,swip-mdio-23-02
+
+ reg:
+ items:
+ - description: MDIO parameter, write data, and read data registers
+ - description: Shared MDIO transaction control and bus selection register
+
+ reg-names:
+ items:
+ - const: data
+ - const: control
+
+required:
+ - compatible
+ - reg
+ - reg-names
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ mdio@204 {
+ compatible = "soce,swip-mdio-23-02";
+ reg = <0x204 0xc>, <0x200 0x4>;
+ reg-names = "data", "control";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };

--
2.39.5