diff options
author | Adam Ford <aford173@gmail.com> | 2018-05-04 16:00:10 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-05-15 11:21:19 -0700 |
commit | d0174fa4fe0ee921eb149d86044ff82e3aea6cb0 (patch) | |
tree | d279e7f54ad0d843f7ff615aa225c22cdca6f45e | |
parent | 5055641d508aaee946b91c5b60917a5c3fb3c100 (diff) | |
download | lwn-d0174fa4fe0ee921eb149d86044ff82e3aea6cb0.tar.gz lwn-d0174fa4fe0ee921eb149d86044ff82e3aea6cb0.zip |
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: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi index 3e174e474d3d..7d2302e8706c 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi @@ -30,6 +30,13 @@ linux,default-trigger = "none"; }; }; + + /* fixed 26MHz oscillator */ + hfclk_26m: oscillator { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <26000000>; + }; }; &gpmc { @@ -74,6 +81,9 @@ reg = <0x48>; interrupts = <7>; /* SYS_NIRQ cascaded to intc */ interrupt-parent = <&intc>; + clocks = <&hfclk_26m>; + clock-names = "fck"; + twl_audio: audio { compatible = "ti,twl4030-audio"; codec { |