]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
authorPali Rohár <pali@kernel.org>
Mon, 28 Jun 2021 15:12:29 +0000 (17:12 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 23 Jul 2021 12:40:11 +0000 (14:40 +0200)
Some SFP modules are not detected when i2c-fast-mode is enabled even when
clock-frequency is already set to 100000. The I2C bus violates the timing
specifications when run in fast mode. So disable fast mode on Turris Mox.

Same change was already applied for uDPU (also Armada 3720 board with SFP)
in commit fe3ec631a77d ("arm64: dts: uDPU: remove i2c-fast-mode").

Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <kabel@kernel.org>
Acked-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts

index f2d7d6f071bce5e7b69629f25acc8039613adc13..a05b1ab2dd12cec2f07979a3d63084704e29a078 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&i2c1_pins>;
        clock-frequency = <100000>;
+       /delete-property/ mrvl,i2c-fast-mode;
        status = "okay";
 
        rtc@6f {