npcm845x_gcr.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /*
  2. * Copyright (C) 2022-2023 Nuvoton Ltd.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef __NPCM845x_GCR_H_
  7. #define __NPCM845x_GCR_H_
  8. struct npcm845x_gcr {
  9. unsigned int pdid;
  10. unsigned int pwron;
  11. unsigned int swstrps;
  12. unsigned int rsvd1[2];
  13. unsigned int miscpe;
  14. unsigned int spldcnt;
  15. unsigned int rsvd2[1];
  16. unsigned int flockr2;
  17. unsigned int flockr3;
  18. unsigned int rsvd3[3];
  19. unsigned int a35_mode;
  20. unsigned int spswc;
  21. unsigned int intcr;
  22. unsigned int intsr;
  23. unsigned int obscr1;
  24. unsigned int obsdr1;
  25. unsigned int rsvd4[1];
  26. unsigned int hifcr;
  27. unsigned int rsvd5[3];
  28. unsigned int intcr2;
  29. unsigned int rsvd6[1];
  30. unsigned int srcnt;
  31. unsigned int ressr;
  32. unsigned int rlockr1;
  33. unsigned int flockr1;
  34. unsigned int dscnt;
  35. unsigned int mdlr;
  36. unsigned int scrpad_c;
  37. unsigned int scrpad_b;
  38. unsigned int rsvd7[4];
  39. unsigned int daclvlr;
  40. unsigned int intcr3;
  41. unsigned int pcirctl;
  42. unsigned int rsvd8[2];
  43. unsigned int vsintr;
  44. unsigned int rsvd9[1];
  45. unsigned int sd2sur1;
  46. unsigned int sd2sur2;
  47. unsigned int sd2irv3;
  48. unsigned int intcr4;
  49. unsigned int obscr2;
  50. unsigned int obsdr2;
  51. unsigned int rsvd10[5];
  52. unsigned int i2csegsel;
  53. unsigned int i2csegctl;
  54. unsigned int vsrcr;
  55. unsigned int mlockr;
  56. unsigned int rsvd11[8];
  57. unsigned int etsr;
  58. unsigned int dft1r;
  59. unsigned int dft2r;
  60. unsigned int dft3r;
  61. unsigned int edffsr;
  62. unsigned int rsvd12[1];
  63. unsigned int intcrpce3;
  64. unsigned int intcrpce2;
  65. unsigned int intcrpce0;
  66. unsigned int intcrpce1;
  67. unsigned int dactest;
  68. unsigned int scrpad;
  69. unsigned int usb1phyctl;
  70. unsigned int usb2phyctl;
  71. unsigned int usb3phyctl;
  72. unsigned int intsr2;
  73. unsigned int intcrpce2b;
  74. unsigned int intcrpce0b;
  75. unsigned int intcrpce1b;
  76. unsigned int intcrpce3b;
  77. unsigned int rsvd13[4];
  78. unsigned int intcrpce2c;
  79. unsigned int intcrpce0c;
  80. unsigned int intcrpce1c;
  81. unsigned int intcrpce3c;
  82. unsigned int rsvd14[40];
  83. unsigned int sd2irv4;
  84. unsigned int sd2irv5;
  85. unsigned int sd2irv6;
  86. unsigned int sd2irv7;
  87. unsigned int sd2irv8;
  88. unsigned int sd2irv9;
  89. unsigned int sd2irv10;
  90. unsigned int sd2irv11;
  91. unsigned int rsvd15[8];
  92. unsigned int mfsel1;
  93. unsigned int mfsel2;
  94. unsigned int mfsel3;
  95. unsigned int mfsel4;
  96. unsigned int mfsel5;
  97. unsigned int mfsel6;
  98. unsigned int mfsel7;
  99. unsigned int rsvd16[1];
  100. unsigned int mfsel_lk1;
  101. unsigned int mfsel_lk2;
  102. unsigned int mfsel_lk3;
  103. unsigned int mfsel_lk4;
  104. unsigned int mfsel_lk5;
  105. unsigned int mfsel_lk6;
  106. unsigned int mfsel_lk7;
  107. unsigned int rsvd17[1];
  108. unsigned int mfsel_set1;
  109. unsigned int mfsel_set2;
  110. unsigned int mfsel_set3;
  111. unsigned int mfsel_set4;
  112. unsigned int mfsel_set5;
  113. unsigned int mfsel_set6;
  114. unsigned int mfsel_set7;
  115. unsigned int rsvd18[1];
  116. unsigned int mfsel_clr1;
  117. unsigned int mfsel_clr2;
  118. unsigned int mfsel_clr3;
  119. unsigned int mfsel_clr4;
  120. unsigned int mfsel_clr5;
  121. unsigned int mfsel_clr6;
  122. unsigned int mfsel_clr7;
  123. };
  124. #endif