xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/ingenic,sysost.h (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * This header provides clock numbers for the Ingenic OST DT binding.
4  */
5 
6 #ifndef __DT_BINDINGS_CLOCK_INGENIC_OST_H__
7 #define __DT_BINDINGS_CLOCK_INGENIC_OST_H__
8 
9 #define OST_CLK_PERCPU_TIMER	1
10 #define OST_CLK_GLOBAL_TIMER	0
11 #define OST_CLK_PERCPU_TIMER0	1
12 #define OST_CLK_PERCPU_TIMER1	2
13 #define OST_CLK_PERCPU_TIMER2	3
14 #define OST_CLK_PERCPU_TIMER3	4
15 
16 #define OST_CLK_EVENT_TIMER		1
17 
18 #define OST_CLK_EVENT_TIMER0	0
19 #define OST_CLK_EVENT_TIMER1	1
20 #define OST_CLK_EVENT_TIMER2	2
21 #define OST_CLK_EVENT_TIMER3	3
22 #define OST_CLK_EVENT_TIMER4	4
23 #define OST_CLK_EVENT_TIMER5	5
24 #define OST_CLK_EVENT_TIMER6	6
25 #define OST_CLK_EVENT_TIMER7	7
26 #define OST_CLK_EVENT_TIMER8	8
27 #define OST_CLK_EVENT_TIMER9	9
28 #define OST_CLK_EVENT_TIMER10	10
29 #define OST_CLK_EVENT_TIMER11	11
30 #define OST_CLK_EVENT_TIMER12	12
31 #define OST_CLK_EVENT_TIMER13	13
32 #define OST_CLK_EVENT_TIMER14	14
33 #define OST_CLK_EVENT_TIMER15	15
34 
35 #endif /* __DT_BINDINGS_CLOCK_INGENIC_OST_H__ */
36