]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imx: Use 100 kHz I2C2 on Data Modul i.MX8M Mini eDM SBC
authorMarek Vasut <marex@denx.de>
Fri, 22 Apr 2022 08:57:53 +0000 (10:57 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 19 May 2022 19:39:36 +0000 (21:39 +0200)
The I2C2 has SMBus device SMSC USB2514Bi connected to it, the device is
capable of up to 100 kHz operation. Reduce the bus frequency to 100 kHz
to guarantee this I2C device can work correctly.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/dts/imx8mm-data-modul-edm-sbc.dts

index 154116d01c94d9d4b0c77bba06a4f4c104cf64f1..5b022040902d9ea36f295d29a28579eba60c6fd2 100644 (file)
 
 &i2c2 {
        /* IMX8MM ERRATA e7805 -- I2C is limited to 384 kHz due to SoC bug */
-       clock-frequency = <320000>;
+       clock-frequency = <100000>;
        pinctrl-names = "default", "gpio";
        pinctrl-0 = <&pinctrl_i2c2>;
        pinctrl-1 = <&pinctrl_i2c2_gpio>;