ARM: dts: omap4/5: Use l3_ick for the gpmc node
authorFlorian Vaussard <florian.vaussard@epfl.ch>
Wed, 26 Feb 2014 10:38:09 +0000 (11:38 +0100)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Mar 2014 20:41:50 +0000 (13:41 -0700)
The GPMC clock is derived from l3_ick. The simplest solution is
to reference directly l3_ick to provide the GPMC fck in order to
get correct timings. The real management of the clock is left to
hwmod.

Cc: stable@vger.kernel.org # v3.14+
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4.dtsi
arch/arm/boot/dts/omap5.dtsi

index d3f8a6e8ca205ef1585c279c1ce50dc8703fa6b5..69409f7e05dc3c0634d7a8c41a3384c8238c900f 100644 (file)
                        gpmc,num-waitpins = <4>;
                        ti,hwmods = "gpmc";
                        ti,no-idle-on-init;
+                       clocks = <&l3_div_ck>;
+                       clock-names = "fck";
                };
 
                uart1: serial@4806a000 {
index a72813a9663eccd7075b185489cbda4694fd0003..7a16647c76f438241838a16c473ccef033389cc6 100644 (file)
                        gpmc,num-cs = <8>;
                        gpmc,num-waitpins = <4>;
                        ti,hwmods = "gpmc";
+                       clocks = <&l3_iclk_div>;
+                       clock-names = "fck";
                };
 
                i2c1: i2c@48070000 {