1
2
3
4
5
6
7
8 #ifndef _DT_BINDINGS_CLK_AT91_H
9 #define _DT_BINDINGS_CLK_AT91_H
10
11 #define PMC_TYPE_CORE 0
12 #define PMC_TYPE_SYSTEM 1
13 #define PMC_TYPE_PERIPHERAL 2
14 #define PMC_TYPE_GCK 3
15
16 #define PMC_SLOW 0
17 #define PMC_MCK 1
18 #define PMC_UTMI 2
19 #define PMC_MAIN 3
20 #define PMC_MCK2 4
21 #define PMC_I2S0_MUX 5
22 #define PMC_I2S1_MUX 6
23
24 #ifndef AT91_PMC_MOSCS
25 #define AT91_PMC_MOSCS 0
26 #define AT91_PMC_LOCKA 1
27 #define AT91_PMC_LOCKB 2
28 #define AT91_PMC_MCKRDY 3
29 #define AT91_PMC_LOCKU 6
30 #define AT91_PMC_PCKRDY(id) (8 + (id))
31 #define AT91_PMC_MOSCSELS 16
32 #define AT91_PMC_MOSCRCS 17
33 #define AT91_PMC_CFDEV 18
34 #define AT91_PMC_GCKRDY 24
35 #endif
36
37 #endif