GNU Linux-libre 4.9.333-gnu1
[releases.git] / include / dt-bindings / clock / microchip,pic32-clock.h
1 /*
2  * Purna Chandra Mandal,<purna.mandal@microchip.com>
3  * Copyright (C) 2015 Microchip Technology Inc.  All rights reserved.
4  *
5  * This program is free software; you can distribute it and/or modify it
6  * under the terms of the GNU General Public License (Version 2) as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12  * for more details.
13  */
14
15 #ifndef _DT_BINDINGS_CLK_MICROCHIP_PIC32_H_
16 #define _DT_BINDINGS_CLK_MICROCHIP_PIC32_H_
17
18 /* clock output indices */
19 #define POSCCLK         0
20 #define FRCCLK          1
21 #define BFRCCLK         2
22 #define LPRCCLK         3
23 #define SOSCCLK         4
24 #define FRCDIVCLK       5
25 #define PLLCLK          6
26 #define SCLK            7
27 #define PB1CLK          8
28 #define PB2CLK          9
29 #define PB3CLK          10
30 #define PB4CLK          11
31 #define PB5CLK          12
32 #define PB6CLK          13
33 #define PB7CLK          14
34 #define REF1CLK         15
35 #define REF2CLK         16
36 #define REF3CLK         17
37 #define REF4CLK         18
38 #define REF5CLK         19
39 #define UPLLCLK         20
40 #define MAXCLKS         21
41
42 #endif  /* _DT_BINDINGS_CLK_MICROCHIP_PIC32_H_ */