npcm845x_clock.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * Copyright (C) 2017-2023 Nuvoton Ltd.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef __ARBEL_CLOCK_H_
  7. #define __ARBEL_CLOCK_H_
  8. struct clk_ctl {
  9. unsigned int clken1;
  10. unsigned int clksel;
  11. unsigned int clkdiv1;
  12. unsigned int pllcon0;
  13. unsigned int pllcon1;
  14. unsigned int swrstr;
  15. unsigned char res1[0x8];
  16. unsigned int ipsrst1;
  17. unsigned int ipsrst2;
  18. unsigned int clken2;
  19. unsigned int clkdiv2;
  20. unsigned int clken3;
  21. unsigned int ipsrst3;
  22. unsigned int wd0rcr;
  23. unsigned int wd1rcr;
  24. unsigned int wd2rcr;
  25. unsigned int swrstc1;
  26. unsigned int swrstc2;
  27. unsigned int swrstc3;
  28. unsigned int tiprstc;
  29. unsigned int pllcon2;
  30. unsigned int clkdiv3;
  31. unsigned int corstc;
  32. unsigned int pllcong;
  33. unsigned int ahbckfi;
  34. unsigned int seccnt;
  35. unsigned int cntr25m;
  36. unsigned int clken4;
  37. unsigned int ipsrst4;
  38. unsigned int busto;
  39. unsigned int clkdiv4;
  40. unsigned int wd0rcrb;
  41. unsigned int wd1rcrb;
  42. unsigned int wd2rcrb;
  43. unsigned int swrstc1b;
  44. unsigned int swrstc2b;
  45. unsigned int swrstc3b;
  46. unsigned int tiprstcb;
  47. unsigned int corstcb;
  48. unsigned int ipsrstdis1;
  49. unsigned int ipsrstdis2;
  50. unsigned int ipsrstdis3;
  51. unsigned int ipsrstdis4;
  52. unsigned char res2[0x10];
  53. unsigned int thrtl_cnt;
  54. };
  55. #endif /* __ARBEL_CLOCK_H_ */