diff mbox series

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

Message ID 20220516210429.2489287-3-anthoine.bourgeois@gmail.com
State Superseded
Delegated to: Tom Rini
Headers show
Series Support Devkit800 device tree | expand

Commit Message

Anthoine Bourgeois May 16, 2022, 9:04 p.m. UTC
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 | 1 +
 configs/devkit8000_defconfig   | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/omap3-u-boot.dtsi b/arch/arm/dts/omap3-u-boot.dtsi
index 32bea6b6d9..96d8ac5453 100644
--- a/arch/arm/dts/omap3-u-boot.dtsi
+++ b/arch/arm/dts/omap3-u-boot.dtsi
@@ -78,4 +78,5 @@ 
 
 &i2c1 {
 	u-boot,dm-spl;
+	clock-frequency = <100000>;
 };
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