[PATCH 2/3] ARM: dts: omap3-devkit8000: Fix CONFIG_DM_I2C warning

Anthoine Bourgeois anthoine.bourgeois at gmail.com
Sun May 15 15:38:21 CEST 2022


Seems that u-boot can't probe i2c bus at 2.6Mhz speed, so lower
the speed to the default value 100Khz.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois at gmail.com>
---
 arch/arm/dts/omap3-devkit8000.dts | 2 +-
 configs/devkit8000_defconfig      | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/omap3-devkit8000.dts b/arch/arm/dts/omap3-devkit8000.dts
index eee3ba073b..9cd3708d95 100644
--- a/arch/arm/dts/omap3-devkit8000.dts
+++ b/arch/arm/dts/omap3-devkit8000.dts
@@ -115,7 +115,7 @@
 };
 
 &i2c1 {
-	clock-frequency = <2600000>;
+	clock-frequency = <100000>;
 
 	twl: twl at 48 {
 		reg = <0x48>;
diff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig
index c025b400d2..98126e9c82 100644
--- a/configs/devkit8000_defconfig
+++ b/configs/devkit8000_defconfig
@@ -64,6 +64,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_DM_MMC=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
-- 
2.35.1



More information about the U-Boot mailing list