]> git.baikalelectronics.ru Git - kernel.git/commit
mips: dts: ralink: mt7621: change mt7530 switch address
authorArınç ÜNAL <arinc.unal@arinc9.com>
Tue, 20 Sep 2022 17:25:54 +0000 (20:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2022 09:24:59 +0000 (10:24 +0100)
commitdad0e2144cd564f13265c1454573026a6d57ccc6
treef71719a0904b6686ed5ea5202e0eec08af474432
parentbf4e51d9e77b8639084e2a2f1369100ee55f757f
mips: dts: ralink: mt7621: change mt7530 switch address

In the case of muxing phy0 of the MT7530 switch, the switch and the phy
will have the same address on the mdio bus, 0. This causes the ethernet
driver to fail since devices on the mdio bus cannot share an address.

Any address can be used for the switch, therefore, change the switch
address to 0x1f.

Suggested-by: Sungbo Eo <mans0n@gorani.run>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/mips/boot/dts/ralink/mt7621.dtsi