diff options
author | Roger Quadros <rogerq@ti.com> | 2014-09-10 11:57:11 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-09-10 11:57:11 -0400 |
commit | 5990047cef0c6a36eefcb166bd32d99a8f95c75b (patch) | |
tree | c444b9c92c5dba23df08b94c554c02ab0a7ac23d | |
parent | 2ce7598c9a453e0acd0e07be7be3f5eb39608ebd (diff) |
ARM: dts: dra7-evm: Fix NAND GPMC timings
The nand timings were scaled down by 2 to account for
the 2x rate returned by clk_get_rate(gpmc_fclk).
As the clock data got fixed by [1], revert back to actual
timings (i.e. scale them up by 2).
Without this NAND doesn't work on dra7-evm.
[1] - commit dd94324b983afe114ba9e7ee3649313b451f63ce
ARM: dts: dra7xx-clocks: Fix the l3 and l4 clock rates
Fixes: ff66a3c86e00 ("ARM: dts: dra7: add support for parallel NAND flash")
Cc: <stable@vger.kernel.org> [3.16]
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/dra7-evm.dts | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index e03fbf3c6889..b40cdadb1f87 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts | |||
@@ -447,22 +447,19 @@ | |||
447 | gpmc,device-width = <2>; | 447 | gpmc,device-width = <2>; |
448 | gpmc,sync-clk-ps = <0>; | 448 | gpmc,sync-clk-ps = <0>; |
449 | gpmc,cs-on-ns = <0>; | 449 | gpmc,cs-on-ns = <0>; |
450 | gpmc,cs-rd-off-ns = <40>; | 450 | gpmc,cs-rd-off-ns = <80>; |
451 | gpmc,cs-wr-off-ns = <40>; | 451 | gpmc,cs-wr-off-ns = <80>; |
452 | gpmc,adv-on-ns = <0>; | 452 | gpmc,adv-on-ns = <0>; |
453 | gpmc,adv-rd-off-ns = <30>; | 453 | gpmc,adv-rd-off-ns = <60>; |
454 | gpmc,adv-wr-off-ns = <30>; | 454 | gpmc,adv-wr-off-ns = <60>; |
455 | gpmc,we-on-ns = <5>; | 455 | gpmc,we-on-ns = <10>; |
456 | gpmc,we-off-ns = <25>; | 456 | gpmc,we-off-ns = <50>; |
457 | gpmc,oe-on-ns = <2>; | 457 | gpmc,oe-on-ns = <4>; |
458 | gpmc,oe-off-ns = <20>; | 458 | gpmc,oe-off-ns = <40>; |
459 | gpmc,access-ns = <20>; | 459 | gpmc,access-ns = <40>; |
460 | gpmc,wr-access-ns = <40>; | 460 | gpmc,wr-access-ns = <80>; |
461 | gpmc,rd-cycle-ns = <40>; | 461 | gpmc,rd-cycle-ns = <80>; |
462 | gpmc,wr-cycle-ns = <40>; | 462 | gpmc,wr-cycle-ns = <80>; |
463 | gpmc,wait-pin = <0>; | ||
464 | gpmc,wait-on-read; | ||
465 | gpmc,wait-on-write; | ||
466 | gpmc,bus-turnaround-ns = <0>; | 463 | gpmc,bus-turnaround-ns = <0>; |
467 | gpmc,cycle2cycle-delay-ns = <0>; | 464 | gpmc,cycle2cycle-delay-ns = <0>; |
468 | gpmc,clk-activation-ns = <0>; | 465 | gpmc,clk-activation-ns = <0>; |