raspberrypi-power.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright © 2015 Broadcom
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H
  9. #define _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H
  10. /* These power domain indices are the firmware interface's indices
  11. * minus one.
  12. */
  13. #define RPI_POWER_DOMAIN_I2C0 0
  14. #define RPI_POWER_DOMAIN_I2C1 1
  15. #define RPI_POWER_DOMAIN_I2C2 2
  16. #define RPI_POWER_DOMAIN_VIDEO_SCALER 3
  17. #define RPI_POWER_DOMAIN_VPU1 4
  18. #define RPI_POWER_DOMAIN_HDMI 5
  19. #define RPI_POWER_DOMAIN_USB 6
  20. #define RPI_POWER_DOMAIN_VEC 7
  21. #define RPI_POWER_DOMAIN_JPEG 8
  22. #define RPI_POWER_DOMAIN_H264 9
  23. #define RPI_POWER_DOMAIN_V3D 10
  24. #define RPI_POWER_DOMAIN_ISP 11
  25. #define RPI_POWER_DOMAIN_UNICAM0 12
  26. #define RPI_POWER_DOMAIN_UNICAM1 13
  27. #define RPI_POWER_DOMAIN_CCP2RX 14
  28. #define RPI_POWER_DOMAIN_CSI2 15
  29. #define RPI_POWER_DOMAIN_CPI 16
  30. #define RPI_POWER_DOMAIN_DSI0 17
  31. #define RPI_POWER_DOMAIN_DSI1 18
  32. #define RPI_POWER_DOMAIN_TRANSPOSER 19
  33. #define RPI_POWER_DOMAIN_CCP2TX 20
  34. #define RPI_POWER_DOMAIN_CDP 21
  35. #define RPI_POWER_DOMAIN_ARM 22
  36. #define RPI_POWER_DOMAIN_COUNT 23
  37. #endif /* _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H */