arm64: dts: lx2160a: Fix incorrect I2C clock divider

Lx2160a platform, the i2c input clock is actually platform pll CLK / 16
(this is the hardware connection), other clock divider can not get the
correct i2c clock, resulting in the output of SCL pin clock is not
accurate.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Chuanhua Han
2019-08-06 16:42:23 +08:00
committed by Shawn Guo
parent ced41bb1ca
commit 7cb220a75f

View File

@@ -485,7 +485,7 @@ i2c0: i2c@2000000 {
reg = <0x0 0x2000000 0x0 0x10000>;
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c";
clocks = <&clockgen 4 7>;
clocks = <&clockgen 4 15>;
scl-gpio = <&gpio2 15 GPIO_ACTIVE_HIGH>;
status = "disabled";
};
@@ -497,7 +497,7 @@ i2c1: i2c@2010000 {
reg = <0x0 0x2010000 0x0 0x10000>;
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c";
clocks = <&clockgen 4 7>;
clocks = <&clockgen 4 15>;
status = "disabled";
};
@@ -508,7 +508,7 @@ i2c2: i2c@2020000 {
reg = <0x0 0x2020000 0x0 0x10000>;
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c";
clocks = <&clockgen 4 7>;
clocks = <&clockgen 4 15>;
status = "disabled";
};
@@ -519,7 +519,7 @@ i2c3: i2c@2030000 {
reg = <0x0 0x2030000 0x0 0x10000>;
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c";
clocks = <&clockgen 4 7>;
clocks = <&clockgen 4 15>;
status = "disabled";
};
@@ -530,7 +530,7 @@ i2c4: i2c@2040000 {
reg = <0x0 0x2040000 0x0 0x10000>;
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c";
clocks = <&clockgen 4 7>;
clocks = <&clockgen 4 15>;
scl-gpio = <&gpio2 16 GPIO_ACTIVE_HIGH>;
status = "disabled";
};
@@ -542,7 +542,7 @@ i2c5: i2c@2050000 {
reg = <0x0 0x2050000 0x0 0x10000>;
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c";
clocks = <&clockgen 4 7>;
clocks = <&clockgen 4 15>;
status = "disabled";
};
@@ -553,7 +553,7 @@ i2c6: i2c@2060000 {
reg = <0x0 0x2060000 0x0 0x10000>;
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c";
clocks = <&clockgen 4 7>;
clocks = <&clockgen 4 15>;
status = "disabled";
};
@@ -564,7 +564,7 @@ i2c7: i2c@2070000 {
reg = <0x0 0x2070000 0x0 0x10000>;
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c";
clocks = <&clockgen 4 7>;
clocks = <&clockgen 4 15>;
status = "disabled";
};