]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: mt7622: fix switch probe on bananapi-r64
authorFrank Wunderlich <frank-w@public-files.de>
Thu, 16 May 2024 20:48:47 +0000 (22:48 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 27 Jun 2024 08:10:26 +0000 (10:10 +0200)
After commit 868ff5f4944a
("net: dsa: mt7530-mdio: read PHY address of switch from device tree")
the mt7531 switch on Bananapi-R64 was not detected.

mt7530-mdio mdio-bus:00: reset timeout
mt7530-mdio mdio-bus:00: probe with driver mt7530-mdio failed with error -110

Fix this by adding phy address in devicetree.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Link: https://lore.kernel.org/r/20240516204847.171029-1-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts

index 2791de5b28f6a31b047a65b2442bb0d9e408b0d5..d12eac9b3eebfa564b07d937ddcac6a2fa112bb5 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
-               switch@0 {
+               switch@1f {
                        compatible = "mediatek,mt7531";
-                       reg = <0>;
+                       reg = <0x1f>;
                        interrupt-controller;
                        #interrupt-cells = <1>;
                        interrupts-extended = <&pio 53 IRQ_TYPE_LEVEL_HIGH>;