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