Angel Pons | 4b42983 | 2020-04-02 23:48:50 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 2 | |
| 3 | #ifndef __PINEVIEW_MCHBAR_REGS_H__ |
| 4 | #define __PINEVIEW_MCHBAR_REGS_H__ |
| 5 | |
| 6 | /* Indexed register helper macros */ |
| 7 | #define Gz(r, z) ((r) + ((z) * 0x100)) |
| 8 | #define Ly(r, y) ((r) + ((y) * 4)) |
| 9 | #define Cx(r, x) ((r) + ((x) * 0x400)) |
| 10 | #define CxLy(r, x, y) (((x) * 0x400) + (r) + ((y) * 4)) |
| 11 | |
| 12 | #define HTPACER 0x10 |
| 13 | #define HPWRCTL1 0x14 |
| 14 | #define HPWRCTL2 0x18 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 15 | #define HPWRCTL3 0x1c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 16 | #define HTCLKGTCTL 0x20 |
| 17 | #define SLIMCFGTMG 0x24 |
| 18 | #define HTBONUS0 0x28 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 19 | #define HTBONUS1 0x2c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 20 | #define HIT0 0x30 |
| 21 | #define HIT1 0x34 |
| 22 | #define HIT2 0x38 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 23 | #define HIT3 0x3c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 24 | #define HIT4 0x40 |
| 25 | #define HIT5 0x44 |
| 26 | #define HICLKGTCTL 0x48 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 27 | #define HIBONUS 0x4c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 28 | #define XTPR0 0x50 |
| 29 | #define XTPR1 0x54 |
| 30 | #define XTPR2 0x58 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 31 | #define XTPR3 0x5c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 32 | #define XTPR4 0x60 |
| 33 | #define XTPR5 0x64 |
| 34 | #define XTPR6 0x68 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 35 | #define XTPR7 0x6c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 36 | #define XTPR8 0x70 |
| 37 | #define XTPR9 0x74 |
| 38 | #define XTPR10 0x78 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 39 | #define XTPR11 0x7c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 40 | #define XTPR12 0x80 |
| 41 | #define XTPR13 0x84 |
| 42 | #define XTPR14 0x88 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 43 | #define XTPR15 0x8c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 44 | #define FCCREQ0SET 0x90 |
| 45 | #define FCCREQ1SET 0x98 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 46 | #define FCCREQ0MSK 0xa0 |
| 47 | #define FCCREQ1MSK 0xa8 |
| 48 | #define FCCDATASET 0xb0 |
| 49 | #define FCCDATAMSK 0xb8 |
| 50 | #define FCCCTL 0xc0 |
| 51 | #define CFGPOCTL1 0xc8 |
| 52 | #define CFGPOCTL2 0xcc |
| 53 | #define NOACFGBUSCTL 0xd0 |
| 54 | #define POC 0xf4 |
| 55 | #define POCRL 0xfa |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 56 | #define CHDECMISC 0x111 |
| 57 | #define ZQCALQT 0x114 |
| 58 | #define SHC2REGI 0x115 |
| 59 | #define SHC2REGII 0x117 |
| 60 | #define WRWMCONFIG 0x120 |
| 61 | #define SHC2REGIII 0x124 |
| 62 | #define SHPENDREG 0x125 |
| 63 | #define SHPAGECTRL 0x127 |
| 64 | #define SHCMPLWRCMD 0x129 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 65 | #define SHC2MINTM 0x12a |
| 66 | #define SHC2IDLETM 0x12c |
| 67 | #define BYPACTSF 0x12d |
| 68 | #define BYPKNRULE 0x12e |
| 69 | #define SHBONUSREG 0x12f |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 70 | #define COMPCTRL1 0x130 |
| 71 | #define COMPCTRL2 0x134 |
| 72 | #define COMPCTRL3 0x138 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 73 | #define XCOMP 0x13c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 74 | #define RCMEASBUFXOVR 0x140 |
| 75 | #define ACTXCOMP 0x144 |
| 76 | #define FINALXRCOMPRD 0x148 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 77 | #define SCOMP 0x14c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 78 | #define SCMEASBUFOVR 0x150 |
| 79 | #define ACTSCOMP 0x154 |
| 80 | #define FINALXSCOMP 0x158 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 81 | #define XSCSTART 0x15a |
| 82 | #define DCOMPRAW1 0x15c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 83 | #define DCOMPRAW2 0x160 |
| 84 | #define DCMEASBUFOVR 0x164 |
| 85 | #define FINALDELCOMP 0x168 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 86 | #define OFREQDELSEL 0x16c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 87 | #define XCOMPDFCTRL 0x170 |
| 88 | #define ZQCALCTRL 0x178 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 89 | #define XCOMPCMNBNS 0x17a |
| 90 | #define PSMIOVR 0x17c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 91 | #define CSHRPDCTL 0x180 |
| 92 | #define CSPDSLVWT 0x182 |
| 93 | #define CSHRPDSHFTOUTLO 0x184 |
| 94 | #define CSHRFIFOCTL 0x188 |
| 95 | #define CSHWRIOBONUS 0x189 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 96 | #define CSHRPDCTL2 0x18a |
| 97 | #define CSHRWRIOMLNS 0x18c |
| 98 | #define CSHRPDCTL3 0x18e |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 99 | #define CSHRPDCTL4 0x190 |
| 100 | #define CSHWRIOBONUS2 0x192 |
| 101 | #define CSHRMSTDYNDLLENB 0x193 |
| 102 | #define C0TXCCCMISC 0x194 |
| 103 | #define CSHRMSTRCTL0 0x198 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 104 | #define CSHRMSTRCTL1 0x19c |
| 105 | #define CSHRDQSTXPGM 0x1a0 |
| 106 | #define CSHRDQSCMN 0x1a4 |
| 107 | #define CSHRDDR3CTL 0x1a8 |
| 108 | #define CSHRDIGANAOBSCTL 0x1b0 |
| 109 | #define CSHRMISCCTL 0x1b4 |
| 110 | #define CSHRMISCCTL1 0x1b6 |
| 111 | #define CSHRDFTCTL 0x1b8 |
| 112 | #define MPLLCTL 0x1c0 |
| 113 | #define MPLLDBG 0x1c4 |
| 114 | #define CREFPI 0x1c8 |
| 115 | #define CSHRDQSDQTX 0x1e0 |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 116 | #define C0DRB0 0x200 |
| 117 | #define C0DRB1 0x202 |
| 118 | #define C0DRB2 0x204 |
| 119 | #define C0DRB3 0x206 |
| 120 | #define C0DRA01 0x208 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 121 | #define C0DRA23 0x20a |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 122 | #define CLOCKGATINGIII 0x210 |
| 123 | #define SHC3C4REG1 0x212 |
| 124 | #define SHC2REG4 0x216 |
| 125 | #define C0COREBONUS2 0x218 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 126 | #define C0GNT2LNCH3 0x21c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 127 | #define C0GNT2LNCH1 0x220 |
| 128 | #define C0GNT2LNCH2 0x224 |
| 129 | #define C0MISCTM 0x228 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 130 | #define SHCYCTRKRDWRSFLV 0x22c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 131 | #define SHCYCTRKRFSHSFLV 0x232 |
| 132 | #define SHCYCTRKCTLLVOV 0x234 |
| 133 | #define C0WRDPYN 0x239 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 134 | #define C0C2REG 0x23c |
| 135 | #define C0STATRDADJV 0x23e |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 136 | #define C0LATCTRL 0x240 |
| 137 | #define C0BYPCTRL 0x241 |
| 138 | #define C0CWBCTRL 0x243 |
| 139 | #define C0ARBCTRL 0x244 |
| 140 | #define C0ADDCSCTRL 0x246 |
| 141 | #define C0STATRDCTRL 0x248 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 142 | #define C0RDFIFOCTRL 0x24c |
| 143 | #define C0WRDATACTRL 0x24d |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 144 | #define C0CYCTRKPCHG 0x250 |
| 145 | #define C0CYCTRKACT 0x252 |
| 146 | #define C0CYCTRKWR 0x256 |
| 147 | #define C0CYCTRKRD 0x258 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 148 | #define C0CYCTRKREFR 0x25b |
| 149 | #define C0CYCTRKPCHG2 0x25d |
| 150 | #define C0RDQCTRL 0x25e |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 151 | #define C0CKECTRL 0x260 |
| 152 | #define C0CKEDELAY 0x264 |
| 153 | #define C0PWLRCTRL 0x265 |
| 154 | #define C0EPCONFIG 0x267 |
| 155 | #define C0REFRCTRL2 0x268 |
| 156 | #define C0REFRCTRL 0x269 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 157 | #define C0PVCFG 0x26f |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 158 | #define C0JEDEC 0x271 |
| 159 | #define C0ARBSPL 0x272 |
| 160 | #define C0DYNRDCTRL 0x274 |
| 161 | #define C0WRWMFLSH 0x278 |
| 162 | #define C0ECCERRLOG 0x280 |
| 163 | #define C0DITCTRL 0x288 |
| 164 | #define C0ODTRKCTRL 0x294 |
| 165 | #define C0ODT 0x298 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 166 | #define C0ODTCTRL 0x29c |
| 167 | #define C0GTEW 0x2a0 |
| 168 | #define C0GTC 0x2a4 |
| 169 | #define C0DTPEW 0x2a8 |
| 170 | #define C0DTAEW 0x2ac |
| 171 | #define C0DTC 0x2b4 |
| 172 | #define C0REFCTRL 0x2b8 |
| 173 | #define C0NOASEL 0x2bf |
| 174 | #define C0COREBONUS 0x2c0 |
| 175 | #define C0DARBTEST 0x2c8 |
| 176 | #define CLOCKGATINGI 0x2d1 |
| 177 | #define MEMTDPCTW 0x2d4 |
| 178 | #define MTDPCTWHOTTH 0x2d8 |
| 179 | #define MTDPCTWHOTTH2 0x2dc |
| 180 | #define MTDPCTWHOTTH3 0x2e0 |
| 181 | #define MTDPCTWHOTTH4 0x2e4 |
| 182 | #define MTDPCTWAUXTH 0x2e8 |
| 183 | #define MTDPCTWIRTH 0x2ec |
| 184 | #define MTDPCCRWTWHOTTH 0x2f0 |
| 185 | #define MTDPCCRWTWHOTTH2 0x2f4 |
| 186 | #define MTDPCCRWTWHOTTH3 0x2f8 |
| 187 | #define MTDPCCRWTWHOTTH4 0x2fc |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 188 | #define MTDPCHOTTHINT 0x300 |
| 189 | #define MTDPCHOTTHINT2 0x304 |
| 190 | #define MTDPCTLAUXTNTINT 0x308 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 191 | #define MTDPCMISC 0x30c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 192 | |
| 193 | /* RCOMP 0 */ |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 194 | #define C0RCOMPCTRL0 0x31c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 195 | #define C0RCOMPMULT0 0x320 |
| 196 | #define C0RCOMPOVR0 0x322 |
| 197 | #define C0RCOMPOSV0 0x326 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 198 | #define C0SCOMPVREF0 0x32a |
| 199 | #define C0SCOMPOVR0 0x32c |
| 200 | #define C0SCOMPOFF0 0x32e |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 201 | #define C0DCOMP0 0x330 |
| 202 | #define C0SLEWBASE0 0x332 |
| 203 | #define C0SLEWPULUT0 0x334 |
| 204 | #define C0SLEWPDLUT0 0x338 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 205 | #define C0DCOMPOVR0 0x33c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 206 | #define C0DCOMPOFF0 0x340 |
| 207 | |
| 208 | /* RCOMP 2 */ |
| 209 | #define C0RCOMPCTRL2 0x374 |
| 210 | #define C0RCOMPMULT2 0x378 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 211 | #define C0RCOMPOVR2 0x37a |
| 212 | #define C0RCOMPOSV2 0x37e |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 213 | #define C0SCOMPVREF2 0x382 |
| 214 | #define C0SCOMPOVR2 0x384 |
| 215 | #define C0SCOMPOFF2 0x386 |
| 216 | #define C0DCOMP2 0x388 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 217 | #define C0SLEWBASE2 0x38a |
| 218 | #define C0SLEWPULUT2 0x38c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 219 | #define C0SLEWPDLUT2 0x390 |
| 220 | #define C0DCOMPOVR2 0x394 |
| 221 | #define C0DCOMPOFF2 0x398 |
| 222 | |
| 223 | /* RCOMP 3 */ |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 224 | #define C0RCOMPCTRL3 0x3a2 |
| 225 | #define C0RCOMPMULT3 0x3a6 |
| 226 | #define C0RCOMPOVR3 0x3a8 |
| 227 | #define C0RCOMPOSV3 0x3ac |
| 228 | #define C0SCOMPVREF3 0x3b0 |
| 229 | #define C0SCOMPOVR3 0x3b2 |
| 230 | #define C0SCOMPOFF3 0x3b4 |
| 231 | #define C0DCOMP3 0x3b6 |
| 232 | #define C0SLEWBASE3 0x3b8 |
| 233 | #define C0SLEWPULUT3 0x3ba |
| 234 | #define C0SLEWPDLUT3 0x3be |
| 235 | #define C0DCOMPOVR3 0x3c2 |
| 236 | #define C0DCOMPOFF3 0x3c6 |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 237 | |
| 238 | /* RCOMP 4 */ |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 239 | #define C0RCOMPCTRL4 0x3d0 |
| 240 | #define C0RCOMPMULT4 0x3d4 |
| 241 | #define C0RCOMPOVR4 0x3d6 |
| 242 | #define C0RCOMPOSV4 0x3da |
| 243 | #define C0SCOMPVREF4 0x3de |
| 244 | #define C0SCOMPOVR4 0x3e0 |
| 245 | #define C0SCOMPOFF4 0x3e2 |
| 246 | #define C0DCOMP4 0x3e4 |
| 247 | #define C0SLEWBASE4 0x3e6 |
| 248 | #define C0SLEWPULUT4 0x3e8 |
| 249 | #define C0SLEWPDLUT4 0x3ec |
| 250 | #define C0DCOMPOVR4 0x3f0 |
| 251 | #define C0DCOMPOFF4 0x3f4 |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 252 | |
| 253 | /* RCOMP 5 */ |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 254 | #define C0RCOMPCTRL5 0x3fe |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 255 | #define C0RCOMPMULT5 0x402 |
| 256 | #define C0RCOMPOVR5 0x404 |
| 257 | #define C0RCOMPOSV5 0x408 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 258 | #define C0SCOMPVREF5 0x40c |
| 259 | #define C0SCOMPOVR5 0x40e |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 260 | #define C0SCOMPOFF5 0x410 |
| 261 | #define C0DCOMP5 0x412 |
| 262 | #define C0SLEWBASE5 0x414 |
| 263 | #define C0SLEWPULUT5 0x416 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 264 | #define C0SLEWPDLUT5 0x41a |
| 265 | #define C0DCOMPOVR5 0x41e |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 266 | #define C0DCOMPOFF5 0x422 |
| 267 | |
| 268 | /* RCOMP 6 */ |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 269 | #define C0RCOMPCTRL6 0x42c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 270 | #define C0RCOMPMULT6 0x430 |
| 271 | #define C0RCOMPOVR6 0x432 |
| 272 | #define C0RCOMPOSV6 0x436 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 273 | #define C0SCOMPVREF6 0x43a |
| 274 | #define C0SCOMPOVR6 0x43c |
| 275 | #define C0SCOMPOFF6 0x43e |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 276 | #define C0DCOMP6 0x440 |
| 277 | #define C0SLEWBASE6 0x442 |
| 278 | #define C0SLEWPULUT6 0x444 |
| 279 | #define C0SLEWPDLUT6 0x448 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 280 | #define C0DCOMPOVR6 0x44c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 281 | #define C0DCOMPOFF6 0x450 |
| 282 | |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 283 | #define C0ODTRECORDX 0x45a |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 284 | #define C0DQSODTRECORDX 0x462 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 285 | #define XCOMPSDR0BNS 0x4b0 |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 286 | #define C0TXDQ0R0DLL 0x500 |
| 287 | #define C0TXDQ0R1DLL 0x501 |
| 288 | #define C0TXDQ0R2DLL 0x502 |
| 289 | #define C0TXDQ0R3DLL 0x503 |
| 290 | #define C0TXDQ1R0DLL 0x504 |
| 291 | #define C0TXDQ1R1DLL 0x505 |
| 292 | #define C0TXDQ1R2DLL 0x506 |
| 293 | #define C0TXDQ1R3DLL 0x507 |
| 294 | #define C0TXDQ2R0DLL 0x508 |
| 295 | #define C0TXDQ2R1DLL 0x509 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 296 | #define C0TXDQ2R2DLL 0x50a |
| 297 | #define C0TXDQ2R3DLL 0x50b |
| 298 | #define C0TXDQ3R0DLL 0x50c |
| 299 | #define C0TXDQ3R1DLL 0x50d |
| 300 | #define C0TXDQ3R2DLL 0x50e |
| 301 | #define C0TXDQ3R3DLL 0x50f |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 302 | #define C0TXDQ4R0DLL 0x510 |
| 303 | #define C0TXDQ4R1DLL 0x511 |
| 304 | #define C0TXDQ4R2DLL 0x512 |
| 305 | #define C0TXDQ4R3DLL 0x513 |
| 306 | #define C0TXDQ5R0DLL 0x514 |
| 307 | #define C0TXDQ5R1DLL 0x515 |
| 308 | #define C0TXDQ5R2DLL 0x516 |
| 309 | #define C0TXDQ5R3DLL 0x517 |
| 310 | #define C0TXDQ6R0DLL 0x518 |
| 311 | #define C0TXDQ6R1DLL 0x519 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 312 | #define C0TXDQ6R2DLL 0x51a |
| 313 | #define C0TXDQ6R3DLL 0x51b |
| 314 | #define C0TXDQ7R0DLL 0x51c |
| 315 | #define C0TXDQ7R1DLL 0x51d |
| 316 | #define C0TXDQ7R2DLL 0x51e |
| 317 | #define C0TXDQ7R3DLL 0x51f |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 318 | #define C0TXDQS0R0DLL 0x520 |
| 319 | #define C0TXDQS0R1DLL 0x521 |
| 320 | #define C0TXDQS0R2DLL 0x522 |
| 321 | #define C0TXDQS0R3DLL 0x523 |
| 322 | #define C0TXDQS1R0DLL 0x524 |
| 323 | #define C0TXDQS1R1DLL 0x525 |
| 324 | #define C0TXDQS1R2DLL 0x526 |
| 325 | #define C0TXDQS1R3DLL 0x527 |
| 326 | #define C0TXDQS2R0DLL 0x528 |
| 327 | #define C0TXDQS2R1DLL 0x529 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 328 | #define C0TXDQS2R2DLL 0x52a |
| 329 | #define C0TXDQS2R3DLL 0x52b |
| 330 | #define C0TXDQS3R0DLL 0x52c |
| 331 | #define C0TXDQS3R1DLL 0x52d |
| 332 | #define C0TXDQS3R2DLL 0x52e |
| 333 | #define C0TXDQS3R3DLL 0x52f |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 334 | #define C0TXDQS4R0DLL 0x530 |
| 335 | #define C0TXDQS4R1DLL 0x531 |
| 336 | #define C0TXDQS4R2DLL 0x532 |
| 337 | #define C0TXDQS4R3DLL 0x533 |
| 338 | #define C0TXDQS5R0DLL 0x534 |
| 339 | #define C0TXDQS5R1DLL 0x535 |
| 340 | #define C0TXDQS5R2DLL 0x536 |
| 341 | #define C0TXDQS5R3DLL 0x537 |
| 342 | #define C0TXDQS6R0DLL 0x538 |
| 343 | #define C0TXDQS6R1DLL 0x539 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 344 | #define C0TXDQS6R2DLL 0x53a |
| 345 | #define C0TXDQS6R3DLL 0x53b |
| 346 | #define C0TXDQS7R0DLL 0x53c |
| 347 | #define C0TXDQS7R1DLL 0x53d |
| 348 | #define C0TXDQS7R2DLL 0x53e |
| 349 | #define C0TXDQS7R3DLL 0x53f |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 350 | |
| 351 | #define C0DLLRCVCTLy(y) Ly(0x540, y) |
| 352 | #define C0RXRCVyDLL(y) Ly(0x560, y) |
| 353 | #define C0MISCCTLy(y) Ly(0x561, y) |
| 354 | |
| 355 | #define C0TXCMD0DLL 0x580 |
| 356 | #define C0TXCK0DLL 0x581 |
| 357 | #define C0TXCK1DLL 0x582 |
| 358 | #define C0TXCMD1DLL 0x583 |
| 359 | #define C0TXCTL0DLL 0x584 |
| 360 | #define C0TXCTL1DLL 0x585 |
| 361 | #define C0TXCTL2DLL 0x586 |
| 362 | #define C0TXCTL3DLL 0x587 |
| 363 | #define C0RCVMISCCTL1 0x588 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 364 | #define C0RCVMISCCTL2 0x58c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 365 | #define C0MCHODTMISCCTL1 0x590 |
| 366 | #define C0DYNSLVDLLEN 0x592 |
| 367 | #define C0CMDTX1 0x594 |
| 368 | #define C0CMDTX2 0x598 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 369 | #define C0CTLTX2 0x59c |
| 370 | #define C0CKTX 0x5a0 |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 371 | |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 372 | #define C0DQRyTX1(y) Ly(0x5a4, y) |
| 373 | #define C0DQSRyTX1(y) Ly(0x5b4, y) |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 374 | |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 375 | #define C0DQSDQTX2 0x5c4 |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 376 | |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 377 | #define C0DQSDQRyTX3(y) Ly(0x5c8, y) |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 378 | |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 379 | #define C0RSTCTL 0x5d8 |
| 380 | #define C0MISCCTL 0x5d9 |
| 381 | #define C0MISC2 0x5da |
| 382 | #define C0BONUS 0x5db |
| 383 | #define CMNDQFIFORST 0x5dc |
| 384 | #define C0IOBUFACTCTL 0x5dd |
| 385 | #define C0BONUS2 0x5de |
| 386 | #define C0DLLPIEN 0x5f0 |
| 387 | #define C0COARSEDLY0 0x5fa |
| 388 | #define C0COARSEDLY1 0x5fc |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 389 | #define SHC3C4REG2 0x610 |
| 390 | #define SHC3C4REG3 0x612 |
| 391 | #define SHC3C4REG4 0x614 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 392 | #define SHCYCTRKCKEL 0x62c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 393 | #define SHCYCTRKACTSFLV 0x630 |
| 394 | #define SHCYCTRKPCHGSFLV 0x634 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 395 | #define C1COREBONUS 0x6c0 |
| 396 | #define CLOCKGATINGII 0x6d1 |
| 397 | #define CLKXSSH2MCBYPPHAS 0x6d4 |
| 398 | #define CLKXSSH2MCBYP 0x6d8 |
| 399 | #define CLKXSSH2MCRDQ 0x6e0 |
| 400 | #define CLKXSSH2MCRDCST 0x6e8 |
| 401 | #define CLKXSSMC2H 0x6f0 |
| 402 | #define CLKXSSMC2HALT 0x6f8 |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 403 | #define CLKXSSH2MD 0x700 |
| 404 | #define CLKXSSH2X2MD 0x708 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 405 | #define XSBFTCTL 0xb00 |
| 406 | #define XSBFTDRR 0xb04 |
| 407 | #define DACGIOCTRL1 0xb08 |
| 408 | #define CLKCFG 0xc00 |
| 409 | #define HMCCMP 0xc04 |
| 410 | #define HMCCMC 0xc08 |
| 411 | #define HMPLLO 0xc10 |
| 412 | #define CPCTL 0xc1c |
| 413 | #define SSKPD 0xc20 |
| 414 | #define HMCCPEXT 0xc28 |
| 415 | #define HMDCPEXT 0xc2c |
| 416 | #define CPBUP 0xc30 |
| 417 | #define HMBYPEXT 0xc34 |
| 418 | #define HPLLVCO 0xc38 |
| 419 | #define HPLLMONCTLA 0xc3c |
| 420 | #define HPLLMONCTLB 0xc40 |
| 421 | #define HPLLMONCTLC 0xc44 |
| 422 | #define DPLLMONCTLA 0xc48 |
| 423 | #define DPLLMONCTLB 0xc4c |
| 424 | #define HMDCMP 0xc50 |
| 425 | #define HMBYPCP 0xc54 |
| 426 | #define FLRCSSEL 0xc58 |
| 427 | #define DPLLMONCTLC 0xc5c |
| 428 | #define MPLLMONCTLA 0xc60 |
| 429 | #define MPLLMONCTLB 0xc64 |
| 430 | #define MPLLMONCTLC 0xc68 |
| 431 | #define PLLFUSEOVR1 0xc70 |
| 432 | #define PLLFUSEOVR2 0xc74 |
| 433 | #define GCRCSCP 0xc80 |
| 434 | #define GCRCSCMP 0xc84 |
| 435 | #define GCRCSBYPCP 0xc86 |
| 436 | #define GCPLLO 0xc88 |
| 437 | #define MCH_GCFGC 0xc8c /* Note: 'GCFGC' is also defined in 'i915_reg.h' */ |
| 438 | #define GTDPCTSHOTTH 0xd00 |
| 439 | #define GTDPCTSHOTTH2 0xd04 |
| 440 | #define MTDPCTSHOTTH 0xd08 |
| 441 | #define MTDPCTSHOTTH2 0xd0c |
| 442 | #define TSROTDPC 0xd10 |
| 443 | #define TSMISC 0xd14 |
| 444 | #define TEST_MC 0xe00 |
| 445 | #define APSMCTL 0xe04 |
| 446 | #define DFT_STRAP1 0xe08 |
| 447 | #define DFT_STRAP2 0xe0c |
| 448 | #define CFGFUSE1 0xe10 |
| 449 | #define FUSEOVR1 0xe1c |
| 450 | #define FUSEOVR2 0xe20 |
| 451 | #define FUSEOVR3 0xe24 |
| 452 | #define FUSEOVR4 0xe28 |
| 453 | #define NOA_RCOMP 0xe2c |
| 454 | #define NOAR1 0xe30 |
| 455 | #define NOAR2 0xe34 |
| 456 | #define NOAR3 0xe38 |
| 457 | #define NOAR4 0xe3c |
| 458 | #define NOAR5 0xe40 |
| 459 | #define NOAR6 0xe44 |
| 460 | #define NOAR7 0xe48 |
| 461 | #define NOAR8 0xe4c |
| 462 | #define NOAR9 0xe50 |
| 463 | #define NOAR10 0xe54 |
| 464 | #define ODOC1 0xe58 |
| 465 | #define ODOC2 0xe5c |
| 466 | #define ODOSTAT 0xe60 |
| 467 | #define ODOSTAT2 0xe64 |
| 468 | #define ODOSTAT3 0xe68 |
| 469 | #define DPLLMMC 0xe6c |
| 470 | #define CFGFUSE2 0xe70 |
| 471 | #define FUSEOVR5 0xe78 |
| 472 | #define NOA_LVDSCTRL 0xe7c |
| 473 | #define NOABUFMSK 0xe80 |
| 474 | #define PMCFG 0xf10 |
| 475 | #define PMSTS 0xf14 |
| 476 | #define PMMISC 0xf18 |
| 477 | #define GTDPCNME 0xf20 |
| 478 | #define GTDPCTW 0xf24 |
| 479 | #define GTDPCTW2 0xf28 |
| 480 | #define GTDPTWHOTTH 0xf2c |
| 481 | #define GTDPTWHOTTH2 0xf30 |
| 482 | #define GTDPTWHOTTH3 0xf34 |
| 483 | #define GTDPTWHOTTH4 0xf38 |
| 484 | #define GTDPTWAUXTH 0xf3c |
| 485 | #define GTDPCTWIRTH 0xf40 |
| 486 | #define GTDPCTWIRTH2NMISC 0xf44 |
| 487 | #define GTDPHTM 0xf48 |
| 488 | #define GTDPHTM2 0xf4c |
| 489 | #define GTDPHTM3 0xf50 |
| 490 | #define GTDPHTM4 0xf54 |
| 491 | #define GTDPAHTMOV 0xf58 |
| 492 | #define GTDPAHTMOV2 0xf5c |
| 493 | #define GTDPAHTMOV3 0xf60 |
| 494 | #define GTDPAHTMOV4 0xf64 |
| 495 | #define GTDPATM 0xf68 |
| 496 | #define GTDPCGC 0xf6c |
| 497 | #define PCWBFC 0xf90 |
| 498 | #define SCWBFC 0xf98 |
| 499 | #define SBCTL 0xfa0 |
| 500 | #define SBCTL2 0xfa4 |
| 501 | #define PCWBPFC 0xfa8 |
| 502 | #define SBCTL3 0xfac |
| 503 | #define SBCLKGATECTRL 0xfb0 |
| 504 | #define SBBONUS0 0xfb4 |
| 505 | #define SBBONUS1 0xfb6 |
| 506 | #define PSMICTL 0xfc0 |
| 507 | #define PSMIMBASE 0xfc4 |
| 508 | #define PSMIMLIMIT 0xfc8 |
| 509 | #define PSMIDEBUG 0xfcc |
| 510 | #define PSMICTL2 0xfd0 |
| 511 | #define PSMIRPLYNOAMAP 0xfd4 |
| 512 | #define CICGDIS 0xff0 |
| 513 | #define CICTRL 0xff4 |
| 514 | #define CISDCTRL 0xff8 |
| 515 | #define CIMBSR 0xffc |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 516 | #define GFXC3C4 0x1104 |
| 517 | #define PMDSLFRC 0x1108 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 518 | #define PMMSPMRES 0x110c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 519 | #define PMCLKRC 0x1110 |
| 520 | #define PMPXPRC 0x1114 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 521 | #define PMC6CTL 0x111c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 522 | #define PMICHTST 0x1120 |
| 523 | #define PMBAK 0x1124 |
| 524 | #define C0TXDQDQS0MISC 0x2800 |
| 525 | #define C0TXDQDQS1MISC 0x2804 |
| 526 | #define C0TXDQDQS2MISC 0x2808 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 527 | #define C0TXDQDQS3MISC 0x280c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 528 | #define C0TXDQDQS4MISC 0x2810 |
| 529 | #define C0TXDQDQS5MISC 0x2814 |
| 530 | #define C0TXDQDQS6MISC 0x2818 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 531 | #define C0TXDQDQS7MISC 0x281c |
| 532 | #define CSHRPDCTL5 0x2c00 |
| 533 | #define CSHWRIOBONUSX 0x2c02 |
| 534 | #define C0CALRESULT1 0x2c04 |
| 535 | #define C0CALRESULT2 0x2c08 |
| 536 | #define C0MODREFOFFSET1 0x2c0c |
| 537 | #define C0MODREFOFFSET2 0x2c10 |
| 538 | #define C0SLVDLLOUTEN 0x2c14 |
| 539 | #define C0DYNSLVDLLEN2 0x2c15 |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 540 | #define LVDSICR1 0x3000 |
| 541 | #define LVDSICR2 0x3004 |
| 542 | #define IOCKTRR1 0x3008 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 543 | #define IOCKTRR2 0x300c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 544 | #define IOCKTRR3 0x3010 |
| 545 | #define IOCKTSTTR 0x3014 |
| 546 | #define IUB 0x3800 |
| 547 | #define BIR 0x3804 |
| 548 | #define TSC1 0x3808 |
| 549 | #define TSC2 0x3809 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 550 | #define TSS 0x380a |
| 551 | #define TR 0x380b |
| 552 | #define TSTTP 0x380c |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 553 | #define TCO 0x3812 |
| 554 | #define TST 0x3813 |
| 555 | #define THERM1 0x3814 |
| 556 | #define THERM3 0x3816 |
Angel Pons | 94eea6f | 2021-02-06 15:03:48 +0100 | [diff] [blame] | 557 | #define TIS 0x381a |
Angel Pons | 39ff703 | 2020-03-09 21:39:44 +0100 | [diff] [blame] | 558 | #define TERRCMD 0x3820 |
| 559 | #define TSMICMD 0x3821 |
| 560 | #define TSCICMD 0x3822 |
| 561 | #define TSC3 0x3824 |
| 562 | #define EXTTSCS 0x3825 |
| 563 | #define C0THRMSTS 0x3830 |
| 564 | |
| 565 | #endif /* __PINEVIEW_MCHBAR_REGS_H__ */ |