Commit 7cb220a7 authored by Chuanhua Han's avatar Chuanhua Han Committed by Shawn Guo

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: default avatarChuanhua Han <chuanhua.han@nxp.com>
Acked-by: default avatarLi Yang <leoyang.li@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent ced41bb1
......@@ -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";
};
......
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