diff options
author | Arınç ÜNAL <arinc.unal@arinc9.com> | 2022-09-20 19:25:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-09-23 11:24:59 +0200 |
commit | 2b653a373b410d07699a632b1b064fd7d895c5c3 (patch) | |
tree | f71719a0904b6686ed5ea5202e0eec08af474432 /arch/mips | |
parent | mips: dts: ralink: mt7621: change phy-mode of gmac1 to rgmii (diff) | |
download | linux-2b653a373b410d07699a632b1b064fd7d895c5c3.tar.xz linux-2b653a373b410d07699a632b1b064fd7d895c5c3.zip |
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>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/boot/dts/ralink/mt7621.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index edb7dd8b34da..f3f4c1f26e01 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -340,9 +340,9 @@ #address-cells = <1>; #size-cells = <0>; - switch0: switch@0 { + switch0: switch@1f { compatible = "mediatek,mt7621"; - reg = <0>; + reg = <0x1f>; mediatek,mcm; resets = <&sysc MT7621_RST_MCM>; reset-names = "mcm"; |