diff options
author | Anthoine Bourgeois <anthoine.bourgeois@gmail.com> | 2022-01-25 22:11:38 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2022-02-18 11:07:14 +0300 |
commit | 64324ef337d0caa5798fa8fa3f6bbfbd3245868a (patch) | |
tree | e041cf3d1e30e5d943c08e891327a2dcfc925f2b /arch/arm/boot/dts/omap3-devkit8000-common.dtsi | |
parent | 486343d3728be741db13854dc7e983c20cdd7c07 (diff) | |
download | linux-64324ef337d0caa5798fa8fa3f6bbfbd3245868a.tar.xz |
ARM: dts: switch timer config to common devkit8000 devicetree
This patch allow lcd43 and lcd70 flavors to benefit from timer
evolution.
Fixes: e428e250fde6 ("ARM: dts: Configure system timers for omap3")
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-devkit8000-common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap3-devkit8000-common.dtsi | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-devkit8000-common.dtsi b/arch/arm/boot/dts/omap3-devkit8000-common.dtsi index 5e55198e4576..f5197bb31ed8 100644 --- a/arch/arm/boot/dts/omap3-devkit8000-common.dtsi +++ b/arch/arm/boot/dts/omap3-devkit8000-common.dtsi @@ -158,6 +158,39 @@ status = "disabled"; }; +/* Unusable as clocksource because of unreliable oscillator */ +&counter32k { + status = "disabled"; +}; + +/* Unusable as clockevent because if unreliable oscillator, allow to idle */ +&timer1_target { + /delete-property/ti,no-reset-on-init; + /delete-property/ti,no-idle; + timer@0 { + /delete-property/ti,timer-alwon; + }; +}; + +/* Preferred always-on timer for clocksource */ +&timer12_target { + ti,no-reset-on-init; + ti,no-idle; + timer@0 { + /* Always clocked by secure_32k_fck */ + }; +}; + +/* Preferred timer for clockevent */ +&timer2_target { + ti,no-reset-on-init; + ti,no-idle; + timer@0 { + assigned-clocks = <&gpt2_fck>; + assigned-clock-parents = <&sys_ck>; + }; +}; + &twl_gpio { ti,use-leds; /* |