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