Skip to content

Commit a2ac2a1

Browse files
arinc9mmind
authored andcommitted
arm64: dts: rockchip: set PHY address of MT7531 switch to 0x1f
The MT7531 switch listens on PHY address 0x1f on an MDIO bus. I've got two findings that support this. There's no bootstrapping option to change the PHY address of the switch. The Linux driver hardcodes 0x1f as the PHY address of the switch. So the reg property on the device tree is currently ignored by the Linux driver. Therefore, describe the correct PHY address on Banana Pi BPI-R2 Pro that has this switch. Signed-off-by: Arınç ÜNAL <[email protected]> Fixes: c180446 ("arm64: dts: rockchip: Add mt7531 dsa node to BPI-R2-Pro board") Link: https://lore.kernel.org/r/20240314-for-rockchip-mt7531-phy-address-v1-1-743b5873358f@arinc9.com Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 4cece76 commit a2ac2a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,9 @@
525525
#address-cells = <1>;
526526
#size-cells = <0>;
527527

528-
switch@0 {
528+
switch@1f {
529529
compatible = "mediatek,mt7531";
530-
reg = <0>;
530+
reg = <0x1f>;
531531

532532
ports {
533533
#address-cells = <1>;

0 commit comments

Comments
 (0)