ccu-sun8i-de2.h 885 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright 2016 Icenowy Zheng <icenowy@aosc.io>
  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 as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14. #ifndef _CCU_SUN8I_DE2_H_
  15. #define _CCU_SUN8I_DE2_H_
  16. #include <dt-bindings/clock/sun8i-de2.h>
  17. #include <dt-bindings/reset/sun8i-de2.h>
  18. /* Intermediary clock dividers are not exported */
  19. #define CLK_MIXER0_DIV 3
  20. #define CLK_MIXER1_DIV 4
  21. #define CLK_WB_DIV 5
  22. #define CLK_NUMBER (CLK_WB + 1)
  23. #endif /* _CCU_SUN8I_DE2_H_ */