Tony Lindgren | 2388538 | 2021-11-25 16:48:34 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | /dts-v1/; |
| 3 | |
| 4 | #include "omap3-beagle.dts" |
| 5 | |
| 6 | / { |
| 7 | model = "TI OMAP3 BeagleBoard A to B4"; |
| 8 | compatible = "ti,omap3-beagle-ab4", "ti,omap3-beagle", "ti,omap3430", "ti,omap3"; |
| 9 | }; |
| 10 | |
| 11 | /* |
| 12 | * Workaround for capacitor C70 issue, see "Boards revision A and < B5" |
| 13 | * section at https://elinux.org/BeagleBoard_Community |
| 14 | */ |
| 15 | |
| 16 | /* Unusable as clocksource because of unreliable oscillator */ |
| 17 | &counter32k { |
| 18 | status = "disabled"; |
| 19 | }; |
| 20 | |
| 21 | /* Unusable as clockevent because of unreliable oscillator, allow to idle */ |
| 22 | &timer1_target { |
| 23 | /delete-property/ti,no-reset-on-init; |
| 24 | /delete-property/ti,no-idle; |
| 25 | timer@0 { |
| 26 | /delete-property/ti,timer-alwon; |
| 27 | }; |
| 28 | }; |
| 29 | |
| 30 | /* Preferred always-on timer for clocksource */ |
| 31 | &timer12_target { |
| 32 | ti,no-reset-on-init; |
| 33 | ti,no-idle; |
| 34 | timer@0 { |
| 35 | /* Always clocked by secure_32k_fck */ |
| 36 | }; |
| 37 | }; |
| 38 | |
| 39 | /* Preferred timer for clockevent */ |
| 40 | &timer2_target { |
| 41 | ti,no-reset-on-init; |
| 42 | ti,no-idle; |
| 43 | timer@0 { |
| 44 | assigned-clocks = <&gpt2_fck>; |
| 45 | assigned-clock-parents = <&sys_ck>; |
| 46 | }; |
| 47 | }; |