Daniel Golle eb13076e77 mediatek: fix DTS defining mt7530 switch phys but not referencing them
The upstream solution to define the MDIO bus in DT is a bit
more strict than our previous downstream solution doing the same thing
and now requires switch PHYs to be referenced in DT as well.

Arınç Ünal told us in #15141:
"With [the now upstream patch written by him which we backported], the
switch MDIO bus won't be assigned to ds->user_mii_bus when the switch
MDIO bus is defined on the device tree anymore. This was not the case
with the downstream patch.

When ds->user_mii_bus is populated, DSA will 1:1 map the port with
PHY. Meaning port with address 1 will be mapped to PHY with address 1.
Because that ds->user_mii_bus is not populated when the switch MDIO
bus is defined on the device tree, on every port node, the PHY address
must be supplied by the phy-handle property."

Add those phy-handles to affected devices' DT.

Fixes: 4354b34f6f ("generic: 6.6: sync mt7530 DSA driver with upstream")
Fixes: 401a6ccfaf ("generic: 6.1: sync mt7530 DSA driver with upstream")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-04-13 18:49:30 +01:00
..
2024-03-28 13:06:43 +01:00
2024-03-29 09:58:45 +01:00
2024-01-19 21:24:44 +01:00
2024-03-31 18:34:04 +02:00
2024-03-29 13:44:41 +01:00
2024-03-31 18:34:04 +02:00
2024-04-08 21:52:51 +02:00
2024-01-06 12:52:49 +01:00
2024-03-24 21:19:10 +01:00
2024-04-05 14:43:44 -04:00
2024-04-05 17:32:21 +02:00
2024-04-05 09:27:45 +02:00
2024-03-24 21:20:46 +01:00
2024-03-14 14:24:16 +01:00
2024-03-31 18:34:04 +02:00
2024-02-13 19:05:48 +01:00
2024-03-31 18:34:04 +02:00
2023-12-02 14:06:56 +02:00
2024-03-23 21:38:00 +01:00