All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: davinci: da850 evm: update clock rate for UART 1/2 DT nodes
@ 2013-02-19  8:32 ` Manjunathappa, Prakash
  0 siblings, 0 replies; 10+ messages in thread
From: Manjunathappa, Prakash @ 2013-02-19  8:32 UTC (permalink / raw)
  To: linux-arm-kernel

DT kernel with latest of denx SPL U-boot boots with garbled UART
logs. This is because in U-boot UART2 gets sourced by PLL0_SYSCLK2
configured for 150MHz. But later in kernel UART2 gets mapped to
PLL1_SYSCLK2 and is configured for 132MHz not for 150MHz.

PLL1 is configured for 264MHz to support mDDR on the EVM. That is
memory controller driving mDDR can be configured for 150MHz and
mDDR it self can operate at 132MHz.

So override UART1 and UART2 DT node clock-frequency property with
rate available on da850 EVM.

Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
---
 arch/arm/boot/dts/da850-evm.dts |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
index f712fb6..c359872 100644
--- a/arch/arm/boot/dts/da850-evm.dts
+++ b/arch/arm/boot/dts/da850-evm.dts
@@ -22,9 +22,11 @@
 			status = "okay";
 		};
 		serial1: serial at 1d0c000 {
+			clock-frequency = <132000000>;
 			status = "okay";
 		};
 		serial2: serial at 1d0d000 {
+			clock-frequency = <132000000>;
 			status = "okay";
 		};
 		rtc0: rtc at 1c23000 {
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-04-09  5:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-19  8:32 [PATCH] ARM: davinci: da850 evm: update clock rate for UART 1/2 DT nodes Manjunathappa, Prakash
2013-02-19  8:32 ` Manjunathappa, Prakash
2013-02-28 10:39 ` Sekhar Nori
2013-02-28 10:39   ` Sekhar Nori
2013-03-15 13:26   ` Manjunathappa, Prakash
2013-03-15 13:26     ` Manjunathappa, Prakash
2013-03-15 14:37     ` Sekhar Nori
2013-03-15 14:37       ` Sekhar Nori
2013-04-09  5:31       ` Manjunathappa, Prakash
2013-04-09  5:31         ` Manjunathappa, Prakash

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.