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: mediatek,net: Correct bindings for MT7981

Different SoCs have different numbers of Wireless Ethernet
Dispatch (WED) units:
- MT7981: Has 1 WED unit
- MT7986: Has 2 WED units
- MT7988: Has 2 WED units

Update the binding to reflect these hardware differences. The MT7981
also uses infracfg for PHY switching, so allow that property.

Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20251115-openwrt-one-network-v4-6-48cbda2969ac@collabora.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Sjoerd Simons and committed by
Jakub Kicinski
bc41fbbf 865a5d1a

+23 -3
+23 -3
Documentation/devicetree/bindings/net/mediatek,net.yaml
··· 112 112 113 113 mediatek,wed: 114 114 $ref: /schemas/types.yaml#/definitions/phandle-array 115 - minItems: 2 115 + minItems: 1 116 116 maxItems: 2 117 117 items: 118 118 maxItems: 1 ··· 249 249 minItems: 1 250 250 maxItems: 1 251 251 252 + mediatek,wed: 253 + minItems: 2 254 + 252 255 mediatek,wed-pcie: false 253 256 else: 254 257 properties: ··· 341 338 - const: netsys0 342 339 - const: netsys1 343 340 344 - mediatek,infracfg: false 345 - 346 341 mediatek,sgmiisys: 347 342 minItems: 2 348 343 maxItems: 2 344 + 345 + mediatek,wed: 346 + maxItems: 1 349 347 350 348 - if: 351 349 properties: ··· 388 384 mediatek,sgmiisys: 389 385 minItems: 2 390 386 maxItems: 2 387 + 388 + mediatek,wed: 389 + minItems: 2 391 390 392 391 - if: 393 392 properties: ··· 435 428 - const: xgp1 436 429 - const: xgp2 437 430 - const: xgp3 431 + 432 + mediatek,wed: 433 + minItems: 2 434 + 435 + - if: 436 + properties: 437 + compatible: 438 + contains: 439 + const: ralink,rt5350-eth 440 + then: 441 + properties: 442 + mediatek,wed: 443 + minItems: 2 438 444 439 445 patternProperties: 440 446 "^mac@[0-2]$":