ARM: dts: at91: ma5d4: properly define crystals frequencies
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 7 Jun 2016 23:31:19 +0000 (01:31 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 10 Jun 2016 14:49:16 +0000 (16:49 +0200)
The Denx MA5D4 dts doesn't properly define the slow_xtal and main_xtal
frequencies, the PMC then has to fallback to using the RC oscillators whose
precision is not really good.

As both crystals are populated, define their frequencies, see p17 of
http://www.denx-cs.de/sites/all/files/MA5D4.HWM_.002.pdf

Also, remove the obsolete main_clock definition.

Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi

index e7b2109fc85a3276ee4e62ea1aa4de396bc12515..99d57131782f511fccb2867d1df9370c2a27025d 100644 (file)
        };
 
        clocks {
-               main_clock: main_clock {
-                       compatible = "atmel,osc", "fixed-clock";
+               slow_xtal {
+                       clock-frequency = <32768>;
+               };
+
+               main_xtal {
                        clock-frequency = <12000000>;
                };