|
RTEMS
5.1
|
17 #ifndef __SH7750_REGS_H__ 18 #define __SH7750_REGS_H__ 24 #define SH7750_P4_BASE 0xff000000 26 #define SH7750_A7_BASE 0x1f000000 28 #define SH7750_P4_REG32(ofs) (SH7750_P4_BASE + (ofs)) 29 #define SH7750_A7_REG32(ofs) (SH7750_A7_BASE + (ofs)) 36 #define SH7750_PTEH_REGOFS 0x000000 37 #define SH7750_PTEH SH7750_P4_REG32(SH7750_PTEH_REGOFS) 38 #define SH7750_PTEH_A7 SH7750_A7_REG32(SH7750_PTEH_REGOFS) 39 #define SH7750_PTEH_VPN 0xfffffd00 40 #define SH7750_PTEH_VPN_S 10 41 #define SH7750_PTEH_ASID 0x000000ff 42 #define SH7750_PTEH_ASID_S 0 45 #define SH7750_PTEL_REGOFS 0x000004 46 #define SH7750_PTEL SH7750_P4_REG32(SH7750_PTEL_REGOFS) 47 #define SH7750_PTEL_A7 SH7750_A7_REG32(SH7750_PTEL_REGOFS) 48 #define SH7750_PTEL_PPN 0x1ffffc00 49 #define SH7750_PTEL_PPN_S 10 50 #define SH7750_PTEL_V 0x00000100 51 #define SH7750_PTEL_SZ1 0x00000080 52 #define SH7750_PTEL_SZ0 0x00000010 53 #define SH7750_PTEL_SZ_1KB 0x00000000 54 #define SH7750_PTEL_SZ_4KB 0x00000010 55 #define SH7750_PTEL_SZ_64KB 0x00000080 56 #define SH7750_PTEL_SZ_1MB 0x00000090 57 #define SH7750_PTEL_PR 0x00000060 58 #define SH7750_PTEL_PR_ROPO 0x00000000 59 #define SH7750_PTEL_PR_RWPO 0x00000020 60 #define SH7750_PTEL_PR_ROPU 0x00000040 61 #define SH7750_PTEL_PR_RWPU 0x00000060 62 #define SH7750_PTEL_C 0x00000008 64 #define SH7750_PTEL_D 0x00000004 66 #define SH7750_PTEL_SH 0x00000002 68 #define SH7750_PTEL_WT 0x00000001 74 #define SH7750_PTEA_REGOFS 0x000034 75 #define SH7750_PTEA SH7750_P4_REG32(SH7750_PTEA_REGOFS) 76 #define SH7750_PTEA_A7 SH7750_A7_REG32(SH7750_PTEA_REGOFS) 77 #define SH7750_PTEA_TC 0x00000008 80 #define SH7750_PTEA_SA 0x00000007 81 #define SH7750_PTEA_SA_UNDEF 0x00000000 82 #define SH7750_PTEA_SA_IOVAR 0x00000001 83 #define SH7750_PTEA_SA_IO8 0x00000002 84 #define SH7750_PTEA_SA_IO16 0x00000003 85 #define SH7750_PTEA_SA_CMEM8 0x00000004 86 #define SH7750_PTEA_SA_CMEM16 0x00000005 87 #define SH7750_PTEA_SA_AMEM8 0x00000006 88 #define SH7750_PTEA_SA_AMEM16 0x00000007 92 #define SH7750_TTB_REGOFS 0x000008 93 #define SH7750_TTB SH7750_P4_REG32(SH7750_TTB_REGOFS) 94 #define SH7750_TTB_A7 SH7750_A7_REG32(SH7750_TTB_REGOFS) 97 #define SH7750_TEA_REGOFS 0x00000c 98 #define SH7750_TEA SH7750_P4_REG32(SH7750_TEA_REGOFS) 99 #define SH7750_TEA_A7 SH7750_A7_REG32(SH7750_TEA_REGOFS) 102 #define SH7750_MMUCR_REGOFS 0x000010 103 #define SH7750_MMUCR SH7750_P4_REG32(SH7750_MMUCR_REGOFS) 104 #define SH7750_MMUCR_A7 SH7750_A7_REG32(SH7750_MMUCR_REGOFS) 105 #define SH7750_MMUCR_AT 0x00000001 106 #define SH7750_MMUCR_TI 0x00000004 107 #define SH7750_MMUCR_SV 0x00000100 108 #define SH7750_MMUCR_SQMD 0x00000200 109 #define SH7750_MMUCR_URC 0x0000FC00 110 #define SH7750_MMUCR_URC_S 10 111 #define SH7750_MMUCR_URB 0x00FC0000 112 #define SH7750_MMUCR_URB_S 18 113 #define SH7750_MMUCR_LRUI 0xFC000000 114 #define SH7750_MMUCR_LRUI_S 26 126 #define SH7750_CCR_REGOFS 0x00001c 127 #define SH7750_CCR SH7750_P4_REG32(SH7750_CCR_REGOFS) 128 #define SH7750_CCR_A7 SH7750_A7_REG32(SH7750_CCR_REGOFS) 130 #define SH7750_CCR_IIX 0x00008000 131 #define SH7750_CCR_ICI 0x00000800 133 #define SH7750_CCR_ICE 0x00000100 134 #define SH7750_CCR_OIX 0x00000080 135 #define SH7750_CCR_ORA 0x00000020 138 #define SH7750_CCR_OCI 0x00000008 139 #define SH7750_CCR_CB 0x00000004 140 #define SH7750_CCR_WT 0x00000002 141 #define SH7750_CCR_OCE 0x00000001 144 #define SH7750_QACR0_REGOFS 0x000038 145 #define SH7750_QACR0 SH7750_P4_REG32(SH7750_QACR0_REGOFS) 146 #define SH7750_QACR0_A7 SH7750_A7_REG32(SH7750_QACR0_REGOFS) 149 #define SH7750_QACR1_REGOFS 0x00003c 150 #define SH7750_QACR1 SH7750_P4_REG32(SH7750_QACR1_REGOFS) 151 #define SH7750_QACR1_A7 SH7750_A7_REG32(SH7750_QACR1_REGOFS) 159 #define SH7750_TRA_REGOFS 0x000020 160 #define SH7750_TRA SH7750_P4_REG32(SH7750_TRA_REGOFS) 161 #define SH7750_TRA_A7 SH7750_A7_REG32(SH7750_TRA_REGOFS) 163 #define SH7750_TRA_IMM 0x000003fd 164 #define SH7750_TRA_IMM_S 2 167 #define SH7750_EXPEVT_REGOFS 0x000024 168 #define SH7750_EXPEVT SH7750_P4_REG32(SH7750_EXPEVT_REGOFS) 169 #define SH7750_EXPEVT_A7 SH7750_A7_REG32(SH7750_EXPEVT_REGOFS) 171 #define SH7750_EXPEVT_EX 0x00000fff 172 #define SH7750_EXPEVT_EX_S 0 175 #define SH7750_INTEVT_REGOFS 0x000028 176 #define SH7750_INTEVT SH7750_P4_REG32(SH7750_INTEVT_REGOFS) 177 #define SH7750_INTEVT_A7 SH7750_A7_REG32(SH7750_INTEVT_REGOFS) 178 #define SH7750_INTEVT_EX 0x00000fff 179 #define SH7750_INTEVT_EX_S 0 184 #define SH7750_EVT_TO_NUM(evt) ((evt) >> 5) 187 #define SH7750_EVT_POWER_ON_RST 0x000 188 #define SH7750_EVT_MANUAL_RST 0x020 189 #define SH7750_EVT_TLB_MULT_HIT 0x140 192 #define SH7750_EVT_USER_BREAK 0x1E0 193 #define SH7750_EVT_IADDR_ERR 0x0E0 194 #define SH7750_EVT_TLB_READ_MISS 0x040 196 #define SH7750_EVT_TLB_READ_PROTV 0x0A0 198 #define SH7750_EVT_ILLEGAL_INSTR 0x180 200 #define SH7750_EVT_SLOT_ILLEGAL_INSTR 0x1A0 202 #define SH7750_EVT_FPU_DISABLE 0x800 203 #define SH7750_EVT_SLOT_FPU_DISABLE 0x820 204 #define SH7750_EVT_DATA_READ_ERR 0x0E0 205 #define SH7750_EVT_DATA_WRITE_ERR 0x100 206 #define SH7750_EVT_DTLB_WRITE_MISS 0x060 207 #define SH7750_EVT_DTLB_WRITE_PROTV 0x0C0 209 #define SH7750_EVT_FPU_EXCEPTION 0x120 210 #define SH7750_EVT_INITIAL_PGWRITE 0x080 211 #define SH7750_EVT_TRAPA 0x160 214 #define SH7750_EVT_NMI 0x1C0 215 #define SH7750_EVT_IRQ0 0x200 216 #define SH7750_EVT_IRQ1 0x220 217 #define SH7750_EVT_IRQ2 0x240 218 #define SH7750_EVT_IRQ3 0x260 219 #define SH7750_EVT_IRQ4 0x280 220 #define SH7750_EVT_IRQ5 0x2A0 221 #define SH7750_EVT_IRQ6 0x2C0 222 #define SH7750_EVT_IRQ7 0x2E0 223 #define SH7750_EVT_IRQ8 0x300 224 #define SH7750_EVT_IRQ9 0x320 225 #define SH7750_EVT_IRQA 0x340 226 #define SH7750_EVT_IRQB 0x360 227 #define SH7750_EVT_IRQC 0x380 228 #define SH7750_EVT_IRQD 0x3A0 229 #define SH7750_EVT_IRQE 0x3C0 232 #define SH7750_EVT_TUNI0 0x400 233 #define SH7750_EVT_TUNI1 0x420 234 #define SH7750_EVT_TUNI2 0x440 235 #define SH7750_EVT_TICPI2 0x460 238 #define SH7750_EVT_RTC_ATI 0x480 239 #define SH7750_EVT_RTC_PRI 0x4A0 240 #define SH7750_EVT_RTC_CUI 0x4C0 243 #define SH7750_EVT_SCI_ERI 0x4E0 244 #define SH7750_EVT_SCI_RXI 0x500 245 #define SH7750_EVT_SCI_TXI 0x520 246 #define SH7750_EVT_SCI_TEI 0x540 249 #define SH7750_EVT_WDT_ITI 0x560 254 #define SH7750_EVT_REF_RCMI 0x580 255 #define SH7750_EVT_REF_ROVI 0x5A0 259 #define SH7750_EVT_HUDI 0x600 262 #define SH7750_EVT_GPIO 0x620 265 #define SH7750_EVT_DMAC_DMTE0 0x640 266 #define SH7750_EVT_DMAC_DMTE1 0x660 267 #define SH7750_EVT_DMAC_DMTE2 0x680 268 #define SH7750_EVT_DMAC_DMTE3 0x6A0 269 #define SH7750_EVT_DMAC_DMAE 0x6C0 273 #define SH7750_EVT_SCIF_ERI 0x700 274 #define SH7750_EVT_SCIF_RXI 0x720 276 #define SH7750_EVT_SCIF_BRI 0x740 277 #define SH7750_EVT_SCIF_TXI 0x760 282 #define SH7750_STBCR_REGOFS 0xC00004 283 #define SH7750_STBCR SH7750_P4_REG32(SH7750_STBCR_REGOFS) 284 #define SH7750_STBCR_A7 SH7750_A7_REG32(SH7750_STBCR_REGOFS) 286 #define SH7750_STBCR_STBY 0x80 289 #define SH7750_STBCR_PHZ 0x40 294 #define SH7750_STBCR_PPU 0x20 295 #define SH7750_STBCR_MSTP4 0x10 296 #define SH7750_STBCR_DMAC_STP SH7750_STBCR_MSTP4 297 #define SH7750_STBCR_MSTP3 0x08 298 #define SH7750_STBCR_SCIF_STP SH7750_STBCR_MSTP3 299 #define SH7750_STBCR_MSTP2 0x04 300 #define SH7750_STBCR_TMU_STP SH7750_STBCR_MSTP2 301 #define SH7750_STBCR_MSTP1 0x02 302 #define SH7750_STBCR_RTC_STP SH7750_STBCR_MSTP1 303 #define SH7750_STBCR_MSPT0 0x01 304 #define SH7750_STBCR_SCI_STP SH7750_STBCR_MSTP0 306 #define SH7750_STBCR_STBY 0x80 309 #define SH7750_STBCR2_REGOFS 0xC00010 310 #define SH7750_STBCR2 SH7750_P4_REG32(SH7750_STBCR2_REGOFS) 311 #define SH7750_STBCR2_A7 SH7750_A7_REG32(SH7750_STBCR2_REGOFS) 313 #define SH7750_STBCR2_DSLP 0x80 318 #define SH7750_STBCR2_MSTP6 0x02 320 #define SH7750_STBCR2_SQ_STP SH7750_STBCR2_MSTP6 321 #define SH7750_STBCR2_MSTP5 0x01 323 #define SH7750_STBCR2_UBC_STP SH7750_STBCR2_MSTP5 328 #define SH7750_FRQCR_REGOFS 0xC00000 329 #define SH7750_FRQCR SH7750_P4_REG32(SH7750_FRQCR_REGOFS) 330 #define SH7750_FRQCR_A7 SH7750_A7_REG32(SH7750_FRQCR_REGOFS) 332 #define SH7750_FRQCR_CKOEN 0x0800 335 #define SH7750_FRQCR_PLL1EN 0x0400 336 #define SH7750_FRQCR_PLL2EN 0x0200 338 #define SH7750_FRQCR_IFC 0x01C0 339 #define SH7750_FRQCR_IFCDIV1 0x0000 340 #define SH7750_FRQCR_IFCDIV2 0x0040 341 #define SH7750_FRQCR_IFCDIV3 0x0080 342 #define SH7750_FRQCR_IFCDIV4 0x00C0 343 #define SH7750_FRQCR_IFCDIV6 0x0100 344 #define SH7750_FRQCR_IFCDIV8 0x0140 346 #define SH7750_FRQCR_BFC 0x0038 347 #define SH7750_FRQCR_BFCDIV1 0x0000 348 #define SH7750_FRQCR_BFCDIV2 0x0008 349 #define SH7750_FRQCR_BFCDIV3 0x0010 350 #define SH7750_FRQCR_BFCDIV4 0x0018 351 #define SH7750_FRQCR_BFCDIV6 0x0020 352 #define SH7750_FRQCR_BFCDIV8 0x0028 354 #define SH7750_FRQCR_PFC 0x0007 356 #define SH7750_FRQCR_PFCDIV2 0x0000 357 #define SH7750_FRQCR_PFCDIV3 0x0001 358 #define SH7750_FRQCR_PFCDIV4 0x0002 359 #define SH7750_FRQCR_PFCDIV6 0x0003 360 #define SH7750_FRQCR_PFCDIV8 0x0004 367 #define SH7750_WTCNT_REGOFS 0xC00008 368 #define SH7750_WTCNT SH7750_P4_REG32(SH7750_WTCNT_REGOFS) 369 #define SH7750_WTCNT_A7 SH7750_A7_REG32(SH7750_WTCNT_REGOFS) 370 #define SH7750_WTCNT_KEY 0x5A00 375 #define SH7750_WTCSR_REGOFS 0xC0000C 376 #define SH7750_WTCSR SH7750_P4_REG32(SH7750_WTCSR_REGOFS) 377 #define SH7750_WTCSR_A7 SH7750_A7_REG32(SH7750_WTCSR_REGOFS) 378 #define SH7750_WTCSR_KEY 0xA500 381 #define SH7750_WTCSR_TME 0x80 382 #define SH7750_WTCSR_MODE 0x40 383 #define SH7750_WTCSR_MODE_WT 0x40 384 #define SH7750_WTCSR_MODE_IT 0x00 385 #define SH7750_WTCSR_RSTS 0x20 386 #define SH7750_WTCSR_RST_MAN 0x20 387 #define SH7750_WTCSR_RST_PWR 0x00 388 #define SH7750_WTCSR_WOVF 0x10 389 #define SH7750_WTCSR_IOVF 0x08 390 #define SH7750_WTCSR_CKS 0x07 391 #define SH7750_WTCSR_CKS_DIV32 0x00 392 #define SH7750_WTCSR_CKS_DIV64 0x01 393 #define SH7750_WTCSR_CKS_DIV128 0x02 394 #define SH7750_WTCSR_CKS_DIV256 0x03 395 #define SH7750_WTCSR_CKS_DIV512 0x04 396 #define SH7750_WTCSR_CKS_DIV1024 0x05 397 #define SH7750_WTCSR_CKS_DIV2048 0x06 398 #define SH7750_WTCSR_CKS_DIV4096 0x07 404 #define SH7750_R64CNT_REGOFS 0xC80000 405 #define SH7750_R64CNT SH7750_P4_REG32(SH7750_R64CNT_REGOFS) 406 #define SH7750_R64CNT_A7 SH7750_A7_REG32(SH7750_R64CNT_REGOFS) 409 #define SH7750_RSECCNT_REGOFS 0xC80004 410 #define SH7750_RSECCNT SH7750_P4_REG32(SH7750_RSECCNT_REGOFS) 411 #define SH7750_RSECCNT_A7 SH7750_A7_REG32(SH7750_RSECCNT_REGOFS) 414 #define SH7750_RMINCNT_REGOFS 0xC80008 415 #define SH7750_RMINCNT SH7750_P4_REG32(SH7750_RMINCNT_REGOFS) 416 #define SH7750_RMINCNT_A7 SH7750_A7_REG32(SH7750_RMINCNT_REGOFS) 419 #define SH7750_RHRCNT_REGOFS 0xC8000C 420 #define SH7750_RHRCNT SH7750_P4_REG32(SH7750_RHRCNT_REGOFS) 421 #define SH7750_RHRCNT_A7 SH7750_A7_REG32(SH7750_RHRCNT_REGOFS) 424 #define SH7750_RWKCNT_REGOFS 0xC80010 425 #define SH7750_RWKCNT SH7750_P4_REG32(SH7750_RWKCNT_REGOFS) 426 #define SH7750_RWKCNT_A7 SH7750_A7_REG32(SH7750_RWKCNT_REGOFS) 428 #define SH7750_RWKCNT_SUN 0 429 #define SH7750_RWKCNT_MON 1 430 #define SH7750_RWKCNT_TUE 2 431 #define SH7750_RWKCNT_WED 3 432 #define SH7750_RWKCNT_THU 4 433 #define SH7750_RWKCNT_FRI 5 434 #define SH7750_RWKCNT_SAT 6 437 #define SH7750_RDAYCNT_REGOFS 0xC80014 438 #define SH7750_RDAYCNT SH7750_P4_REG32(SH7750_RDAYCNT_REGOFS) 439 #define SH7750_RDAYCNT_A7 SH7750_A7_REG32(SH7750_RDAYCNT_REGOFS) 442 #define SH7750_RMONCNT_REGOFS 0xC80018 443 #define SH7750_RMONCNT SH7750_P4_REG32(SH7750_RMONCNT_REGOFS) 444 #define SH7750_RMONCNT_A7 SH7750_A7_REG32(SH7750_RMONCNT_REGOFS) 447 #define SH7750_RYRCNT_REGOFS 0xC8001C 448 #define SH7750_RYRCNT SH7750_P4_REG32(SH7750_RYRCNT_REGOFS) 449 #define SH7750_RYRCNT_A7 SH7750_A7_REG32(SH7750_RYRCNT_REGOFS) 452 #define SH7750_RSECAR_REGOFS 0xC80020 453 #define SH7750_RSECAR SH7750_P4_REG32(SH7750_RSECAR_REGOFS) 454 #define SH7750_RSECAR_A7 SH7750_A7_REG32(SH7750_RSECAR_REGOFS) 455 #define SH7750_RSECAR_ENB 0x80 458 #define SH7750_RMINAR_REGOFS 0xC80024 459 #define SH7750_RMINAR SH7750_P4_REG32(SH7750_RMINAR_REGOFS) 460 #define SH7750_RMINAR_A7 SH7750_A7_REG32(SH7750_RMINAR_REGOFS) 461 #define SH7750_RMINAR_ENB 0x80 464 #define SH7750_RHRAR_REGOFS 0xC80028 465 #define SH7750_RHRAR SH7750_P4_REG32(SH7750_RHRAR_REGOFS) 466 #define SH7750_RHRAR_A7 SH7750_A7_REG32(SH7750_RHRAR_REGOFS) 467 #define SH7750_RHRAR_ENB 0x80 470 #define SH7750_RWKAR_REGOFS 0xC8002C 471 #define SH7750_RWKAR SH7750_P4_REG32(SH7750_RWKAR_REGOFS) 472 #define SH7750_RWKAR_A7 SH7750_A7_REG32(SH7750_RWKAR_REGOFS) 473 #define SH7750_RWKAR_ENB 0x80 475 #define SH7750_RWKAR_SUN 0 476 #define SH7750_RWKAR_MON 1 477 #define SH7750_RWKAR_TUE 2 478 #define SH7750_RWKAR_WED 3 479 #define SH7750_RWKAR_THU 4 480 #define SH7750_RWKAR_FRI 5 481 #define SH7750_RWKAR_SAT 6 484 #define SH7750_RDAYAR_REGOFS 0xC80030 485 #define SH7750_RDAYAR SH7750_P4_REG32(SH7750_RDAYAR_REGOFS) 486 #define SH7750_RDAYAR_A7 SH7750_A7_REG32(SH7750_RDAYAR_REGOFS) 487 #define SH7750_RDAYAR_ENB 0x80 490 #define SH7750_RMONAR_REGOFS 0xC80034 491 #define SH7750_RMONAR SH7750_P4_REG32(SH7750_RMONAR_REGOFS) 492 #define SH7750_RMONAR_A7 SH7750_A7_REG32(SH7750_RMONAR_REGOFS) 493 #define SH7750_RMONAR_ENB 0x80 496 #define SH7750_RCR1_REGOFS 0xC80038 497 #define SH7750_RCR1 SH7750_P4_REG32(SH7750_RCR1_REGOFS) 498 #define SH7750_RCR1_A7 SH7750_A7_REG32(SH7750_RCR1_REGOFS) 499 #define SH7750_RCR1_CF 0x80 500 #define SH7750_RCR1_CIE 0x10 501 #define SH7750_RCR1_AIE 0x08 502 #define SH7750_RCR1_AF 0x01 505 #define SH7750_RCR2_REGOFS 0xC8003C 506 #define SH7750_RCR2 SH7750_P4_REG32(SH7750_RCR2_REGOFS) 507 #define SH7750_RCR2_A7 SH7750_A7_REG32(SH7750_RCR2_REGOFS) 508 #define SH7750_RCR2_PEF 0x80 509 #define SH7750_RCR2_PES 0x70 510 #define SH7750_RCR2_PES_DIS 0x00 511 #define SH7750_RCR2_PES_DIV256 0x10 512 #define SH7750_RCR2_PES_DIV64 0x20 513 #define SH7750_RCR2_PES_DIV16 0x30 514 #define SH7750_RCR2_PES_DIV4 0x40 515 #define SH7750_RCR2_PES_DIV2 0x50 516 #define SH7750_RCR2_PES_x1 0x60 517 #define SH7750_RCR2_PES_x2 0x70 518 #define SH7750_RCR2_RTCEN 0x08 519 #define SH7750_RCR2_ADJ 0x04 520 #define SH7750_RCR2_RESET 0x02 521 #define SH7750_RCR2_START 0x01 531 #define SH7750_TOCR_REGOFS 0xD80000 532 #define SH7750_TOCR SH7750_P4_REG32(SH7750_TOCR_REGOFS) 533 #define SH7750_TOCR_A7 SH7750_A7_REG32(SH7750_TOCR_REGOFS) 534 #define SH7750_TOCR_TCOE 0x01 541 #define SH7750_TSTR_REGOFS 0xD80004 542 #define SH7750_TSTR SH7750_P4_REG32(SH7750_TSTR_REGOFS) 543 #define SH7750_TSTR_A7 SH7750_A7_REG32(SH7750_TSTR_REGOFS) 544 #define SH7750_TSTR_STR2 0x04 545 #define SH7750_TSTR_STR1 0x02 546 #define SH7750_TSTR_STR0 0x01 547 #define SH7750_TSTR_STR(n) (1 << (n)) 550 #define SH7750_TCOR_REGOFS(n) (0xD80008 + ((n)*12)) 551 #define SH7750_TCOR(n) SH7750_P4_REG32(SH7750_TCOR_REGOFS(n)) 552 #define SH7750_TCOR_A7(n) SH7750_A7_REG32(SH7750_TCOR_REGOFS(n)) 553 #define SH7750_TCOR0 SH7750_TCOR(0) 554 #define SH7750_TCOR1 SH7750_TCOR(1) 555 #define SH7750_TCOR2 SH7750_TCOR(2) 556 #define SH7750_TCOR0_A7 SH7750_TCOR_A7(0) 557 #define SH7750_TCOR1_A7 SH7750_TCOR_A7(1) 558 #define SH7750_TCOR2_A7 SH7750_TCOR_A7(2) 561 #define SH7750_TCNT_REGOFS(n) (0xD8000C + ((n)*12)) 562 #define SH7750_TCNT(n) SH7750_P4_REG32(SH7750_TCNT_REGOFS(n)) 563 #define SH7750_TCNT_A7(n) SH7750_A7_REG32(SH7750_TCNT_REGOFS(n)) 564 #define SH7750_TCNT0 SH7750_TCNT(0) 565 #define SH7750_TCNT1 SH7750_TCNT(1) 566 #define SH7750_TCNT2 SH7750_TCNT(2) 567 #define SH7750_TCNT0_A7 SH7750_TCNT_A7(0) 568 #define SH7750_TCNT1_A7 SH7750_TCNT_A7(1) 569 #define SH7750_TCNT2_A7 SH7750_TCNT_A7(2) 572 #define SH7750_TCR_REGOFS(n) (0xD80010 + ((n)*12)) 573 #define SH7750_TCR(n) SH7750_P4_REG32(SH7750_TCR_REGOFS(n)) 574 #define SH7750_TCR_A7(n) SH7750_A7_REG32(SH7750_TCR_REGOFS(n)) 575 #define SH7750_TCR0 SH7750_TCR(0) 576 #define SH7750_TCR1 SH7750_TCR(1) 577 #define SH7750_TCR2 SH7750_TCR(2) 578 #define SH7750_TCR0_A7 SH7750_TCR_A7(0) 579 #define SH7750_TCR1_A7 SH7750_TCR_A7(1) 580 #define SH7750_TCR2_A7 SH7750_TCR_A7(2) 582 #define SH7750_TCR2_ICPF 0x200 584 #define SH7750_TCR_UNF 0x100 585 #define SH7750_TCR2_ICPE 0x0C0 586 #define SH7750_TCR2_ICPE_DIS 0x000 587 #define SH7750_TCR2_ICPE_NOINT 0x080 590 #define SH7750_TCR2_ICPE_INT 0x0C0 592 #define SH7750_TCR_UNIE 0x020 594 #define SH7750_TCR_CKEG 0x018 595 #define SH7750_TCR_CKEG_RAISE 0x000 596 #define SH7750_TCR_CKEG_FALL 0x008 597 #define SH7750_TCR_CKEG_BOTH 0x018 599 #define SH7750_TCR_TPSC 0x007 600 #define SH7750_TCR_TPSC_DIV4 0x000 601 #define SH7750_TCR_TPSC_DIV16 0x001 602 #define SH7750_TCR_TPSC_DIV64 0x002 603 #define SH7750_TCR_TPSC_DIV256 0x003 604 #define SH7750_TCR_TPSC_DIV1024 0x004 605 #define SH7750_TCR_TPSC_RTC 0x006 606 #define SH7750_TCR_TPSC_EXT 0x007 609 #define SH7750_TCPR2_REGOFS 0xD8002C 610 #define SH7750_TCPR2 SH7750_P4_REG32(SH7750_TCPR2_REGOFS) 611 #define SH7750_TCPR2_A7 SH7750_A7_REG32(SH7750_TCPR2_REGOFS) 617 #define SH7750_BCR1_REGOFS 0x800000 618 #define SH7750_BCR1 SH7750_P4_REG32(SH7750_BCR1_REGOFS) 619 #define SH7750_BCR1_A7 SH7750_A7_REG32(SH7750_BCR1_REGOFS) 620 #define SH7750_BCR1_ENDIAN 0x80000000 621 #define SH7750_BCR1_MASTER 0x40000000 622 #define SH7750_BCR1_A0MPX 0x20000000 623 #define SH7750_BCR1_IPUP 0x02000000 627 #define SH7750_BCR1_OPUP 0x01000000 631 #define SH7750_BCR1_A1MBC 0x00200000 636 #define SH7750_BCR1_A4MBC 0x00100000 641 #define SH7750_BCR1_BREQEN 0x00080000 646 #define SH7750_BCR1_PSHR 0x00040000 649 #define SH7750_BCR1_MEMMPX 0x00020000 652 #define SH7750_BCR1_HIZMEM 0x00008000 658 #define SH7750_BCR1_HIZCNT 0x00004000 665 #define SH7750_BCR1_A0BST 0x00003800 666 #define SH7750_BCR1_A0BST_SRAM 0x0000 667 #define SH7750_BCR1_A0BST_ROM4 0x0800 669 #define SH7750_BCR1_A0BST_ROM8 0x1000 671 #define SH7750_BCR1_A0BST_ROM16 0x1800 673 #define SH7750_BCR1_A0BST_ROM32 0x2000 676 #define SH7750_BCR1_A5BST 0x00000700 677 #define SH7750_BCR1_A5BST_SRAM 0x0000 678 #define SH7750_BCR1_A5BST_ROM4 0x0100 680 #define SH7750_BCR1_A5BST_ROM8 0x0200 682 #define SH7750_BCR1_A5BST_ROM16 0x0300 684 #define SH7750_BCR1_A5BST_ROM32 0x0400 687 #define SH7750_BCR1_A6BST 0x000000E0 688 #define SH7750_BCR1_A6BST_SRAM 0x0000 689 #define SH7750_BCR1_A6BST_ROM4 0x0020 691 #define SH7750_BCR1_A6BST_ROM8 0x0040 693 #define SH7750_BCR1_A6BST_ROM16 0x0060 695 #define SH7750_BCR1_A6BST_ROM32 0x0080 698 #define SH7750_BCR1_DRAMTP 0x001C 699 #define SH7750_BCR1_DRAMTP_2SRAM_3SRAM 0x0000 701 #define SH7750_BCR1_DRAMTP_2SRAM_3SDRAM 0x0008 703 #define SH7750_BCR1_DRAMTP_2SDRAM_3SDRAM 0x000C 705 #define SH7750_BCR1_DRAMTP_2SRAM_3DRAM 0x0010 707 #define SH7750_BCR1_DRAMTP_2DRAM_3DRAM 0x0014 710 #define SH7750_BCR1_A56PCM 0x00000001 715 #define SH7750_BCR2_REGOFS 0x800004 716 #define SH7750_BCR2 SH7750_P4_REG32(SH7750_BCR2_REGOFS) 717 #define SH7750_BCR2_A7 SH7750_A7_REG32(SH7750_BCR2_REGOFS) 719 #define SH7750_BCR2_A0SZ 0xC000 720 #define SH7750_BCR2_A0SZ_S 14 721 #define SH7750_BCR2_A6SZ 0x3000 722 #define SH7750_BCR2_A6SZ_S 12 723 #define SH7750_BCR2_A5SZ 0x0C00 724 #define SH7750_BCR2_A5SZ_S 10 725 #define SH7750_BCR2_A4SZ 0x0300 726 #define SH7750_BCR2_A4SZ_S 8 727 #define SH7750_BCR2_A3SZ 0x00C0 728 #define SH7750_BCR2_A3SZ_S 6 729 #define SH7750_BCR2_A2SZ 0x0030 730 #define SH7750_BCR2_A2SZ_S 4 731 #define SH7750_BCR2_A1SZ 0x000C 732 #define SH7750_BCR2_A1SZ_S 2 733 #define SH7750_BCR2_SZ_64 0 734 #define SH7750_BCR2_SZ_8 1 735 #define SH7750_BCR2_SZ_16 2 736 #define SH7750_BCR2_SZ_32 3 737 #define SH7750_BCR2_PORTEN 0x0001 742 #define SH7750_WCR1_REGOFS 0x800008 743 #define SH7750_WCR1 SH7750_P4_REG32(SH7750_WCR1_REGOFS) 744 #define SH7750_WCR1_A7 SH7750_A7_REG32(SH7750_WCR1_REGOFS) 745 #define SH7750_WCR1_DMAIW 0x70000000 747 #define SH7750_WCR1_DMAIW_S 28 748 #define SH7750_WCR1_A6IW 0x07000000 749 #define SH7750_WCR1_A6IW_S 24 750 #define SH7750_WCR1_A5IW 0x00700000 751 #define SH7750_WCR1_A5IW_S 20 752 #define SH7750_WCR1_A4IW 0x00070000 753 #define SH7750_WCR1_A4IW_S 16 754 #define SH7750_WCR1_A3IW 0x00007000 755 #define SH7750_WCR1_A3IW_S 12 756 #define SH7750_WCR1_A2IW 0x00000700 757 #define SH7750_WCR1_A2IW_S 8 758 #define SH7750_WCR1_A1IW 0x00000070 759 #define SH7750_WCR1_A1IW_S 4 760 #define SH7750_WCR1_A0IW 0x00000007 761 #define SH7750_WCR1_A0IW_S 0 764 #define SH7750_WCR2_REGOFS 0x80000C 765 #define SH7750_WCR2 SH7750_P4_REG32(SH7750_WCR2_REGOFS) 766 #define SH7750_WCR2_A7 SH7750_A7_REG32(SH7750_WCR2_REGOFS) 768 #define SH7750_WCR2_A6W 0xE0000000 769 #define SH7750_WCR2_A6W_S 29 770 #define SH7750_WCR2_A6B 0x1C000000 771 #define SH7750_WCR2_A6B_S 26 772 #define SH7750_WCR2_A5W 0x03800000 773 #define SH7750_WCR2_A5W_S 23 774 #define SH7750_WCR2_A5B 0x00700000 775 #define SH7750_WCR2_A5B_S 20 776 #define SH7750_WCR2_A4W 0x000E0000 777 #define SH7750_WCR2_A4W_S 17 778 #define SH7750_WCR2_A3W 0x0000E000 779 #define SH7750_WCR2_A3W_S 13 780 #define SH7750_WCR2_A2W 0x00000E00 781 #define SH7750_WCR2_A2W_S 9 782 #define SH7750_WCR2_A1W 0x000001C0 783 #define SH7750_WCR2_A1W_S 6 784 #define SH7750_WCR2_A0W 0x00000038 785 #define SH7750_WCR2_A0W_S 3 786 #define SH7750_WCR2_A0B 0x00000007 787 #define SH7750_WCR2_A0B_S 0 789 #define SH7750_WCR2_WS0 0 790 #define SH7750_WCR2_WS1 1 791 #define SH7750_WCR2_WS2 2 792 #define SH7750_WCR2_WS3 3 793 #define SH7750_WCR2_WS6 4 794 #define SH7750_WCR2_WS9 5 795 #define SH7750_WCR2_WS12 6 796 #define SH7750_WCR2_WS15 7 798 #define SH7750_WCR2_BPWS0 0 799 #define SH7750_WCR2_BPWS1 1 800 #define SH7750_WCR2_BPWS2 2 801 #define SH7750_WCR2_BPWS3 3 802 #define SH7750_WCR2_BPWS4 4 803 #define SH7750_WCR2_BPWS5 5 804 #define SH7750_WCR2_BPWS6 6 805 #define SH7750_WCR2_BPWS7 7 808 #define SH7750_WCR2_DRAM_CAS_ASW1 0 809 #define SH7750_WCR2_DRAM_CAS_ASW2 1 810 #define SH7750_WCR2_DRAM_CAS_ASW3 2 811 #define SH7750_WCR2_DRAM_CAS_ASW4 3 812 #define SH7750_WCR2_DRAM_CAS_ASW7 4 813 #define SH7750_WCR2_DRAM_CAS_ASW10 5 814 #define SH7750_WCR2_DRAM_CAS_ASW13 6 815 #define SH7750_WCR2_DRAM_CAS_ASW16 7 818 #define SH7750_WCR2_SDRAM_CAS_LAT1 1 819 #define SH7750_WCR2_SDRAM_CAS_LAT2 2 820 #define SH7750_WCR2_SDRAM_CAS_LAT3 3 821 #define SH7750_WCR2_SDRAM_CAS_LAT4 4 822 #define SH7750_WCR2_SDRAM_CAS_LAT5 5 825 #define SH7750_WCR3_REGOFS 0x800010 826 #define SH7750_WCR3 SH7750_P4_REG32(SH7750_WCR3_REGOFS) 827 #define SH7750_WCR3_A7 SH7750_A7_REG32(SH7750_WCR3_REGOFS) 829 #define SH7750_WCR3_A6S 0x04000000 830 #define SH7750_WCR3_A6H 0x03000000 831 #define SH7750_WCR3_A6H_S 24 832 #define SH7750_WCR3_A5S 0x00400000 833 #define SH7750_WCR3_A5H 0x00300000 834 #define SH7750_WCR3_A5H_S 20 835 #define SH7750_WCR3_A4S 0x00040000 836 #define SH7750_WCR3_A4H 0x00030000 837 #define SH7750_WCR3_A4H_S 16 838 #define SH7750_WCR3_A3S 0x00004000 839 #define SH7750_WCR3_A3H 0x00003000 840 #define SH7750_WCR3_A3H_S 12 841 #define SH7750_WCR3_A2S 0x00000400 842 #define SH7750_WCR3_A2H 0x00000300 843 #define SH7750_WCR3_A2H_S 8 844 #define SH7750_WCR3_A1S 0x00000040 845 #define SH7750_WCR3_A1H 0x00000030 846 #define SH7750_WCR3_A1H_S 4 847 #define SH7750_WCR3_A0S 0x00000004 848 #define SH7750_WCR3_A0H 0x00000003 849 #define SH7750_WCR3_A0H_S 0 851 #define SH7750_WCR3_DHWS_0 0 852 #define SH7750_WCR3_DHWS_1 1 853 #define SH7750_WCR3_DHWS_2 2 854 #define SH7750_WCR3_DHWS_3 3 856 #define SH7750_MCR_REGOFS 0x800014 857 #define SH7750_MCR SH7750_P4_REG32(SH7750_MCR_REGOFS) 858 #define SH7750_MCR_A7 SH7750_A7_REG32(SH7750_MCR_REGOFS) 860 #define SH7750_MCR_RASD 0x80000000 861 #define SH7750_MCR_MRSET 0x40000000 862 #define SH7750_MCR_PALL 0x00000000 863 #define SH7750_MCR_TRC 0x38000000 865 #define SH7750_MCR_TRC_0 0x00000000 866 #define SH7750_MCR_TRC_3 0x08000000 867 #define SH7750_MCR_TRC_6 0x10000000 868 #define SH7750_MCR_TRC_9 0x18000000 869 #define SH7750_MCR_TRC_12 0x20000000 870 #define SH7750_MCR_TRC_15 0x28000000 871 #define SH7750_MCR_TRC_18 0x30000000 872 #define SH7750_MCR_TRC_21 0x38000000 874 #define SH7750_MCR_TCAS 0x00800000 875 #define SH7750_MCR_TCAS_1 0x00000000 876 #define SH7750_MCR_TCAS_2 0x00800000 878 #define SH7750_MCR_TPC 0x00380000 882 #define SH7750_MCR_TPC_S 19 883 #define SH7750_MCR_TPC_SDRAM_1 0x00000000 884 #define SH7750_MCR_TPC_SDRAM_2 0x00080000 885 #define SH7750_MCR_TPC_SDRAM_3 0x00100000 886 #define SH7750_MCR_TPC_SDRAM_4 0x00180000 887 #define SH7750_MCR_TPC_SDRAM_5 0x00200000 888 #define SH7750_MCR_TPC_SDRAM_6 0x00280000 889 #define SH7750_MCR_TPC_SDRAM_7 0x00300000 890 #define SH7750_MCR_TPC_SDRAM_8 0x00380000 892 #define SH7750_MCR_RCD 0x00030000 895 #define SH7750_MCR_RCD_DRAM_2 0x00000000 896 #define SH7750_MCR_RCD_DRAM_3 0x00010000 897 #define SH7750_MCR_RCD_DRAM_4 0x00020000 898 #define SH7750_MCR_RCD_DRAM_5 0x00030000 899 #define SH7750_MCR_RCD_SDRAM_2 0x00010000 900 #define SH7750_MCR_RCD_SDRAM_3 0x00020000 901 #define SH7750_MCR_RCD_SDRAM_4 0x00030000 903 #define SH7750_MCR_TRWL 0x0000E000 904 #define SH7750_MCR_TRWL_1 0x00000000 905 #define SH7750_MCR_TRWL_2 0x00002000 906 #define SH7750_MCR_TRWL_3 0x00004000 907 #define SH7750_MCR_TRWL_4 0x00006000 908 #define SH7750_MCR_TRWL_5 0x00008000 910 #define SH7750_MCR_TRAS 0x00001C00 914 #define SH7750_MCR_TRAS_DRAM_2 0x00000000 915 #define SH7750_MCR_TRAS_DRAM_3 0x00000400 916 #define SH7750_MCR_TRAS_DRAM_4 0x00000800 917 #define SH7750_MCR_TRAS_DRAM_5 0x00000C00 918 #define SH7750_MCR_TRAS_DRAM_6 0x00001000 919 #define SH7750_MCR_TRAS_DRAM_7 0x00001400 920 #define SH7750_MCR_TRAS_DRAM_8 0x00001800 921 #define SH7750_MCR_TRAS_DRAM_9 0x00001C00 923 #define SH7750_MCR_TRAS_SDRAM_TRC_4 0x00000000 924 #define SH7750_MCR_TRAS_SDRAM_TRC_5 0x00000400 925 #define SH7750_MCR_TRAS_SDRAM_TRC_6 0x00000800 926 #define SH7750_MCR_TRAS_SDRAM_TRC_7 0x00000C00 927 #define SH7750_MCR_TRAS_SDRAM_TRC_8 0x00001000 928 #define SH7750_MCR_TRAS_SDRAM_TRC_9 0x00001400 929 #define SH7750_MCR_TRAS_SDRAM_TRC_10 0x00001800 930 #define SH7750_MCR_TRAS_SDRAM_TRC_11 0x00001C00 932 #define SH7750_MCR_BE 0x00000200 933 #define SH7750_MCR_SZ 0x00000180 934 #define SH7750_MCR_SZ_64 0x00000000 935 #define SH7750_MCR_SZ_16 0x00000100 936 #define SH7750_MCR_SZ_32 0x00000180 938 #define SH7750_MCR_AMX 0x00000078 939 #define SH7750_MCR_AMX_S 3 940 #define SH7750_MCR_AMX_DRAM_8BIT_COL 0x00000000 941 #define SH7750_MCR_AMX_DRAM_9BIT_COL 0x00000008 942 #define SH7750_MCR_AMX_DRAM_10BIT_COL 0x00000010 943 #define SH7750_MCR_AMX_DRAM_11BIT_COL 0x00000018 944 #define SH7750_MCR_AMX_DRAM_12BIT_COL 0x00000020 947 #define SH7750_MCR_RFSH 0x00000004 948 #define SH7750_MCR_RMODE 0x00000002 949 #define SH7750_MCR_RMODE_NORMAL 0x00000000 950 #define SH7750_MCR_RMODE_SELF 0x00000002 951 #define SH7750_MCR_RMODE_EDO 0x00000001 954 #define SH7750_SDRAM_MODE_A2_BASE 0xFF900000 955 #define SH7750_SDRAM_MODE_A3_BASE 0xFF940000 956 #define SH7750_SDRAM_MODE_A2_32BIT(x) (SH7750_SDRAM_MODE_A2_BASE + ((x) << 2)) 957 #define SH7750_SDRAM_MODE_A3_32BIT(x) (SH7750_SDRAM_MODE_A3_BASE + ((x) << 2)) 958 #define SH7750_SDRAM_MODE_A2_64BIT(x) (SH7750_SDRAM_MODE_A2_BASE + ((x) << 3)) 959 #define SH7750_SDRAM_MODE_A3_64BIT(x) (SH7750_SDRAM_MODE_A3_BASE + ((x) << 3)) 963 #define SH7750_PCR_REGOFS 0x800018 964 #define SH7750_PCR SH7750_P4_REG32(SH7750_PCR_REGOFS) 965 #define SH7750_PCR_A7 SH7750_A7_REG32(SH7750_PCR_REGOFS) 967 #define SH7750_PCR_A5PCW 0xC000 971 #define SH7750_PCR_A5PCW_0 0x0000 972 #define SH7750_PCR_A5PCW_15 0x4000 973 #define SH7750_PCR_A5PCW_30 0x8000 974 #define SH7750_PCR_A5PCW_50 0xC000 976 #define SH7750_PCR_A6PCW 0x3000 980 #define SH7750_PCR_A6PCW_0 0x0000 981 #define SH7750_PCR_A6PCW_15 0x1000 982 #define SH7750_PCR_A6PCW_30 0x2000 983 #define SH7750_PCR_A6PCW_50 0x3000 985 #define SH7750_PCR_A5TED 0x0E00 989 #define SH7750_PCR_A5TED_S 9 990 #define SH7750_PCR_A6TED 0x01C0 991 #define SH7750_PCR_A6TED_S 6 993 #define SH7750_PCR_TED_0WS 0 994 #define SH7750_PCR_TED_1WS 1 995 #define SH7750_PCR_TED_2WS 2 996 #define SH7750_PCR_TED_3WS 3 997 #define SH7750_PCR_TED_6WS 4 998 #define SH7750_PCR_TED_9WS 5 999 #define SH7750_PCR_TED_12WS 6 1000 #define SH7750_PCR_TED_15WS 7 1002 #define SH7750_PCR_A5TEH 0x0038 1006 #define SH7750_PCR_A5TEH_S 3 1008 #define SH7750_PCR_A6TEH 0x0007 1009 #define SH7750_PCR_A6TEH_S 0 1011 #define SH7750_PCR_TEH_0WS 0 1012 #define SH7750_PCR_TEH_1WS 1 1013 #define SH7750_PCR_TEH_2WS 2 1014 #define SH7750_PCR_TEH_3WS 3 1015 #define SH7750_PCR_TEH_6WS 4 1016 #define SH7750_PCR_TEH_9WS 5 1017 #define SH7750_PCR_TEH_12WS 6 1018 #define SH7750_PCR_TEH_15WS 7 1021 #define SH7750_RTCSR_REGOFS 0x80001C 1022 #define SH7750_RTCSR SH7750_P4_REG32(SH7750_RTCSR_REGOFS) 1023 #define SH7750_RTCSR_A7 SH7750_A7_REG32(SH7750_RTCSR_REGOFS) 1025 #define SH7750_RTCSR_KEY 0xA500 1026 #define SH7750_RTCSR_CMF 0x0080 1029 #define SH7750_RTCSR_CMIE 0x0040 1030 #define SH7750_RTCSR_CKS 0x0038 1031 #define SH7750_RTCSR_CKS_DIS 0x0000 1032 #define SH7750_RTCSR_CKS_CKIO_DIV4 0x0008 1033 #define SH7750_RTCSR_CKS_CKIO_DIV16 0x0010 1034 #define SH7750_RTCSR_CKS_CKIO_DIV64 0x0018 1035 #define SH7750_RTCSR_CKS_CKIO_DIV256 0x0020 1036 #define SH7750_RTCSR_CKS_CKIO_DIV1024 0x0028 1037 #define SH7750_RTCSR_CKS_CKIO_DIV2048 0x0030 1038 #define SH7750_RTCSR_CKS_CKIO_DIV4096 0x0038 1040 #define SH7750_RTCSR_OVF 0x0004 1041 #define SH7750_RTCSR_OVIE 0x0002 1043 #define SH7750_RTCSR_LMTS 0x0001 1044 #define SH7750_RTCSR_LMTS_1024 0x0000 1045 #define SH7750_RTCSR_LMTS_512 0x0001 1048 #define SH7750_RTCNT_REGOFS 0x800020 1049 #define SH7750_RTCNT SH7750_P4_REG32(SH7750_RTCNT_REGOFS) 1050 #define SH7750_RTCNT_A7 SH7750_A7_REG32(SH7750_RTCNT_REGOFS) 1052 #define SH7750_RTCNT_KEY 0xA500 1055 #define SH7750_RTCOR_REGOFS 0x800024 1056 #define SH7750_RTCOR SH7750_P4_REG32(SH7750_RTCOR_REGOFS) 1057 #define SH7750_RTCOR_A7 SH7750_A7_REG32(SH7750_RTCOR_REGOFS) 1059 #define SH7750_RTCOR_KEY 0xA500 1062 #define SH7750_RFCR_REGOFS 0x800028 1063 #define SH7750_RFCR SH7750_P4_REG32(SH7750_RFCR_REGOFS) 1064 #define SH7750_RFCR_A7 SH7750_A7_REG32(SH7750_RFCR_REGOFS) 1066 #define SH7750_RFCR_KEY 0xA400 1073 #define SH7750_SAR_REGOFS(n) (0xA00000 + ((n)*16)) 1074 #define SH7750_SAR(n) SH7750_P4_REG32(SH7750_SAR_REGOFS(n)) 1075 #define SH7750_SAR_A7(n) SH7750_A7_REG32(SH7750_SAR_REGOFS(n)) 1076 #define SH7750_SAR0 SH7750_SAR(0) 1077 #define SH7750_SAR1 SH7750_SAR(1) 1078 #define SH7750_SAR2 SH7750_SAR(2) 1079 #define SH7750_SAR3 SH7750_SAR(3) 1080 #define SH7750_SAR0_A7 SH7750_SAR_A7(0) 1081 #define SH7750_SAR1_A7 SH7750_SAR_A7(1) 1082 #define SH7750_SAR2_A7 SH7750_SAR_A7(2) 1083 #define SH7750_SAR3_A7 SH7750_SAR_A7(3) 1086 #define SH7750_DAR_REGOFS(n) (0xA00004 + ((n)*16)) 1087 #define SH7750_DAR(n) SH7750_P4_REG32(SH7750_DAR_REGOFS(n)) 1088 #define SH7750_DAR_A7(n) SH7750_A7_REG32(SH7750_DAR_REGOFS(n)) 1089 #define SH7750_DAR0 SH7750_DAR(0) 1090 #define SH7750_DAR1 SH7750_DAR(1) 1091 #define SH7750_DAR2 SH7750_DAR(2) 1092 #define SH7750_DAR3 SH7750_DAR(3) 1093 #define SH7750_DAR0_A7 SH7750_DAR_A7(0) 1094 #define SH7750_DAR1_A7 SH7750_DAR_A7(1) 1095 #define SH7750_DAR2_A7 SH7750_DAR_A7(2) 1096 #define SH7750_DAR3_A7 SH7750_DAR_A7(3) 1099 #define SH7750_DMATCR_REGOFS(n) (0xA00008 + ((n)*16)) 1100 #define SH7750_DMATCR(n) SH7750_P4_REG32(SH7750_DMATCR_REGOFS(n)) 1101 #define SH7750_DMATCR_A7(n) SH7750_A7_REG32(SH7750_DMATCR_REGOFS(n)) 1102 #define SH7750_DMATCR0_P4 SH7750_DMATCR(0) 1103 #define SH7750_DMATCR1_P4 SH7750_DMATCR(1) 1104 #define SH7750_DMATCR2_P4 SH7750_DMATCR(2) 1105 #define SH7750_DMATCR3_P4 SH7750_DMATCR(3) 1106 #define SH7750_DMATCR0_A7 SH7750_DMATCR_A7(0) 1107 #define SH7750_DMATCR1_A7 SH7750_DMATCR_A7(1) 1108 #define SH7750_DMATCR2_A7 SH7750_DMATCR_A7(2) 1109 #define SH7750_DMATCR3_A7 SH7750_DMATCR_A7(3) 1112 #define SH7750_CHCR_REGOFS(n) (0xA0000C + ((n)*16)) 1113 #define SH7750_CHCR(n) SH7750_P4_REG32(SH7750_CHCR_REGOFS(n)) 1114 #define SH7750_CHCR_A7(n) SH7750_A7_REG32(SH7750_CHCR_REGOFS(n)) 1115 #define SH7750_CHCR0 SH7750_CHCR(0) 1116 #define SH7750_CHCR1 SH7750_CHCR(1) 1117 #define SH7750_CHCR2 SH7750_CHCR(2) 1118 #define SH7750_CHCR3 SH7750_CHCR(3) 1119 #define SH7750_CHCR0_A7 SH7750_CHCR_A7(0) 1120 #define SH7750_CHCR1_A7 SH7750_CHCR_A7(1) 1121 #define SH7750_CHCR2_A7 SH7750_CHCR_A7(2) 1122 #define SH7750_CHCR3_A7 SH7750_CHCR_A7(3) 1124 #define SH7750_CHCR_SSA 0xE0000000 1125 #define SH7750_CHCR_SSA_PCMCIA 0x00000000 1126 #define SH7750_CHCR_SSA_DYNBSZ 0x20000000 1127 #define SH7750_CHCR_SSA_IO8 0x40000000 1128 #define SH7750_CHCR_SSA_IO16 0x60000000 1129 #define SH7750_CHCR_SSA_CMEM8 0x80000000 1130 #define SH7750_CHCR_SSA_CMEM16 0xA0000000 1131 #define SH7750_CHCR_SSA_AMEM8 0xC0000000 1132 #define SH7750_CHCR_SSA_AMEM16 0xE0000000 1134 #define SH7750_CHCR_STC 0x10000000 1138 #define SH7750_CHCR_DSA 0x0E000000 1139 #define SH7750_CHCR_DSA_PCMCIA 0x00000000 1140 #define SH7750_CHCR_DSA_DYNBSZ 0x02000000 1141 #define SH7750_CHCR_DSA_IO8 0x04000000 1142 #define SH7750_CHCR_DSA_IO16 0x06000000 1143 #define SH7750_CHCR_DSA_CMEM8 0x08000000 1144 #define SH7750_CHCR_DSA_CMEM16 0x0A000000 1145 #define SH7750_CHCR_DSA_AMEM8 0x0C000000 1146 #define SH7750_CHCR_DSA_AMEM16 0x0E000000 1148 #define SH7750_CHCR_DTC 0x01000000 1153 #define SH7750_CHCR_DS 0x00080000 1154 #define SH7750_CHCR_DS_LOWLVL 0x00000000 1155 #define SH7750_CHCR_DS_FALL 0x00080000 1157 #define SH7750_CHCR_RL 0x00040000 1158 #define SH7750_CHCR_RL_ACTH 0x00000000 1159 #define SH7750_CHCR_RL_ACTL 0x00040000 1161 #define SH7750_CHCR_AM 0x00020000 1162 #define SH7750_CHCR_AM_RD 0x00000000 1163 #define SH7750_CHCR_AM_WR 0x00020000 1165 #define SH7750_CHCR_AL 0x00010000 1166 #define SH7750_CHCR_AL_ACTH 0x00000000 1167 #define SH7750_CHCR_AL_ACTL 0x00010000 1169 #define SH7750_CHCR_DM 0x0000C000 1170 #define SH7750_CHCR_DM_FIX 0x00000000 1171 #define SH7750_CHCR_DM_INC 0x00004000 1172 #define SH7750_CHCR_DM_DEC 0x00008000 1174 #define SH7750_CHCR_SM 0x00003000 1175 #define SH7750_CHCR_SM_FIX 0x00000000 1176 #define SH7750_CHCR_SM_INC 0x00001000 1177 #define SH7750_CHCR_SM_DEC 0x00002000 1179 #define SH7750_CHCR_RS 0x00000F00 1180 #define SH7750_CHCR_RS_ER_DA_EA_TO_EA 0x000 1183 #define SH7750_CHCR_RS_ER_SA_EA_TO_ED 0x200 1186 #define SH7750_CHCR_RS_ER_SA_ED_TO_EA 0x300 1190 #define SH7750_CHCR_RS_AR_EA_TO_EA 0x400 1193 #define SH7750_CHCR_RS_AR_EA_TO_OCP 0x500 1196 #define SH7750_CHCR_RS_AR_OCP_TO_EA 0x600 1199 #define SH7750_CHCR_RS_SCITX_EA_TO_SC 0x800 1202 #define SH7750_CHCR_RS_SCIRX_SC_TO_EA 0x900 1205 #define SH7750_CHCR_RS_SCIFTX_EA_TO_SC 0xA00 1208 #define SH7750_CHCR_RS_SCIFRX_SC_TO_EA 0xB00 1211 #define SH7750_CHCR_RS_TMU2_EA_TO_EA 0xC00 1215 #define SH7750_CHCR_RS_TMU2_EA_TO_OCP 0xD00 1219 #define SH7750_CHCR_RS_TMU2_OCP_TO_EA 0xE00 1224 #define SH7750_CHCR_TM 0x00000080 1225 #define SH7750_CHCR_TM_CSTEAL 0x00000000 1226 #define SH7750_CHCR_TM_BURST 0x00000080 1228 #define SH7750_CHCR_TS 0x00000070 1229 #define SH7750_CHCR_TS_QUAD 0x00000000 1230 #define SH7750_CHCR_TS_BYTE 0x00000010 1231 #define SH7750_CHCR_TS_WORD 0x00000020 1232 #define SH7750_CHCR_TS_LONG 0x00000030 1233 #define SH7750_CHCR_TS_BLOCK 0x00000040 1235 #define SH7750_CHCR_IE 0x00000004 1236 #define SH7750_CHCR_TE 0x00000002 1237 #define SH7750_CHCR_DE 0x00000001 1240 #define SH7750_DMAOR_REGOFS 0xA00040 1241 #define SH7750_DMAOR SH7750_P4_REG32(SH7750_DMAOR_REGOFS) 1242 #define SH7750_DMAOR_A7 SH7750_A7_REG32(SH7750_DMAOR_REGOFS) 1244 #define SH7750_DMAOR_DDT 0x00008000 1246 #define SH7750_DMAOR_PR 0x00000300 1247 #define SH7750_DMAOR_PR_0123 0x00000000 1248 #define SH7750_DMAOR_PR_0231 0x00000100 1249 #define SH7750_DMAOR_PR_2013 0x00000200 1250 #define SH7750_DMAOR_PR_RR 0x00000300 1252 #define SH7750_DMAOR_COD 0x00000010 1253 #define SH7750_DMAOR_AE 0x00000004 1254 #define SH7750_DMAOR_NMIF 0x00000002 1255 #define SH7750_DMAOR_DME 0x00000001 1262 #define SH7750_SCRDR_REGOFS(n) ((n) == 1 ? 0xE00014 : 0xE80014) 1263 #define SH7750_SCRDR(n) SH7750_P4_REG32(SH7750_SCRDR_REGOFS(n)) 1264 #define SH7750_SCRDR1 SH7750_SCRDR(1) 1265 #define SH7750_SCRDR2 SH7750_SCRDR(2) 1266 #define SH7750_SCRDR_A7(n) SH7750_A7_REG32(SH7750_SCRDR_REGOFS(n)) 1267 #define SH7750_SCRDR1_A7 SH7750_SCRDR_A7(1) 1268 #define SH7750_SCRDR2_A7 SH7750_SCRDR_A7(2) 1271 #define SH7750_SCTDR_REGOFS(n) ((n) == 1 ? 0xE0000C : 0xE8000C) 1272 #define SH7750_SCTDR(n) SH7750_P4_REG32(SH7750_SCTDR_REGOFS(n)) 1273 #define SH7750_SCTDR1 SH7750_SCTDR(1) 1274 #define SH7750_SCTDR2 SH7750_SCTDR(2) 1275 #define SH7750_SCTDR_A7(n) SH7750_A7_REG32(SH7750_SCTDR_REGOFS(n)) 1276 #define SH7750_SCTDR1_A7 SH7750_SCTDR_A7(1) 1277 #define SH7750_SCTDR2_A7 SH7750_SCTDR_A7(2) 1280 #define SH7750_SCSMR_REGOFS(n) ((n) == 1 ? 0xE00000 : 0xE80000) 1281 #define SH7750_SCSMR(n) SH7750_P4_REG32(SH7750_SCSMR_REGOFS(n)) 1282 #define SH7750_SCSMR1 SH7750_SCSMR(1) 1283 #define SH7750_SCSMR2 SH7750_SCSMR(2) 1284 #define SH7750_SCSMR_A7(n) SH7750_A7_REG32(SH7750_SCSMR_REGOFS(n)) 1285 #define SH7750_SCSMR1_A7 SH7750_SCSMR_A7(1) 1286 #define SH7750_SCSMR2_A7 SH7750_SCSMR_A7(2) 1288 #define SH7750_SCSMR1_CA 0x80 1289 #define SH7750_SCSMR1_CA_ASYNC 0x00 1290 #define SH7750_SCSMR1_CA_SYNC 0x80 1291 #define SH7750_SCSMR_CHR 0x40 1292 #define SH7750_SCSMR_CHR_8 0x00 1293 #define SH7750_SCSMR_CHR_7 0x40 1294 #define SH7750_SCSMR_PE 0x20 1295 #define SH7750_SCSMR_PM 0x10 1296 #define SH7750_SCSMR_PM_EVEN 0x00 1297 #define SH7750_SCSMR_PM_ODD 0x10 1298 #define SH7750_SCSMR_STOP 0x08 1299 #define SH7750_SCSMR_STOP_1 0x00 1300 #define SH7750_SCSMR_STOP_2 0x08 1301 #define SH7750_SCSMR1_MP 0x04 1302 #define SH7750_SCSMR_CKS 0x03 1303 #define SH7750_SCSMR_CKS_S 0 1304 #define SH7750_SCSMR_CKS_DIV1 0x00 1305 #define SH7750_SCSMR_CKS_DIV4 0x01 1306 #define SH7750_SCSMR_CKS_DIV16 0x02 1307 #define SH7750_SCSMR_CKS_DIV64 0x03 1310 #define SH7750_SCSCR_REGOFS(n) ((n) == 1 ? 0xE00008 : 0xE80008) 1311 #define SH7750_SCSCR(n) SH7750_P4_REG32(SH7750_SCSCR_REGOFS(n)) 1312 #define SH7750_SCSCR1 SH7750_SCSCR(1) 1313 #define SH7750_SCSCR2 SH7750_SCSCR(2) 1314 #define SH7750_SCSCR_A7(n) SH7750_A7_REG32(SH7750_SCSCR_REGOFS(n)) 1315 #define SH7750_SCSCR1_A7 SH7750_SCSCR_A7(1) 1316 #define SH7750_SCSCR2_A7 SH7750_SCSCR_A7(2) 1318 #define SH7750_SCSCR_TIE 0x80 1319 #define SH7750_SCSCR_RIE 0x40 1320 #define SH7750_SCSCR_TE 0x20 1321 #define SH7750_SCSCR_RE 0x10 1322 #define SH7750_SCSCR1_MPIE 0x08 1323 #define SH7750_SCSCR2_REIE 0x08 1324 #define SH7750_SCSCR1_TEIE 0x04 1325 #define SH7750_SCSCR1_CKE 0x03 1326 #define SH7750_SCSCR_CKE_INTCLK 0x00 1327 #define SH7750_SCSCR_CKE_EXTCLK 0x02 1328 #define SH7750_SCSCR1_CKE_ASYNC_SCK_CLKOUT 0x01 1332 #define SH7750_SCSSR_REGOFS(n) ((n) == 1 ? 0xE00010 : 0xE80010) 1333 #define SH7750_SCSSR(n) SH7750_P4_REG32(SH7750_SCSSR_REGOFS(n)) 1334 #define SH7750_SCSSR1 SH7750_SCSSR(1) 1335 #define SH7750_SCSSR2 SH7750_SCSSR(2) 1336 #define SH7750_SCSSR_A7(n) SH7750_A7_REG32(SH7750_SCSSR_REGOFS(n)) 1337 #define SH7750_SCSSR1_A7 SH7750_SCSSR_A7(1) 1338 #define SH7750_SCSSR2_A7 SH7750_SCSSR_A7(2) 1340 #define SH7750_SCSSR1_TDRE 0x80 1341 #define SH7750_SCSSR1_RDRF 0x40 1342 #define SH7750_SCSSR1_ORER 0x20 1343 #define SH7750_SCSSR1_FER 0x10 1344 #define SH7750_SCSSR1_PER 0x08 1345 #define SH7750_SCSSR1_TEND 0x04 1346 #define SH7750_SCSSR1_MPB 0x02 1347 #define SH7750_SCSSR1_MPBT 0x01 1349 #define SH7750_SCSSR2_PERN 0xF000 1350 #define SH7750_SCSSR2_PERN_S 12 1351 #define SH7750_SCSSR2_FERN 0x0F00 1352 #define SH7750_SCSSR2_FERN_S 8 1353 #define SH7750_SCSSR2_ER 0x0080 1354 #define SH7750_SCSSR2_TEND 0x0040 1355 #define SH7750_SCSSR2_TDFE 0x0020 1356 #define SH7750_SCSSR2_BRK 0x0010 1357 #define SH7750_SCSSR2_FER 0x0008 1358 #define SH7750_SCSSR2_PER 0x0004 1359 #define SH7750_SCSSR2_RDF 0x0002 1360 #define SH7750_SCSSR2_DR 0x0001 1363 #define SH7750_SCSPTR1_REGOFS 0xE0001C 1364 #define SH7750_SCSPTR1 SH7750_P4_REG32(SH7750_SCSPTR1_REGOFS) 1365 #define SH7750_SCSPTR1_A7 SH7750_A7_REG32(SH7750_SCSPTR1_REGOFS) 1367 #define SH7750_SCSPTR1_EIO 0x80 1368 #define SH7750_SCSPTR1_SPB1IO 0x08 1369 #define SH7750_SCSPTR1_SPB1DT 0x04 1370 #define SH7750_SCSPTR1_SPB0IO 0x02 1371 #define SH7750_SCSPTR1_SPB0DT 0x01 1374 #define SH7750_SCSPTR2_REGOFS 0xE80020 1375 #define SH7750_SCSPTR2 SH7750_P4_REG32(SH7750_SCSPTR2_REGOFS) 1376 #define SH7750_SCSPTR2_A7 SH7750_A7_REG32(SH7750_SCSPTR2_REGOFS) 1378 #define SH7750_SCSPTR2_RTSIO 0x80 1379 #define SH7750_SCSPTR2_RTSDT 0x40 1380 #define SH7750_SCSPTR2_CTSIO 0x20 1381 #define SH7750_SCSPTR2_CTSDT 0x10 1382 #define SH7750_SCSPTR2_SPB2IO 0x02 1383 #define SH7750_SCSPTR2_SPB2DT 0x01 1386 #define SH7750_SCBRR_REGOFS(n) ((n) == 1 ? 0xE00004 : 0xE80004) 1387 #define SH7750_SCBRR(n) SH7750_P4_REG32(SH7750_SCBRR_REGOFS(n)) 1388 #define SH7750_SCBRR1 SH7750_SCBRR_P4(1) 1389 #define SH7750_SCBRR2 SH7750_SCBRR_P4(2) 1390 #define SH7750_SCBRR_A7(n) SH7750_A7_REG32(SH7750_SCBRR_REGOFS(n)) 1391 #define SH7750_SCBRR1_A7 SH7750_SCBRR(1) 1392 #define SH7750_SCBRR2_A7 SH7750_SCBRR(2) 1395 #define SH7750_SCFCR2_REGOFS 0xE80018 1396 #define SH7750_SCFCR2 SH7750_P4_REG32(SH7750_SCFCR2_REGOFS) 1397 #define SH7750_SCFCR2_A7 SH7750_A7_REG32(SH7750_SCFCR2_REGOFS) 1399 #define SH7750_SCFCR2_RSTRG 0x700 1403 #define SH7750_SCFCR2_RSTRG_15 0x000 1404 #define SH7750_SCFCR2_RSTRG_1 0x000 1405 #define SH7750_SCFCR2_RSTRG_4 0x000 1406 #define SH7750_SCFCR2_RSTRG_6 0x000 1407 #define SH7750_SCFCR2_RSTRG_8 0x000 1408 #define SH7750_SCFCR2_RSTRG_10 0x000 1409 #define SH7750_SCFCR2_RSTRG_14 0x000 1411 #define SH7750_SCFCR2_RTRG 0x0C0 1416 #define SH7750_SCFCR2_RTRG_1 0x000 1417 #define SH7750_SCFCR2_RTRG_4 0x040 1418 #define SH7750_SCFCR2_RTRG_8 0x080 1419 #define SH7750_SCFCR2_RTRG_14 0x0C0 1421 #define SH7750_SCFCR2_TTRG 0x030 1426 #define SH7750_SCFCR2_TTRG_8 0x000 1427 #define SH7750_SCFCR2_TTRG_4 0x010 1428 #define SH7750_SCFCR2_TTRG_2 0x020 1429 #define SH7750_SCFCR2_TTRG_1 0x030 1431 #define SH7750_SCFCR2_MCE 0x008 1432 #define SH7750_SCFCR2_TFRST 0x004 1435 #define SH7750_SCFCR2_RFRST 0x002 1439 #define SH7750_SCFCR2_LOOP 0x001 1442 #define SH7750_SCFDR2_REGOFS 0xE8001C 1443 #define SH7750_SCFDR2 SH7750_P4_REG32(SH7750_SCFDR2_REGOFS) 1444 #define SH7750_SCFDR2_A7 SH7750_A7_REG32(SH7750_SCFDR2_REGOFS) 1446 #define SH7750_SCFDR2_T 0x1F00 1448 #define SH7750_SCFDR2_T_S 8 1449 #define SH7750_SCFDR2_R 0x001F 1451 #define SH7750_SCFDR2_R_S 0 1454 #define SH7750_SCLSR2_REGOFS 0xE80024 1455 #define SH7750_SCLSR2 SH7750_P4_REG32(SH7750_SCLSR2_REGOFS) 1456 #define SH7750_SCLSR2_A7 SH7750_A7_REG32(SH7750_SCLSR2_REGOFS) 1458 #define SH7750_SCLSR2_ORER 0x0001 1464 #define SH7750_SCSCMR1_REGOFS 0xE00018 1465 #define SH7750_SCSCMR1 SH7750_P4_REG32(SH7750_SCSCMR1_REGOFS) 1466 #define SH7750_SCSCMR1_A7 SH7750_A7_REG32(SH7750_SCSCMR1_REGOFS) 1468 #define SH7750_SCSCMR1_SDIR 0x08 1469 #define SH7750_SCSCMR1_SDIR_LSBF 0x00 1470 #define SH7750_SCSCMR1_SDIR_MSBF 0x08 1472 #define SH7750_SCSCMR1_SINV 0x04 1473 #define SH7750_SCSCMR1_SMIF 0x01 1477 #define SH7750_SCSMR1_GSM 0x80 1480 #define SH7750_SCSSR1_ERS 0x10 1486 #define SH7750_PCTRA_REGOFS 0x80002C 1487 #define SH7750_PCTRA SH7750_P4_REG32(SH7750_PCTRA_REGOFS) 1488 #define SH7750_PCTRA_A7 SH7750_A7_REG32(SH7750_PCTRA_REGOFS) 1490 #define SH7750_PCTRA_PBPUP(n) 0 1491 #define SH7750_PCTRA_PBNPUP(n) (1 << ((n)*2+1)) 1492 #define SH7750_PCTRA_PBINP(n) 0 1493 #define SH7750_PCTRA_PBOUT(n) (1 << ((n)*2)) 1496 #define SH7750_PDTRA_REGOFS 0x800030 1497 #define SH7750_PDTRA SH7750_P4_REG32(SH7750_PDTRA_REGOFS) 1498 #define SH7750_PDTRA_A7 SH7750_A7_REG32(SH7750_PDTRA_REGOFS) 1500 #define SH7750_PDTRA_BIT(n) (1 << (n)) 1503 #define SH7750_PCTRB_REGOFS 0x800040 1504 #define SH7750_PCTRB SH7750_P4_REG32(SH7750_PCTRB_REGOFS) 1505 #define SH7750_PCTRB_A7 SH7750_A7_REG32(SH7750_PCTRB_REGOFS) 1507 #define SH7750_PCTRB_PBPUP(n) 0 1508 #define SH7750_PCTRB_PBNPUP(n) (1 << ((n-16)*2+1)) 1509 #define SH7750_PCTRB_PBINP(n) 0 1510 #define SH7750_PCTRB_PBOUT(n) (1 << ((n-16)*2)) 1513 #define SH7750_PDTRB_REGOFS 0x800044 1514 #define SH7750_PDTRB SH7750_P4_REG32(SH7750_PDTRB_REGOFS) 1515 #define SH7750_PDTRB_A7 SH7750_A7_REG32(SH7750_PDTRB_REGOFS) 1517 #define SH7750_PDTRB_BIT(n) (1 << ((n)-16)) 1520 #define SH7750_GPIOIC_REGOFS 0x800048 1521 #define SH7750_GPIOIC SH7750_P4_REG32(SH7750_GPIOIC_REGOFS) 1522 #define SH7750_GPIOIC_A7 SH7750_A7_REG32(SH7750_GPIOIC_REGOFS) 1524 #define SH7750_GPIOIC_PTIREN(n) (1 << (n)) 1530 #define SH7750_ICR_REGOFS 0xD00000 1531 #define SH7750_ICR SH7750_P4_REG32(SH7750_ICR_REGOFS) 1532 #define SH7750_ICR_A7 SH7750_A7_REG32(SH7750_ICR_REGOFS) 1534 #define SH7750_ICR_NMIL 0x8000 1535 #define SH7750_ICR_MAI 0x4000 1537 #define SH7750_ICR_NMIB 0x0200 1538 #define SH7750_ICR_NMIB_BLK 0x0000 1540 #define SH7750_ICR_NMIB_NBLK 0x0200 1543 #define SH7750_ICR_NMIE 0x0100 1544 #define SH7750_ICR_NMIE_FALL 0x0000 1546 #define SH7750_ICR_NMIE_RISE 0x0100 1549 #define SH7750_ICR_IRLM 0x0080 1550 #define SH7750_ICR_IRLM_ENC 0x0000 1552 #define SH7750_ICR_IRLM_RAW 0x0080 1556 #define SH7750_IPRA_REGOFS 0xD00004 1557 #define SH7750_IPRA SH7750_P4_REG32(SH7750_IPRA_REGOFS) 1558 #define SH7750_IPRA_A7 SH7750_A7_REG32(SH7750_IPRA_REGOFS) 1560 #define SH7750_IPRA_TMU0 0xF000 1561 #define SH7750_IPRA_TMU0_S 12 1562 #define SH7750_IPRA_TMU1 0x0F00 1563 #define SH7750_IPRA_TMU1_S 8 1564 #define SH7750_IPRA_TMU2 0x00F0 1565 #define SH7750_IPRA_TMU2_S 4 1566 #define SH7750_IPRA_RTC 0x000F 1567 #define SH7750_IPRA_RTC_S 0 1570 #define SH7750_IPRB_REGOFS 0xD00008 1571 #define SH7750_IPRB SH7750_P4_REG32(SH7750_IPRB_REGOFS) 1572 #define SH7750_IPRB_A7 SH7750_A7_REG32(SH7750_IPRB_REGOFS) 1574 #define SH7750_IPRB_WDT 0xF000 1575 #define SH7750_IPRB_WDT_S 12 1576 #define SH7750_IPRB_REF 0x0F00 1578 #define SH7750_IPRB_REF_S 8 1579 #define SH7750_IPRB_SCI1 0x00F0 1580 #define SH7750_IPRB_SCI1_S 4 1583 #define SH7750_IPRC_REGOFS 0xD00004 1584 #define SH7750_IPRC SH7750_P4_REG32(SH7750_IPRC_REGOFS) 1585 #define SH7750_IPRC_A7 SH7750_A7_REG32(SH7750_IPRC_REGOFS) 1587 #define SH7750_IPRC_GPIO 0xF000 1588 #define SH7750_IPRC_GPIO_S 12 1589 #define SH7750_IPRC_DMAC 0x0F00 1590 #define SH7750_IPRC_DMAC_S 8 1591 #define SH7750_IPRC_SCIF 0x00F0 1592 #define SH7750_IPRC_SCIF_S 4 1593 #define SH7750_IPRC_HUDI 0x000F 1594 #define SH7750_IPRC_HUDI_S 0 1600 #define SH7750_BARA 0x200000 1601 #define SH7750_BAMRA 0x200004 1602 #define SH7750_BBRA 0x200008 1603 #define SH7750_BARB 0x20000c 1604 #define SH7750_BAMRB 0x200010 1605 #define SH7750_BBRB 0x200014 1606 #define SH7750_BASRB 0x000018 1607 #define SH7750_BDRB 0x200018 1608 #define SH7750_BDMRB 0x20001c 1609 #define SH7750_BRCR 0x200020 1611 #define SH7750_BRCR_UDBE 0x0001