Commit ced41bb1 authored by Chuanhua Han's avatar Chuanhua Han Committed by Shawn Guo

arm64: dts: ls1028a: Fix incorrect I2C clock divider

Ls1028a platform, the i2c input clock is actually platform pll CLK / 4
(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 52d3406e
...@@ -173,7 +173,7 @@ i2c0: i2c@2000000 { ...@@ -173,7 +173,7 @@ i2c0: i2c@2000000 {
#size-cells = <0>; #size-cells = <0>;
reg = <0x0 0x2000000 0x0 0x10000>; reg = <0x0 0x2000000 0x0 0x10000>;
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 3>;
status = "disabled"; status = "disabled";
}; };
...@@ -183,7 +183,7 @@ i2c1: i2c@2010000 { ...@@ -183,7 +183,7 @@ i2c1: i2c@2010000 {
#size-cells = <0>; #size-cells = <0>;
reg = <0x0 0x2010000 0x0 0x10000>; reg = <0x0 0x2010000 0x0 0x10000>;
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 3>;
status = "disabled"; status = "disabled";
}; };
...@@ -193,7 +193,7 @@ i2c2: i2c@2020000 { ...@@ -193,7 +193,7 @@ i2c2: i2c@2020000 {
#size-cells = <0>; #size-cells = <0>;
reg = <0x0 0x2020000 0x0 0x10000>; reg = <0x0 0x2020000 0x0 0x10000>;
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 3>;
status = "disabled"; status = "disabled";
}; };
...@@ -203,7 +203,7 @@ i2c3: i2c@2030000 { ...@@ -203,7 +203,7 @@ i2c3: i2c@2030000 {
#size-cells = <0>; #size-cells = <0>;
reg = <0x0 0x2030000 0x0 0x10000>; reg = <0x0 0x2030000 0x0 0x10000>;
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 3>;
status = "disabled"; status = "disabled";
}; };
...@@ -213,7 +213,7 @@ i2c4: i2c@2040000 { ...@@ -213,7 +213,7 @@ i2c4: i2c@2040000 {
#size-cells = <0>; #size-cells = <0>;
reg = <0x0 0x2040000 0x0 0x10000>; reg = <0x0 0x2040000 0x0 0x10000>;
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 3>;
status = "disabled"; status = "disabled";
}; };
...@@ -223,7 +223,7 @@ i2c5: i2c@2050000 { ...@@ -223,7 +223,7 @@ i2c5: i2c@2050000 {
#size-cells = <0>; #size-cells = <0>;
reg = <0x0 0x2050000 0x0 0x10000>; reg = <0x0 0x2050000 0x0 0x10000>;
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 3>;
status = "disabled"; status = "disabled";
}; };
...@@ -233,7 +233,7 @@ i2c6: i2c@2060000 { ...@@ -233,7 +233,7 @@ i2c6: i2c@2060000 {
#size-cells = <0>; #size-cells = <0>;
reg = <0x0 0x2060000 0x0 0x10000>; reg = <0x0 0x2060000 0x0 0x10000>;
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 3>;
status = "disabled"; status = "disabled";
}; };
...@@ -243,7 +243,7 @@ i2c7: i2c@2070000 { ...@@ -243,7 +243,7 @@ i2c7: i2c@2070000 {
#size-cells = <0>; #size-cells = <0>;
reg = <0x0 0x2070000 0x0 0x10000>; reg = <0x0 0x2070000 0x0 0x10000>;
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 3>;
status = "disabled"; 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