aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthoine Bourgeois <anthoine.bourgeois@gmail.com>2022-06-02 22:27:07 +0200
committerTom Rini <trini@konsulko.com>2022-06-22 10:58:26 -0400
commit8d09c7b774af20660e5baae28210e92a20ffda04 (patch)
treee78e9328417404962c43245a82f613f17c523924
parent49df685d32593fa5b28ab56d7283220c77098ce6 (diff)
downloadu-boot-8d09c7b774af20660e5baae28210e92a20ffda04.zip
u-boot-8d09c7b774af20660e5baae28210e92a20ffda04.tar.gz
u-boot-8d09c7b774af20660e5baae28210e92a20ffda04.tar.bz2
ARM: dts: omap3-devkit8000: Fix CONFIG_DM_I2C warning
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>
-rw-r--r--arch/arm/dts/omap3-u-boot.dtsi1
-rw-r--r--configs/devkit8000_defconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/dts/omap3-u-boot.dtsi b/arch/arm/dts/omap3-u-boot.dtsi
index 32bea6b..96d8ac5 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 ecc3090..76371e3 100644
--- a/configs/devkit8000_defconfig
+++ b/configs/devkit8000_defconfig
@@ -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