diff options
author | Adam Ford <aford173@gmail.com> | 2018-05-04 23:00:11 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-05-15 20:21:25 +0200 |
commit | 8eb43b0ada5270027c536794c767afc10ee5a9a9 (patch) | |
tree | fffb5c598b85c83cd9e6c20225c6922f2342ed08 /arch/arm/boot/dts/logicpd-som-lv.dtsi | |
parent | ARM: dts: logicpd-torpedo: Add fixed 26MHz clock as fck for twl (diff) | |
download | linux-8eb43b0ada5270027c536794c767afc10ee5a9a9.tar.xz linux-8eb43b0ada5270027c536794c767afc10ee5a9a9.zip |
ARM: dts: logicpd-som-lv: 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>
Diffstat (limited to 'arch/arm/boot/dts/logicpd-som-lv.dtsi')
-rw-r--r-- | arch/arm/boot/dts/logicpd-som-lv.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/logicpd-som-lv.dtsi b/arch/arm/boot/dts/logicpd-som-lv.dtsi index 5957943a8645..9e49697c7bee 100644 --- a/arch/arm/boot/dts/logicpd-som-lv.dtsi +++ b/arch/arm/boot/dts/logicpd-som-lv.dtsi @@ -35,6 +35,13 @@ reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; /* gpio_4 */ #phy-cells = <0>; }; + + /* fixed 26MHz oscillator */ + hfclk_26m: oscillator { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <26000000>; + }; }; &gpmc { @@ -79,6 +86,8 @@ 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 { |