Commit d0174fa4 authored by Adam Ford's avatar Adam Ford Committed by Tony Lindgren

ARM: dts: logicpd-torpedo: Add fixed 26MHz clock as fck for twl

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: default avatarAdam Ford <aford173@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 5055641d
...@@ -30,6 +30,13 @@ user0 { ...@@ -30,6 +30,13 @@ user0 {
linux,default-trigger = "none"; linux,default-trigger = "none";
}; };
}; };
/* fixed 26MHz oscillator */
hfclk_26m: oscillator {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <26000000>;
};
}; };
&gpmc { &gpmc {
...@@ -74,6 +81,9 @@ twl: twl@48 { ...@@ -74,6 +81,9 @@ twl: twl@48 {
reg = <0x48>; reg = <0x48>;
interrupts = <7>; /* SYS_NIRQ cascaded to intc */ interrupts = <7>; /* SYS_NIRQ cascaded to intc */
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
clocks = <&hfclk_26m>;
clock-names = "fck";
twl_audio: audio { twl_audio: audio {
compatible = "ti,twl4030-audio"; compatible = "ti,twl4030-audio";
codec { codec {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment