arm: dts: mt7623: 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. Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Link: https://lore.kernel.org/r/20230210182505.24597-4-arinc.unal@arinc9.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
committed by
Matthias Brugger
parent
e5240c35fa
commit
cf8f3a7a04
@@ -36,9 +36,9 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
switch0: switch@0 {
|
||||
switch0: switch@1f {
|
||||
compatible = "mediatek,mt7530";
|
||||
reg = <0>;
|
||||
reg = <0x1f>;
|
||||
mediatek,mcm;
|
||||
resets = <ðsys MT2701_ETHSYS_MCM_RST>;
|
||||
reset-names = "mcm";
|
||||
|
||||
@@ -189,9 +189,9 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
switch@0 {
|
||||
switch@1f {
|
||||
compatible = "mediatek,mt7530";
|
||||
reg = <0>;
|
||||
reg = <0x1f>;
|
||||
reset-gpios = <&pio 33 0>;
|
||||
core-supply = <&mt6323_vpa_reg>;
|
||||
io-supply = <&mt6323_vemc3v3_reg>;
|
||||
|
||||
@@ -185,9 +185,9 @@
|
||||
phy-mode = "rgmii-rxid";
|
||||
};
|
||||
|
||||
switch@0 {
|
||||
switch@1f {
|
||||
compatible = "mediatek,mt7530";
|
||||
reg = <0>;
|
||||
reg = <0x1f>;
|
||||
reset-gpios = <&pio 33 0>;
|
||||
core-supply = <&mt6323_vpa_reg>;
|
||||
io-supply = <&mt6323_vemc3v3_reg>;
|
||||
|
||||
Reference in New Issue
Block a user