]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: net: dsa: mediatek,mt7530: add internal mdio bus
authorFrank Wunderlich <frank-w@public-files.de>
Wed, 9 Jul 2025 11:09:42 +0000 (13:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Jul 2025 22:04:10 +0000 (15:04 -0700)
Mt7988 buildin switch has own mdio bus where ge-phys are connected.
Add related property for this.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20250709111147.11843-7-linux@fw-web.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml

index 9b983fdbf3c7a3baefaf442b315e89429f23ad58..815a90808901041c5ca2da319a279d02fcb66636 100644 (file)
@@ -136,6 +136,16 @@ properties:
       See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt for
       details for the regulator setup on these boards.
 
+  mdio:
+    $ref: /schemas/net/mdio.yaml#
+    unevaluatedProperties: false
+
+    properties:
+      mediatek,pio:
+        $ref: /schemas/types.yaml#/definitions/phandle
+        description:
+          Phandle pointing to the mediatek pinctrl node.
+
   mediatek,mcm:
     type: boolean
     description: