bcm2835.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. * Copyright (C) 2015 Broadcom Corporation
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License as
  6. * published by the Free Software Foundation version 2.
  7. *
  8. * This program is distributed "as is" WITHOUT ANY WARRANTY of any
  9. * kind, whether express or implied; without even the implied warranty
  10. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #define BCM2835_PLLA 0
  14. #define BCM2835_PLLB 1
  15. #define BCM2835_PLLC 2
  16. #define BCM2835_PLLD 3
  17. #define BCM2835_PLLH 4
  18. #define BCM2835_PLLA_CORE 5
  19. #define BCM2835_PLLA_PER 6
  20. #define BCM2835_PLLB_ARM 7
  21. #define BCM2835_PLLC_CORE0 8
  22. #define BCM2835_PLLC_CORE1 9
  23. #define BCM2835_PLLC_CORE2 10
  24. #define BCM2835_PLLC_PER 11
  25. #define BCM2835_PLLD_CORE 12
  26. #define BCM2835_PLLD_PER 13
  27. #define BCM2835_PLLH_RCAL 14
  28. #define BCM2835_PLLH_AUX 15
  29. #define BCM2835_PLLH_PIX 16
  30. #define BCM2835_CLOCK_TIMER 17
  31. #define BCM2835_CLOCK_OTP 18
  32. #define BCM2835_CLOCK_UART 19
  33. #define BCM2835_CLOCK_VPU 20
  34. #define BCM2835_CLOCK_V3D 21
  35. #define BCM2835_CLOCK_ISP 22
  36. #define BCM2835_CLOCK_H264 23
  37. #define BCM2835_CLOCK_VEC 24
  38. #define BCM2835_CLOCK_HSM 25
  39. #define BCM2835_CLOCK_SDRAM 26
  40. #define BCM2835_CLOCK_TSENS 27
  41. #define BCM2835_CLOCK_EMMC 28
  42. #define BCM2835_CLOCK_PERI_IMAGE 29
  43. #define BCM2835_CLOCK_PWM 30
  44. #define BCM2835_CLOCK_PCM 31
  45. #define BCM2835_PLLA_DSI0 32
  46. #define BCM2835_PLLA_CCP2 33
  47. #define BCM2835_PLLD_DSI0 34
  48. #define BCM2835_PLLD_DSI1 35
  49. #define BCM2835_CLOCK_AVEO 36
  50. #define BCM2835_CLOCK_DFT 37
  51. #define BCM2835_CLOCK_GP0 38
  52. #define BCM2835_CLOCK_GP1 39
  53. #define BCM2835_CLOCK_GP2 40
  54. #define BCM2835_CLOCK_SLIM 41
  55. #define BCM2835_CLOCK_SMI 42
  56. #define BCM2835_CLOCK_TEC 43
  57. #define BCM2835_CLOCK_DPI 44
  58. #define BCM2835_CLOCK_CAM0 45
  59. #define BCM2835_CLOCK_CAM1 46
  60. #define BCM2835_CLOCK_DSI0E 47
  61. #define BCM2835_CLOCK_DSI1E 48