MLK-14977: ARM: dts: imx7: Use IMX7D_GPT_3M_CLK for GPT1
authorLeonard Crestez <leonard.crestez@nxp.com>
Fri, 19 May 2017 15:24:34 +0000 (18:24 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:25 +0000 (15:22 -0500)
On most imx SOCs GPT1 takes it's clock from the oscillater because
otherwise it might get confusing when bus frequency is decreased.

Right now imx7 is an exception because imx7s.dtsi comes from upstream
rather than a port of imx_4.1.y.

On the imx_4.1.y branch imx7 uses GPT_3M as well, adopt that approach.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
arch/arm/boot/dts/imx7s.dtsi

index 6993471..74a3938 100644 (file)
                                reg = <0x302d0000 0x10000>;
                                interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks IMX7D_GPT1_ROOT_CLK>,
-                                        <&clks IMX7D_GPT1_ROOT_CLK>;
-                               clock-names = "ipg", "per";
+                                       <&clks IMX7D_GPT1_ROOT_CLK>,
+                                       <&clks IMX7D_GPT_3M_CLK>;
+                               clock-names = "ipg", "per", "osc_per";
                        };
 
                        gpt2: gpt@302e0000 {