microchip,pic32-clock.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. #ifndef _DT_BINDINGS_CLK_MICROCHIP_PIC32_H_
  15. #define _DT_BINDINGS_CLK_MICROCHIP_PIC32_H_
  16. /* clock output indices */
  17. #define POSCCLK 0
  18. #define FRCCLK 1
  19. #define BFRCCLK 2
  20. #define LPRCCLK 3
  21. #define SOSCCLK 4
  22. #define FRCDIVCLK 5
  23. #define PLLCLK 6
  24. #define SCLK 7
  25. #define PB1CLK 8
  26. #define PB2CLK 9
  27. #define PB3CLK 10
  28. #define PB4CLK 11
  29. #define PB5CLK 12
  30. #define PB6CLK 13
  31. #define PB7CLK 14
  32. #define REF1CLK 15
  33. #define REF2CLK 16
  34. #define REF3CLK 17
  35. #define REF4CLK 18
  36. #define REF5CLK 19
  37. #define UPLLCLK 20
  38. #define MAXCLKS 21
  39. #endif /* _DT_BINDINGS_CLK_MICROCHIP_PIC32_H_ */