lpc32xx-clock.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * Copyright (c) 2015 Vladimir Zapolskiy <vz@mleia.com>
  3. *
  4. * This code is released using a dual license strategy: BSD/GPL
  5. * You can choose the licence that better fits your requirements.
  6. *
  7. * Released under the terms of 3-clause BSD License
  8. * Released under the terms of GNU General Public License Version 2.0
  9. *
  10. */
  11. #ifndef __DT_BINDINGS_LPC32XX_CLOCK_H
  12. #define __DT_BINDINGS_LPC32XX_CLOCK_H
  13. /* LPC32XX System Control Block clocks */
  14. #define LPC32XX_CLK_RTC 1
  15. #define LPC32XX_CLK_DMA 2
  16. #define LPC32XX_CLK_MLC 3
  17. #define LPC32XX_CLK_SLC 4
  18. #define LPC32XX_CLK_LCD 5
  19. #define LPC32XX_CLK_MAC 6
  20. #define LPC32XX_CLK_SD 7
  21. #define LPC32XX_CLK_DDRAM 8
  22. #define LPC32XX_CLK_SSP0 9
  23. #define LPC32XX_CLK_SSP1 10
  24. #define LPC32XX_CLK_UART3 11
  25. #define LPC32XX_CLK_UART4 12
  26. #define LPC32XX_CLK_UART5 13
  27. #define LPC32XX_CLK_UART6 14
  28. #define LPC32XX_CLK_IRDA 15
  29. #define LPC32XX_CLK_I2C1 16
  30. #define LPC32XX_CLK_I2C2 17
  31. #define LPC32XX_CLK_TIMER0 18
  32. #define LPC32XX_CLK_TIMER1 19
  33. #define LPC32XX_CLK_TIMER2 20
  34. #define LPC32XX_CLK_TIMER3 21
  35. #define LPC32XX_CLK_TIMER4 22
  36. #define LPC32XX_CLK_TIMER5 23
  37. #define LPC32XX_CLK_WDOG 24
  38. #define LPC32XX_CLK_I2S0 25
  39. #define LPC32XX_CLK_I2S1 26
  40. #define LPC32XX_CLK_SPI1 27
  41. #define LPC32XX_CLK_SPI2 28
  42. #define LPC32XX_CLK_MCPWM 29
  43. #define LPC32XX_CLK_HSTIMER 30
  44. #define LPC32XX_CLK_KEY 31
  45. #define LPC32XX_CLK_PWM1 32
  46. #define LPC32XX_CLK_PWM2 33
  47. #define LPC32XX_CLK_ADC 34
  48. #define LPC32XX_CLK_HCLK_PLL 35
  49. #define LPC32XX_CLK_PERIPH 36
  50. /* LPC32XX USB clocks */
  51. #define LPC32XX_USB_CLK_I2C 1
  52. #define LPC32XX_USB_CLK_DEVICE 2
  53. #define LPC32XX_USB_CLK_HOST 3
  54. #endif /* __DT_BINDINGS_LPC32XX_CLOCK_H */