|
RTEMS
5.1
|
39 #ifndef LIBBSP_ARM_TMS570_SYS1 40 #define LIBBSP_ARM_TMS570_SYS1 54 uint8_t reserved1 [12];
68 uint8_t reserved2 [4];
76 uint8_t reserved3 [4];
81 uint8_t reserved4 [8];
83 uint8_t reserved5 [4];
92 uint8_t reserved6 [4];
96 uint8_t reserved7 [4];
110 #define TMS570_SYS1_SYSPCx_ECPCLKFUN BSP_BIT32(0) 115 #define TMS570_SYS1_CSDIS_CLKSROFF(val) BSP_FLD32(val,0, 7) 116 #define TMS570_SYS1_CSDIS_CLKSROFF_GET(reg) BSP_FLD32GET(reg,0, 7) 117 #define TMS570_SYS1_CSDIS_CLKSROFF_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 120 #define TMS570_SYS1_CSDIS_CLKSR_OSC_NUM 0 121 #define TMS570_SYS1_CSDIS_CLKSROFF_OSC BSP_BIT32(0) 124 #define TMS570_SYS1_CSDIS_CLKSR_PLL1_NUM 1 125 #define TMS570_SYS1_CSDIS_CLKSROFF_PLL1 BSP_BIT32(1) 128 #define TMS570_SYS1_CSDIS_CLKSR_EXTCLKIN_NUM 3 129 #define TMS570_SYS1_CSDIS_CLKSROFF_EXTCLKIN BSP_BIT32(3) 132 #define TMS570_SYS1_CSDIS_CLKSR_LPO_NUM 4 133 #define TMS570_SYS1_CSDIS_CLKSROFF_LPO BSP_BIT32(4) 136 #define TMS570_SYS1_CSDIS_CLKSR_HPO_NUM 5 137 #define TMS570_SYS1_CSDIS_CLKSROFF_HPO BSP_BIT32(5) 140 #define TMS570_SYS1_CSDIS_CLKSR_PLL2_NUM 6 141 #define TMS570_SYS1_CSDIS_CLKSROFF_PLL2 BSP_BIT32(6) 144 #define TMS570_SYS1_CSDIS_CLKSR_EXTCLKIN2_NUM 7 145 #define TMS570_SYS1_CSDIS_CLKSROFF_EXTCLKIN2 BSP_BIT32(7) 149 #define TMS570_SYS1_CSDISSET_SETCLKSR_OFF(val) BSP_FLD32(val,0, 7) 150 #define TMS570_SYS1_CSDISSET_SETCLKSR_OFF_GET(reg) BSP_FLD32GET(reg,0, 7) 151 #define TMS570_SYS1_CSDISSET_SETCLKSR_OFF_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 155 #define TMS570_SYS1_CSDISCLR_CLRCLKSR_OFF(val) BSP_FLD32(val,0, 7) 156 #define TMS570_SYS1_CSDISCLR_CLRCLKSR_OFF_GET(reg) BSP_FLD32GET(reg,0, 7) 157 #define TMS570_SYS1_CSDISCLR_CLRCLKSR_OFF_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 161 #define TMS570_SYS1_CDDIS_VCLKAOFF4 BSP_BIT32(11) 164 #define TMS570_SYS1_CDDIS_VCLKAOFF3 BSP_BIT32(10) 167 #define TMS570_SYS1_CDDIS_VCLK3OFF BSP_BIT32(8) 170 #define TMS570_SYS1_CDDIS_RTICLK1OFF BSP_BIT32(6) 173 #define TMS570_SYS1_CDDIS_VCLKAOFF2 BSP_BIT32(5) 176 #define TMS570_SYS1_CDDIS_VCLKAOFF1 BSP_BIT32(4) 179 #define TMS570_SYS1_CDDIS_VCLK2OFF BSP_BIT32(3) 182 #define TMS570_SYS1_CDDIS_VCLKPOFF BSP_BIT32(2) 185 #define TMS570_SYS1_CDDIS_HCLKOFF BSP_BIT32(1) 188 #define TMS570_SYS1_CDDIS_GCLKOFF BSP_BIT32(0) 193 #define TMS570_SYS1_CDDISSET_SETVCLKA_OFF(val) BSP_FLD32(val,10, 11) 194 #define TMS570_SYS1_CDDISSET_SETVCLKA_OFF_GET(reg) BSP_FLD32GET(reg,10, 11) 195 #define TMS570_SYS1_CDDISSET_SETVCLKA_OFF_SET(reg,val) BSP_FLD32SET(reg, val,10, 11) 198 #define TMS570_SYS1_CDDISSET_SETVCLK3OFF BSP_BIT32(8) 201 #define TMS570_SYS1_CDDISSET_SETRTI1CLKOFF BSP_BIT32(6) 204 #define TMS570_SYS1_CDDISSET_SETTVCLKA2OFF BSP_BIT32(5) 207 #define TMS570_SYS1_CDDISSET_SETVCLKA1OFF BSP_BIT32(4) 210 #define TMS570_SYS1_CDDISSET_SETVCLK2OFF BSP_BIT32(3) 213 #define TMS570_SYS1_CDDISSET_SETVCLKPOFF BSP_BIT32(2) 216 #define TMS570_SYS1_CDDISSET_SETHCLKOFF BSP_BIT32(1) 219 #define TMS570_SYS1_CDDISSET_SETGCLKOFF BSP_BIT32(0) 224 #define TMS570_SYS1_CDDISCLR_CLRVCLKAOFF(val) BSP_FLD32(val,10, 11) 225 #define TMS570_SYS1_CDDISCLR_CLRVCLKAOFF_GET(reg) BSP_FLD32GET(reg,10, 11) 226 #define TMS570_SYS1_CDDISCLR_CLRVCLKAOFF_SET(reg,val) BSP_FLD32SET(reg, val,10, 11) 229 #define TMS570_SYS1_CDDISCLR_Reserved BSP_BIT32(9) 232 #define TMS570_SYS1_CDDISCLR_CLRVCLK3OFF BSP_BIT32(8) 235 #define TMS570_SYS1_CDDISCLR_CLRRTI1CLKOFF BSP_BIT32(6) 238 #define TMS570_SYS1_CDDISCLR_CLRTVCLKA2OFF BSP_BIT32(5) 241 #define TMS570_SYS1_CDDISCLR_CLRVCLKA1OFF BSP_BIT32(4) 244 #define TMS570_SYS1_CDDISCLR_CLRVCLK2OFF BSP_BIT32(3) 247 #define TMS570_SYS1_CDDISCLR_CLRVCLKPOFF BSP_BIT32(2) 250 #define TMS570_SYS1_CDDISCLR_CLRHCLKOFF BSP_BIT32(1) 253 #define TMS570_SYS1_CDDISCLR_CLRGCLKOFF BSP_BIT32(0) 258 #define TMS570_SYS1_GHVSRC_GHVWAKE(val) BSP_FLD32(val,24, 27) 259 #define TMS570_SYS1_GHVSRC_GHVWAKE_GET(reg) BSP_FLD32GET(reg,24, 27) 260 #define TMS570_SYS1_GHVSRC_GHVWAKE_SET(reg,val) BSP_FLD32SET(reg, val,24, 27) 263 #define TMS570_SYS1_GHVSRC_HVLPM(val) BSP_FLD32(val,16, 19) 264 #define TMS570_SYS1_GHVSRC_HVLPM_GET(reg) BSP_FLD32GET(reg,16, 19) 265 #define TMS570_SYS1_GHVSRC_HVLPM_SET(reg,val) BSP_FLD32SET(reg, val,16, 19) 268 #define TMS570_SYS1_GHVSRC_GHVSRC(val) BSP_FLD32(val,0, 3) 269 #define TMS570_SYS1_GHVSRC_GHVSRC_GET(reg) BSP_FLD32GET(reg,0, 3) 270 #define TMS570_SYS1_GHVSRC_GHVSRC_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 275 #define TMS570_SYS1_VCLKASRC_VCLKA2S(val) BSP_FLD32(val,8, 11) 276 #define TMS570_SYS1_VCLKASRC_VCLKA2S_GET(reg) BSP_FLD32GET(reg,8, 11) 277 #define TMS570_SYS1_VCLKASRC_VCLKA2S_SET(reg,val) BSP_FLD32SET(reg, val,8, 11) 280 #define TMS570_SYS1_VCLKASRC_VCLKA1S(val) BSP_FLD32(val,0, 3) 281 #define TMS570_SYS1_VCLKASRC_VCLKA1S_GET(reg) BSP_FLD32GET(reg,0, 3) 282 #define TMS570_SYS1_VCLKASRC_VCLKA1S_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 287 #define TMS570_SYS1_RCLKSRC_RTI1DIV(val) BSP_FLD32(val,8, 9) 288 #define TMS570_SYS1_RCLKSRC_RTI1DIV_GET(reg) BSP_FLD32GET(reg,8, 9) 289 #define TMS570_SYS1_RCLKSRC_RTI1DIV_SET(reg,val) BSP_FLD32SET(reg, val,8, 9) 292 #define TMS570_SYS1_RCLKSRC_RTI1SRC(val) BSP_FLD32(val,0, 3) 293 #define TMS570_SYS1_RCLKSRC_RTI1SRC_GET(reg) BSP_FLD32GET(reg,0, 3) 294 #define TMS570_SYS1_RCLKSRC_RTI1SRC_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 299 #define TMS570_SYS1_CSVSTAT_CLKSRV(val) BSP_FLD32(val,3, 7) 300 #define TMS570_SYS1_CSVSTAT_CLKSRV_GET(reg) BSP_FLD32GET(reg,3, 7) 301 #define TMS570_SYS1_CSVSTAT_CLKSRV_SET(reg,val) BSP_FLD32SET(reg, val,3, 7) 304 #define TMS570_SYS1_CSVSTAT_CLKSR(val) BSP_FLD32(val,0, 1) 305 #define TMS570_SYS1_CSVSTAT_CLKSR_GET(reg) BSP_FLD32GET(reg,0, 1) 306 #define TMS570_SYS1_CSVSTAT_CLKSR_SET(reg,val) BSP_FLD32SET(reg, val,0, 1) 311 #define TMS570_SYS1_MSTGCR_ROM_DIV(val) BSP_FLD32(val,8, 9) 312 #define TMS570_SYS1_MSTGCR_ROM_DIV_GET(reg) BSP_FLD32GET(reg,8, 9) 313 #define TMS570_SYS1_MSTGCR_ROM_DIV_SET(reg,val) BSP_FLD32SET(reg, val,8, 9) 316 #define TMS570_SYS1_MSTGCR_MSTGENA(val) BSP_FLD32(val,0, 3) 317 #define TMS570_SYS1_MSTGCR_MSTGENA_GET(reg) BSP_FLD32GET(reg,0, 3) 318 #define TMS570_SYS1_MSTGCR_MSTGENA_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 323 #define TMS570_SYS1_MINITGCR_MINITGENA(val) BSP_FLD32(val,0, 3) 324 #define TMS570_SYS1_MINITGCR_MINITGENA_GET(reg) BSP_FLD32GET(reg,0, 3) 325 #define TMS570_SYS1_MINITGCR_MINITGENA_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 334 #define TMS570_SYS1_MSTCGSTAT_MINIDONE BSP_BIT32(8) 337 #define TMS570_SYS1_MSTCGSTAT_MSTDONE BSP_BIT32(0) 346 #define TMS570_SYS1_PLLCTL1_ROS BSP_BIT32(31) 349 #define TMS570_SYS1_PLLCTL1_MASK_SLIP(val) BSP_FLD32(val,29, 30) 350 #define TMS570_SYS1_PLLCTL1_MASK_SLIP_GET(reg) BSP_FLD32GET(reg,29, 30) 351 #define TMS570_SYS1_PLLCTL1_MASK_SLIP_SET(reg,val) BSP_FLD32SET(reg, val,29, 30) 354 #define TMS570_SYS1_PLLCTL1_PLLDIV(val) BSP_FLD32(val,24, 28) 355 #define TMS570_SYS1_PLLCTL1_PLLDIV_GET(reg) BSP_FLD32GET(reg,24, 28) 356 #define TMS570_SYS1_PLLCTL1_PLLDIV_SET(reg,val) BSP_FLD32SET(reg, val,24, 28) 359 #define TMS570_SYS1_PLLCTL1_ROF BSP_BIT32(23) 362 #define TMS570_SYS1_PLLCTL1_REFCLKDIV(val) BSP_FLD32(val,16, 21) 363 #define TMS570_SYS1_PLLCTL1_REFCLKDIV_GET(reg) BSP_FLD32GET(reg,16, 21) 364 #define TMS570_SYS1_PLLCTL1_REFCLKDIV_SET(reg,val) BSP_FLD32SET(reg, val,16, 21) 367 #define TMS570_SYS1_PLLCTL1_PLLMUL(val) BSP_FLD32(val,0, 15) 368 #define TMS570_SYS1_PLLCTL1_PLLMUL_GET(reg) BSP_FLD32GET(reg,0, 15) 369 #define TMS570_SYS1_PLLCTL1_PLLMUL_SET(reg,val) BSP_FLD32SET(reg, val,0, 15) 374 #define TMS570_SYS1_PLLCTL2_FMENA BSP_BIT32(31) 377 #define TMS570_SYS1_PLLCTL2_SPREADINGRATE(val) BSP_FLD32(val,22, 30) 378 #define TMS570_SYS1_PLLCTL2_SPREADINGRATE_GET(reg) BSP_FLD32GET(reg,22, 30) 379 #define TMS570_SYS1_PLLCTL2_SPREADINGRATE_SET(reg,val) BSP_FLD32SET(reg, val,22, 30) 382 #define TMS570_SYS1_PLLCTL2_MULMOD(val) BSP_FLD32(val,12, 20) 383 #define TMS570_SYS1_PLLCTL2_MULMOD_GET(reg) BSP_FLD32GET(reg,12, 20) 384 #define TMS570_SYS1_PLLCTL2_MULMOD_SET(reg,val) BSP_FLD32SET(reg, val,12, 20) 387 #define TMS570_SYS1_PLLCTL2_ODPLL(val) BSP_FLD32(val,9, 11) 388 #define TMS570_SYS1_PLLCTL2_ODPLL_GET(reg) BSP_FLD32GET(reg,9, 11) 389 #define TMS570_SYS1_PLLCTL2_ODPLL_SET(reg,val) BSP_FLD32SET(reg, val,9, 11) 392 #define TMS570_SYS1_PLLCTL2_SPR_AMOUNT(val) BSP_FLD32(val,0, 8) 393 #define TMS570_SYS1_PLLCTL2_SPR_AMOUNT_GET(reg) BSP_FLD32GET(reg,0, 8) 394 #define TMS570_SYS1_PLLCTL2_SPR_AMOUNT_SET(reg,val) BSP_FLD32SET(reg, val,0, 8) 399 #define TMS570_SYS1_SYSPC10_ECPCLK_SLEW BSP_BIT32(0) 404 #define TMS570_SYS1_DIEIDL_LOT(val) BSP_FLD32(val,22, 31) 405 #define TMS570_SYS1_DIEIDL_LOT_GET(reg) BSP_FLD32GET(reg,22, 31) 406 #define TMS570_SYS1_DIEIDL_LOT_SET(reg,val) BSP_FLD32SET(reg, val,22, 31) 409 #define TMS570_SYS1_DIEIDL_WAFER(val) BSP_FLD32(val,16, 21) 410 #define TMS570_SYS1_DIEIDL_WAFER_GET(reg) BSP_FLD32GET(reg,16, 21) 411 #define TMS570_SYS1_DIEIDL_WAFER_SET(reg,val) BSP_FLD32SET(reg, val,16, 21) 414 #define TMS570_SYS1_DIEIDL_Y_WAFER_COORDINATE(val) BSP_FLD32(val,8, 15) 415 #define TMS570_SYS1_DIEIDL_Y_WAFER_COORDINATE_GET(reg) BSP_FLD32GET(reg,8, 15) 416 #define TMS570_SYS1_DIEIDL_Y_WAFER_COORDINATE_SET(reg,val) BSP_FLD32SET(reg, val,8, 15) 419 #define TMS570_SYS1_DIEIDL_X_WAFER_COORDINATE(val) BSP_FLD32(val,0, 7) 420 #define TMS570_SYS1_DIEIDL_X_WAFER_COORDINATE_GET(reg) BSP_FLD32GET(reg,0, 7) 421 #define TMS570_SYS1_DIEIDL_X_WAFER_COORDINATE_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 426 #define TMS570_SYS1_DIEIDH_LOT(val) BSP_FLD32(val,0, 13) 427 #define TMS570_SYS1_DIEIDH_LOT_GET(reg) BSP_FLD32GET(reg,0, 13) 428 #define TMS570_SYS1_DIEIDH_LOT_SET(reg,val) BSP_FLD32SET(reg, val,0, 13) 433 #define TMS570_SYS1_LPOMONCTL_BIAS_ENABLE BSP_BIT32(24) 436 #define TMS570_SYS1_LPOMONCTL_OSCFRQCONFIGCNT BSP_BIT32(16) 439 #define TMS570_SYS1_LPOMONCTL_HFTRIM(val) BSP_FLD32(val,8, 12) 440 #define TMS570_SYS1_LPOMONCTL_HFTRIM_GET(reg) BSP_FLD32GET(reg,8, 12) 441 #define TMS570_SYS1_LPOMONCTL_HFTRIM_SET(reg,val) BSP_FLD32SET(reg, val,8, 12) 446 #define TMS570_SYS1_CLKTEST_ALTLIMPCLOCKENABLE BSP_BIT32(26) 449 #define TMS570_SYS1_CLKTEST_RANGEDETCTRL BSP_BIT32(25) 452 #define TMS570_SYS1_CLKTEST_RANGEDETENASSEL BSP_BIT32(24) 455 #define TMS570_SYS1_CLKTEST_CLK_TEST_EN(val) BSP_FLD32(val,16, 19) 456 #define TMS570_SYS1_CLKTEST_CLK_TEST_EN_GET(reg) BSP_FLD32GET(reg,16, 19) 457 #define TMS570_SYS1_CLKTEST_CLK_TEST_EN_SET(reg,val) BSP_FLD32SET(reg, val,16, 19) 460 #define TMS570_SYS1_CLKTEST_SEL_GIO_PIN(val) BSP_FLD32(val,8, 11) 461 #define TMS570_SYS1_CLKTEST_SEL_GIO_PIN_GET(reg) BSP_FLD32GET(reg,8, 11) 462 #define TMS570_SYS1_CLKTEST_SEL_GIO_PIN_SET(reg,val) BSP_FLD32SET(reg, val,8, 11) 465 #define TMS570_SYS1_CLKTEST_SEL_ECP_PIN(val) BSP_FLD32(val,0, 3) 466 #define TMS570_SYS1_CLKTEST_SEL_ECP_PIN_GET(reg) BSP_FLD32GET(reg,0, 3) 467 #define TMS570_SYS1_CLKTEST_SEL_ECP_PIN_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 472 #define TMS570_SYS1_DFTCTRLREG1_DFTWRITE(val) BSP_FLD32(val,12, 13) 473 #define TMS570_SYS1_DFTCTRLREG1_DFTWRITE_GET(reg) BSP_FLD32GET(reg,12, 13) 474 #define TMS570_SYS1_DFTCTRLREG1_DFTWRITE_SET(reg,val) BSP_FLD32SET(reg, val,12, 13) 477 #define TMS570_SYS1_DFTCTRLREG1_DFTREAD(val) BSP_FLD32(val,8, 9) 478 #define TMS570_SYS1_DFTCTRLREG1_DFTREAD_GET(reg) BSP_FLD32GET(reg,8, 9) 479 #define TMS570_SYS1_DFTCTRLREG1_DFTREAD_SET(reg,val) BSP_FLD32SET(reg, val,8, 9) 482 #define TMS570_SYS1_DFTCTRLREG1_TEST_MODE_KEY(val) BSP_FLD32(val,0, 3) 483 #define TMS570_SYS1_DFTCTRLREG1_TEST_MODE_KEY_GET(reg) BSP_FLD32GET(reg,0, 3) 484 #define TMS570_SYS1_DFTCTRLREG1_TEST_MODE_KEY_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 489 #define TMS570_SYS1_DFTCTRLREG2_IMPDF(val) BSP_FLD32(val,4, 31) 490 #define TMS570_SYS1_DFTCTRLREG2_IMPDF_GET(reg) BSP_FLD32GET(reg,4, 31) 491 #define TMS570_SYS1_DFTCTRLREG2_IMPDF_SET(reg,val) BSP_FLD32SET(reg, val,4, 31) 494 #define TMS570_SYS1_DFTCTRLREG2_TEST_MODE_KEY(val) BSP_FLD32(val,0, 3) 495 #define TMS570_SYS1_DFTCTRLREG2_TEST_MODE_KEY_GET(reg) BSP_FLD32GET(reg,0, 3) 496 #define TMS570_SYS1_DFTCTRLREG2_TEST_MODE_KEY_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 501 #define TMS570_SYS1_GPREG1_EMIF_FUNC BSP_BIT32(31) 504 #define TMS570_SYS1_GPREG1_PLL1_FBSLIP_FILTER__COUNT(val) BSP_FLD32(val,20, 25) 505 #define TMS570_SYS1_GPREG1_PLL1_FBSLIP_FILTER__COUNT_GET(reg) BSP_FLD32GET(reg,20, 25) 506 #define TMS570_SYS1_GPREG1_PLL1_FBSLIP_FILTER__COUNT_SET(reg,val) BSP_FLD32SET(reg, val,20, 25) 509 #define TMS570_SYS1_GPREG1_PLL1_RFSLIP_FILTER__KEY(val) BSP_FLD32(val,16, 19) 510 #define TMS570_SYS1_GPREG1_PLL1_RFSLIP_FILTER__KEY_GET(reg) BSP_FLD32GET(reg,16, 19) 511 #define TMS570_SYS1_GPREG1_PLL1_RFSLIP_FILTER__KEY_SET(reg,val) BSP_FLD32SET(reg, val,16, 19) 514 #define TMS570_SYS1_GPREG1_OUTPUT_BUFFER_LOW_EMI_MODE(val) BSP_FLD32(val,0, 15) 515 #define TMS570_SYS1_GPREG1_OUTPUT_BUFFER_LOW_EMI_MODE_GET(reg) BSP_FLD32GET(reg,0, 15) 516 #define TMS570_SYS1_GPREG1_OUTPUT_BUFFER_LOW_EMI_MODE_SET(reg,val) BSP_FLD32SET(reg, val,0, 15) 521 #define TMS570_SYS1_IMPFASTS_ECPCLKFUN BSP_BIT32(0) 530 #define TMS570_SYS1_SSIRx_SSKEY1(val) BSP_FLD32(val,8, 15) 531 #define TMS570_SYS1_SSIRx_SSKEY1_GET(reg) BSP_FLD32GET(reg,8, 15) 532 #define TMS570_SYS1_SSIRx_SSKEY1_SET(reg,val) BSP_FLD32SET(reg, val,8, 15) 535 #define TMS570_SYS1_SSIRx_SSDATA1(val) BSP_FLD32(val,0, 7) 536 #define TMS570_SYS1_SSIRx_SSDATA1_GET(reg) BSP_FLD32GET(reg,0, 7) 537 #define TMS570_SYS1_SSIRx_SSDATA1_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 542 #define TMS570_SYS1_RAMGCR_RAM_DFT_EN(val) BSP_FLD32(val,16, 19) 543 #define TMS570_SYS1_RAMGCR_RAM_DFT_EN_GET(reg) BSP_FLD32GET(reg,16, 19) 544 #define TMS570_SYS1_RAMGCR_RAM_DFT_EN_SET(reg,val) BSP_FLD32SET(reg, val,16, 19) 547 #define TMS570_SYS1_RAMGCR_WST_AENA0 BSP_BIT32(2) 550 #define TMS570_SYS1_RAMGCR_WST_DENA0 BSP_BIT32(0) 555 #define TMS570_SYS1_BMMCR1_MEMSW(val) BSP_FLD32(val,0, 3) 556 #define TMS570_SYS1_BMMCR1_MEMSW_GET(reg) BSP_FLD32GET(reg,0, 3) 557 #define TMS570_SYS1_BMMCR1_MEMSW_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 562 #define TMS570_SYS1_CPURSTCR_CPU_RESET BSP_BIT32(0) 567 #define TMS570_SYS1_CLKCNTL_VCLK2R(val) BSP_FLD32(val,24, 27) 568 #define TMS570_SYS1_CLKCNTL_VCLK2R_GET(reg) BSP_FLD32GET(reg,24, 27) 569 #define TMS570_SYS1_CLKCNTL_VCLK2R_SET(reg,val) BSP_FLD32SET(reg, val,24, 27) 572 #define TMS570_SYS1_CLKCNTL_VCLKR(val) BSP_FLD32(val,16, 19) 573 #define TMS570_SYS1_CLKCNTL_VCLKR_GET(reg) BSP_FLD32GET(reg,16, 19) 574 #define TMS570_SYS1_CLKCNTL_VCLKR_SET(reg,val) BSP_FLD32SET(reg, val,16, 19) 577 #define TMS570_SYS1_CLKCNTL_PENA BSP_BIT32(8) 582 #define TMS570_SYS1_ECPCNTL_ECPSSEL BSP_BIT32(24) 585 #define TMS570_SYS1_ECPCNTL_ECPCOS BSP_BIT32(23) 588 #define TMS570_SYS1_ECPCNTL_ECPINSEL(val) BSP_FLD32(val,6, 17) 589 #define TMS570_SYS1_ECPCNTL_ECPINSEL_GET(reg) BSP_FLD32GET(reg,6, 17) 590 #define TMS570_SYS1_ECPCNTL_ECPINSEL_SET(reg,val) BSP_FLD32SET(reg, val,6, 17) 593 #define TMS570_SYS1_ECPCNTL_ECPDIV(val) BSP_FLD32(val,0, 15) 594 #define TMS570_SYS1_ECPCNTL_ECPDIV_GET(reg) BSP_FLD32GET(reg,0, 15) 595 #define TMS570_SYS1_ECPCNTL_ECPDIV_SET(reg,val) BSP_FLD32SET(reg, val,0, 15) 600 #define TMS570_SYS1_DEVCR1_DEVPARSEL(val) BSP_FLD32(val,0, 3) 601 #define TMS570_SYS1_DEVCR1_DEVPARSEL_GET(reg) BSP_FLD32GET(reg,0, 3) 602 #define TMS570_SYS1_DEVCR1_DEVPARSEL_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 607 #define TMS570_SYS1_SYSECR_RESET(val) BSP_FLD32(val,14, 15) 608 #define TMS570_SYS1_SYSECR_RESET_GET(reg) BSP_FLD32GET(reg,14, 15) 609 #define TMS570_SYS1_SYSECR_RESET_SET(reg,val) BSP_FLD32SET(reg, val,14, 15) 614 #define TMS570_SYS1_SYSESR_PORST BSP_BIT32(15) 617 #define TMS570_SYS1_SYSESR_OSCRST BSP_BIT32(14) 620 #define TMS570_SYS1_SYSESR_WDRST BSP_BIT32(13) 623 #define TMS570_SYS1_SYSESR_CPURST BSP_BIT32(5) 626 #define TMS570_SYS1_SYSESR_SWRST BSP_BIT32(4) 629 #define TMS570_SYS1_SYSESR_EXTRST BSP_BIT32(3) 632 #define TMS570_SYS1_SYSESR_MPMODE BSP_BIT32(0) 637 #define TMS570_SYS1_SYSTASR_EFUSE_Abort(val) BSP_FLD32(val,0, 4) 638 #define TMS570_SYS1_SYSTASR_EFUSE_Abort_GET(reg) BSP_FLD32GET(reg,0, 4) 639 #define TMS570_SYS1_SYSTASR_EFUSE_Abort_SET(reg,val) BSP_FLD32SET(reg, val,0, 4) 644 #define TMS570_SYS1_GLBSTAT_FBSLIP BSP_BIT32(9) 647 #define TMS570_SYS1_GLBSTAT_RFSLIP BSP_BIT32(8) 650 #define TMS570_SYS1_GLBSTAT_OSCFAIL BSP_BIT32(0) 655 #define TMS570_SYS1_DEVID_CP15 BSP_BIT32(31) 658 #define TMS570_SYS1_DEVID_TECH(val) BSP_FLD32(val,13, 16) 659 #define TMS570_SYS1_DEVID_TECH_GET(reg) BSP_FLD32GET(reg,13, 16) 660 #define TMS570_SYS1_DEVID_TECH_SET(reg,val) BSP_FLD32SET(reg, val,13, 16) 663 #define TMS570_SYS1_DEVID_I_O_VOLTAGE BSP_BIT32(12) 666 #define TMS570_SYS1_DEVID_PERIPHERAL_PARITY BSP_BIT32(11) 669 #define TMS570_SYS1_DEVID_FLASH_ECC(val) BSP_FLD32(val,9, 10) 670 #define TMS570_SYS1_DEVID_FLASH_ECC_GET(reg) BSP_FLD32GET(reg,9, 10) 671 #define TMS570_SYS1_DEVID_FLASH_ECC_SET(reg,val) BSP_FLD32SET(reg, val,9, 10) 674 #define TMS570_SYS1_DEVID_RAM_ECC BSP_BIT32(8) 677 #define TMS570_SYS1_DEVID_VERSION(val) BSP_FLD32(val,3, 7) 678 #define TMS570_SYS1_DEVID_VERSION_GET(reg) BSP_FLD32GET(reg,3, 7) 679 #define TMS570_SYS1_DEVID_VERSION_SET(reg,val) BSP_FLD32SET(reg, val,3, 7) 682 #define TMS570_SYS1_DEVID_PLATFORM_ID(val) BSP_FLD32(val,0, 2) 683 #define TMS570_SYS1_DEVID_PLATFORM_ID_GET(reg) BSP_FLD32GET(reg,0, 2) 684 #define TMS570_SYS1_DEVID_PLATFORM_ID_SET(reg,val) BSP_FLD32SET(reg, val,0, 2) 689 #define TMS570_SYS1_SSIVEC_SSIDATA(val) BSP_FLD32(val,8, 15) 690 #define TMS570_SYS1_SSIVEC_SSIDATA_GET(reg) BSP_FLD32GET(reg,8, 15) 691 #define TMS570_SYS1_SSIVEC_SSIDATA_SET(reg,val) BSP_FLD32SET(reg, val,8, 15) 694 #define TMS570_SYS1_SSIVEC_SSIVECT(val) BSP_FLD32(val,0, 7) 695 #define TMS570_SYS1_SSIVEC_SSIVECT_GET(reg) BSP_FLD32GET(reg,0, 7) 696 #define TMS570_SYS1_SSIVEC_SSIVECT_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 701 #define TMS570_SYS1_SSIF_SSI_FLAG(val) BSP_FLD32(val,0, 3) 702 #define TMS570_SYS1_SSIF_SSI_FLAG_GET(reg) BSP_FLD32GET(reg,0, 3) 703 #define TMS570_SYS1_SSIF_SSI_FLAG_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)