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

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
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -485,7 +485,7 @@
			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 @@
			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 @@
			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 @@
			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 @@
			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 @@
			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 @@
			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 @@
			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";
		};