Commit b57f7d21 authored by Peng Fan's avatar Peng Fan Committed by Shawn Guo

arm64: dts: imx8-ss-dma: add IPG clock for i2c

i.MX8 LPI2C requires both PER and IPG clock, so add the missed IPG clk.
Reviewed-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent de9618e8
...@@ -111,8 +111,9 @@ uart3_lpcg: clock-controller@5a490000 { ...@@ -111,8 +111,9 @@ uart3_lpcg: clock-controller@5a490000 {
i2c0: i2c@5a800000 { i2c0: i2c@5a800000 {
reg = <0x5a800000 0x4000>; reg = <0x5a800000 0x4000>;
interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&i2c0_lpcg IMX_LPCG_CLK_0>; clocks = <&i2c0_lpcg IMX_LPCG_CLK_0>,
clock-names = "per"; <&i2c0_lpcg IMX_LPCG_CLK_4>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX_SC_R_I2C_0 IMX_SC_PM_CLK_PER>; assigned-clocks = <&clk IMX_SC_R_I2C_0 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>; assigned-clock-rates = <24000000>;
power-domains = <&pd IMX_SC_R_I2C_0>; power-domains = <&pd IMX_SC_R_I2C_0>;
...@@ -122,8 +123,9 @@ i2c0: i2c@5a800000 { ...@@ -122,8 +123,9 @@ i2c0: i2c@5a800000 {
i2c1: i2c@5a810000 { i2c1: i2c@5a810000 {
reg = <0x5a810000 0x4000>; reg = <0x5a810000 0x4000>;
interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&i2c1_lpcg IMX_LPCG_CLK_0>; clocks = <&i2c1_lpcg IMX_LPCG_CLK_0>,
clock-names = "per"; <&i2c1_lpcg IMX_LPCG_CLK_4>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX_SC_R_I2C_1 IMX_SC_PM_CLK_PER>; assigned-clocks = <&clk IMX_SC_R_I2C_1 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>; assigned-clock-rates = <24000000>;
power-domains = <&pd IMX_SC_R_I2C_1>; power-domains = <&pd IMX_SC_R_I2C_1>;
...@@ -133,8 +135,9 @@ i2c1: i2c@5a810000 { ...@@ -133,8 +135,9 @@ i2c1: i2c@5a810000 {
i2c2: i2c@5a820000 { i2c2: i2c@5a820000 {
reg = <0x5a820000 0x4000>; reg = <0x5a820000 0x4000>;
interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&i2c2_lpcg IMX_LPCG_CLK_0>; clocks = <&i2c2_lpcg IMX_LPCG_CLK_0>,
clock-names = "per"; <&i2c2_lpcg IMX_LPCG_CLK_4>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX_SC_R_I2C_2 IMX_SC_PM_CLK_PER>; assigned-clocks = <&clk IMX_SC_R_I2C_2 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>; assigned-clock-rates = <24000000>;
power-domains = <&pd IMX_SC_R_I2C_2>; power-domains = <&pd IMX_SC_R_I2C_2>;
...@@ -144,8 +147,9 @@ i2c2: i2c@5a820000 { ...@@ -144,8 +147,9 @@ i2c2: i2c@5a820000 {
i2c3: i2c@5a830000 { i2c3: i2c@5a830000 {
reg = <0x5a830000 0x4000>; reg = <0x5a830000 0x4000>;
interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&i2c3_lpcg IMX_LPCG_CLK_0>; clocks = <&i2c3_lpcg IMX_LPCG_CLK_0>,
clock-names = "per"; <&i2c3_lpcg IMX_LPCG_CLK_4>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX_SC_R_I2C_3 IMX_SC_PM_CLK_PER>; assigned-clocks = <&clk IMX_SC_R_I2C_3 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>; assigned-clock-rates = <24000000>;
power-domains = <&pd IMX_SC_R_I2C_3>; power-domains = <&pd IMX_SC_R_I2C_3>;
......
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