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