]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: omap3-beagle-xm: Add fixed 26MHz clock as fck for twl
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 5 Apr 2018 11:52:39 +0000 (14:52 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 1 May 2018 15:17:40 +0000 (08:17 -0700)
The board uses 26MHz oscillator for the twl4030 HFCLK.
This way we will not depend on the bootloader to configure the
CFG_BOOT:HFCLK_FREQ

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-beagle-xm.dts

index 0349fcc9dc26ab8d80f568b1d5c8528a78a8a588..d80587de0bbf565d765969b733a769ed45719cc1 100644 (file)
                ethernet = &ethernet;
        };
 
+       /* fixed 26MHz oscillator */
+       hfclk_26m: oscillator {
+               #clock-cells = <0>;
+               compatible = "fixed-clock";
+               clock-frequency = <26000000>;
+       };
+
        leds {
                compatible = "gpio-leds";
 
                interrupts = <7>; /* SYS_NIRQ cascaded to intc */
                interrupt-parent = <&intc>;
 
+               clocks = <&hfclk_26m>;
+               clock-names = "fck";
+
                twl_audio: audio {
                        compatible = "ti,twl4030-audio";
                        codec {