ccu-sun9i-a80-de.h 988 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright 2016 Chen-Yu Tsai
  3. *
  4. * Chen-Yu Tsai <wens@csie.org>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. */
  16. #ifndef _CCU_SUN9I_A80_DE_H_
  17. #define _CCU_SUN9I_A80_DE_H_
  18. #include <dt-bindings/clock/sun9i-a80-de.h>
  19. #include <dt-bindings/reset/sun9i-a80-de.h>
  20. /* Intermediary clock dividers are not exported */
  21. #define CLK_FE0_DIV 31
  22. #define CLK_FE1_DIV 32
  23. #define CLK_FE2_DIV 33
  24. #define CLK_BE0_DIV 34
  25. #define CLK_BE1_DIV 35
  26. #define CLK_BE2_DIV 36
  27. #define CLK_NUMBER (CLK_BE2_DIV + 1)
  28. #endif /* _CCU_SUN9I_A80_DE_H_ */