OSDN Git Service

ARM: dts: omap3-gta04: Add fixed 26MHz clock as fck for twl
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 5 Apr 2018 16:05:16 +0000 (18:05 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 1 May 2018 15:19:07 +0000 (08:19 -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: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-gta04.dtsi

index 4170be7..ac830b9 100644 (file)
                display0 = &lcd;
        };
 
+       /* fixed 26MHz oscillator */
+       hfclk_26m: oscillator {
+               #clock-cells = <0>;
+               compatible = "fixed-clock";
+               clock-frequency = <26000000>;
+       };
+
        gpio-keys {
                compatible = "gpio-keys";
 
                interrupts = <7>; /* SYS_NIRQ cascaded to intc */
                interrupt-parent = <&intc>;
 
+               clocks = <&hfclk_26m>;
+               clock-names = "fck";
+
                twl_audio: audio {
                        compatible = "ti,twl4030-audio";
                        ti,enable-vibra = <1>;