Skip to content

Commit 252b9e2

Browse files
Anson-HuangShawn Guo
authored andcommitted
ARM: dts: imx7s: Correct GPT's ipg clock source
i.MX7S/D's GPT ipg clock should be from GPT clock root and controlled by CCM's GPT CCGR, using correct clock source for GPT ipg clock instead of IMX7D_CLK_DUMMY. Fixes: 3ef79ca ("ARM: dts: imx7d: use imx7s.dtsi as base device tree") Signed-off-by: Anson Huang <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 71936a6 commit 252b9e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/arm/boot/dts/imx7s.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@
448448
compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
449449
reg = <0x302d0000 0x10000>;
450450
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
451-
clocks = <&clks IMX7D_CLK_DUMMY>,
451+
clocks = <&clks IMX7D_GPT1_ROOT_CLK>,
452452
<&clks IMX7D_GPT1_ROOT_CLK>;
453453
clock-names = "ipg", "per";
454454
};
@@ -457,7 +457,7 @@
457457
compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
458458
reg = <0x302e0000 0x10000>;
459459
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
460-
clocks = <&clks IMX7D_CLK_DUMMY>,
460+
clocks = <&clks IMX7D_GPT2_ROOT_CLK>,
461461
<&clks IMX7D_GPT2_ROOT_CLK>;
462462
clock-names = "ipg", "per";
463463
status = "disabled";
@@ -467,7 +467,7 @@
467467
compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
468468
reg = <0x302f0000 0x10000>;
469469
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
470-
clocks = <&clks IMX7D_CLK_DUMMY>,
470+
clocks = <&clks IMX7D_GPT3_ROOT_CLK>,
471471
<&clks IMX7D_GPT3_ROOT_CLK>;
472472
clock-names = "ipg", "per";
473473
status = "disabled";
@@ -477,7 +477,7 @@
477477
compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
478478
reg = <0x30300000 0x10000>;
479479
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
480-
clocks = <&clks IMX7D_CLK_DUMMY>,
480+
clocks = <&clks IMX7D_GPT4_ROOT_CLK>,
481481
<&clks IMX7D_GPT4_ROOT_CLK>;
482482
clock-names = "ipg", "per";
483483
status = "disabled";

0 commit comments

Comments
 (0)