Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: vf610-zii-dev-rev-b: Fix MDIO over clocking

The ZII devel B board has two generations of Marvell Switches. The
mv88e6352 supports an MDIO clock of 12MHz. However the older 88e6185
does not like 12MHz, and often fails to probe.

Reduce the clock speed to 5MHz, which seems to work reliably.

Cc: Chris Healy <cphealy@gmail.com>
Fixes: b955387667ec ("ARM: dts: ZII: update MDIO speed and preamble")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Andrew Lunn and committed by
Shawn Guo
f8b5a337 7dd8f0ba

+3
+3
arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
··· 406 406 }; 407 407 }; 408 408 409 + &mdio1 { 410 + clock-frequency = <5000000>; 411 + }; 409 412 410 413 &iomuxc { 411 414 pinctrl_gpio_e6185_eeprom_sel: pinctrl-gpio-e6185-eeprom-spi0 {