1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-16 04:03:56 +02:00
openwrt/target/linux/mediatek
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
..
base-files mediatek: filogic: fix failsafe mode on devices with no lan1 2024-03-02 14:08:08 +01:00
dts mediatek: fix DTS defining mt7530 switch phys but not referencing them 2024-04-13 18:49:30 +01:00
files mediatek: mt7622: rtl8367c: source code spell fixes 2024-04-12 14:46:32 +02:00
files-6.1 mediatek: mt7988: add missing clock for PCIe ports 2024-03-15 14:09:11 +00:00
files-6.6 mediatek: mt7988: add missing clock for PCIe ports 2024-03-15 14:09:11 +00:00
filogic mediatek: filogic: add support for Edgecore EAP111 2024-04-11 13:25:11 +02:00
image mediatek: filogic: add support for Edgecore EAP111 2024-04-11 13:25:11 +02:00
mt7622 mediatek: add Airoha EN8801SC PHY driver 2024-04-11 13:10:15 +02:00
mt7623 mediatek: add Airoha EN8801SC PHY driver 2024-04-11 13:10:15 +02:00
mt7629 mediatek: add Airoha EN8801SC PHY driver 2024-04-11 13:10:15 +02:00
patches-6.1 mediatek: add Airoha EN8801SC PHY driver 2024-04-11 13:10:15 +02:00
patches-6.6 mediatek: add Airoha EN8801SC PHY driver 2024-04-11 13:10:15 +02:00
Makefile mediatek: add Linux 6.6 as testing kernel 2024-03-11 21:22:12 +00:00
modules.mk mediatek: mt7623: build mt6577_auxadc driver into kernel 2022-12-05 23:14:36 +00:00