]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: omap3-devkit8000: Fix CONFIG_DM_I2C warning
authorAnthoine Bourgeois <anthoine.bourgeois@gmail.com>
Thu, 2 Jun 2022 20:27:07 +0000 (22:27 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jun 2022 14:58:26 +0000 (10:58 -0400)
Seems that u-boot can't probe i2c bus at 2.6Mhz speed, so lower
the speed to the default value 100Khz.

v2: fix i2c1 frequency in the root omap3-u-boot.dtsi include.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
arch/arm/dts/omap3-u-boot.dtsi
configs/devkit8000_defconfig

index 32bea6b6d9b8c4e15f0018a6df358753a6e11c4d..96d8ac54539915c36c66299fc59fe1d228854dd8 100644 (file)
@@ -78,4 +78,5 @@
 
 &i2c1 {
        u-boot,dm-spl;
+       clock-frequency = <100000>;
 };
index ecc30904867d108848c44569f0d839795ff01027..76371e3074f87e0303e5b02446cd1f1bc31542c5 100644 (file)
@@ -73,6 +73,7 @@ CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
+CONFIG_DM_I2C=y
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_OMAP_ECCSCHEME_HAM1_CODE_HW=y