Commit 2f2a1975 authored by Chuanhua Han's avatar Chuanhua Han Committed by Priyanka Jain
Browse files

armv8: fsl-layerscape: Update I2C clock divider



By default, i2c input clock is programmed at
platform clk / 2 in u-boot, but this is not
correct for all the platforms,
Update I2C clock divider's default values as per
SoC (LS1012A, LS1028A, LX2160A and LS1088A).
Signed-off-by: default avatarChuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
parent 412e25ab
...@@ -501,6 +501,10 @@ config SYS_FSL_I2C_CLK_DIV ...@@ -501,6 +501,10 @@ config SYS_FSL_I2C_CLK_DIV
config SYS_FSL_IFC_CLK_DIV config SYS_FSL_IFC_CLK_DIV
int "IFC clock divider" int "IFC clock divider"
default 1 if ARCH_LS1043A default 1 if ARCH_LS1043A
default 4 if ARCH_LS1012A
default 4 if ARCH_LS1028A
default 8 if ARCH_LX2160A
default 8 if ARCH_LS1088A
default 2 default 2
help help
This is the divider that is used to derive IFC clock from Platform This is the divider that is used to derive IFC clock from Platform
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment