Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: net: dsa: mediatek,mt7530: add dsa-port definition for mt7988

Add own dsa-port binding for SoC with internal switch where only phy-mode
'internal' is valid.

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-6-linux@fw-web.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Frank Wunderlich and committed by
Jakub Kicinski
588cb646 c4582a31

+13 -1
+13 -1
Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
··· 190 190 - reg 191 191 192 192 $defs: 193 + builtin-dsa-port: 194 + patternProperties: 195 + "^(ethernet-)?ports$": 196 + patternProperties: 197 + "^(ethernet-)?port@[0-6]$": 198 + if: 199 + required: [ ethernet ] 200 + then: 201 + properties: 202 + phy-mode: 203 + const: internal 204 + 193 205 mt7530-dsa-port: 194 206 patternProperties: 195 207 "^(ethernet-)?ports$": ··· 309 297 - airoha,en7581-switch 310 298 - airoha,an7583-switch 311 299 then: 312 - $ref: "#/$defs/mt7530-dsa-port" 300 + $ref: "#/$defs/builtin-dsa-port" 313 301 properties: 314 302 gpio-controller: false 315 303 mediatek,mcm: false