]> git.itanic.dy.fi Git - linux-stable/commit
dt-bindings: net: dsa: mediatek,mt7530: change mt7530 switch address
authorArınç ÜNAL <arinc.unal@arinc9.com>
Tue, 20 Sep 2022 17:25:48 +0000 (20:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2022 09:24:58 +0000 (10:24 +0100)
commit3737c6aaf22dc6f515a7d4cf88dfe6e514414f88
tree69b190139ba2959e3f83d2aa6363a9df7aca3a30
parente8619b05870d509175492435d4b35b45f0e6c9c8
dt-bindings: net: dsa: mediatek,mt7530: 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>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml