Browse Source

ARM: dts: omap4/5: Use l3_ick for the gpmc node

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>
Florian Vaussard 11 years ago
parent
commit
7b8b6af169
2 changed files with 4 additions and 0 deletions
  1. 2 0
      arch/arm/boot/dts/omap4.dtsi
  2. 2 0
      arch/arm/boot/dts/omap5.dtsi

+ 2 - 0
arch/arm/boot/dts/omap4.dtsi

@@ -275,6 +275,8 @@
 			gpmc,num-waitpins = <4>;
 			ti,hwmods = "gpmc";
 			ti,no-idle-on-init;
+			clocks = <&l3_div_ck>;
+			clock-names = "fck";
 		};
 
 		uart1: serial@4806a000 {

+ 2 - 0
arch/arm/boot/dts/omap5.dtsi

@@ -302,6 +302,8 @@
 			gpmc,num-cs = <8>;
 			gpmc,num-waitpins = <4>;
 			ti,hwmods = "gpmc";
+			clocks = <&l3_iclk_div>;
+			clock-names = "fck";
 		};
 
 		i2c1: i2c@48070000 {