g12a-aoclk.h 896 B

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
  2. /*
  3. * Copyright (c) 2019 BayLibre, SAS
  4. * Author: Neil Armstrong <[email protected]>
  5. */
  6. #ifndef __G12A_AOCLKC_H
  7. #define __G12A_AOCLKC_H
  8. /*
  9. * CLKID index values
  10. *
  11. * These indices are entirely contrived and do not map onto the hardware.
  12. * It has now been decided to expose everything by default in the DT header:
  13. * include/dt-bindings/clock/g12a-aoclkc.h. Only the clocks ids we don't want
  14. * to expose, such as the internal muxes and dividers of composite clocks,
  15. * will remain defined here.
  16. */
  17. #define CLKID_AO_SAR_ADC_DIV 17
  18. #define CLKID_AO_32K_PRE 20
  19. #define CLKID_AO_32K_DIV 21
  20. #define CLKID_AO_32K_SEL 22
  21. #define CLKID_AO_CEC_PRE 24
  22. #define CLKID_AO_CEC_DIV 25
  23. #define CLKID_AO_CEC_SEL 26
  24. #define NR_CLKS 29
  25. #include <dt-bindings/clock/g12a-aoclkc.h>
  26. #include <dt-bindings/reset/g12a-aoclkc.h>
  27. #endif /* __G12A_AOCLKC_H */