Регистры Allwinner H616

Сокращения  |  Дерево шин  |  Карта памяти

Конфигурация CPUX ( Руководство )

Имя модуля: C0_CPUX_CFG , базовый адрес: 0x09010000

Имя модуля: CPU_SUBSYS_CTRL , базовый адрес: 0x08100000

Руководство п. 3.2.4


Регистров: 24

Имя регистра | Смещение


  • 1) C0_RST_CTRL | 0x0000

    typedef union  c0_rst_ctrl
    {
      struct
      {
       unsigned core_reset : 4;
       unsigned unused0 : 4;
       unsigned l2_rst : 1;
       unsigned unused1 : 7;
       unsigned dbg_rst : 4;
       unsigned etm_rst : 4;
       unsigned soc_dbg_rst : 1;
       unsigned mbist_rst : 1;
       unsigned unused2 : 2;
       unsigned ddr_rst : 1;
       unsigned unused3 : 3;
      } b;
       unsigned long w;
    } C0_RST_CTRL
       

  • 2) C0_CTRL_REG0 | 0x0010

    typedef union  c0_ctrl_reg0
    {
      struct
      {
       unsigned l1_rst_disable. : 4;
       unsigned l2_rst_disable : 1;
       unsigned unused0 : 3;
       unsigned cp15s_disable : 4;
       unsigned unused1 : 12;
       unsigned aa_64_naa_32 : 4;
       unsigned broadcast_cache_maint : 1;
       unsigned broadcast_outer : 1;
       unsigned broadcast_inner : 1;
       unsigned sysbar_disable : 1;
      } b;
       unsigned long w;
    } C0_CTRL_REG0
       

  • 3) C0_CTRL_REG1 | 0x0014

    typedef union  c0_ctrl_reg1
    {
      struct
      {
       unsigned acinactm : 1;
       unsigned crm_auto_select : 1;
       unsigned unused0 : 30;
      } b;
       unsigned long w;
    } C0_CTRL_REG1
       

  • 4) C0_CTRL_REG2 | 0x0018

    typedef union  c0_ctrl_reg2
    {
      struct
      {
       unsigned unused0 : 20;
       unsigned exm_clr : 4;
       unsigned eventi : 1;
       unsigned unused1 : 7;
      } b;
       unsigned long w;
    } C0_CTRL_REG2
       

  • 5) CACHE_CFG_REG | 0x0024

    typedef union  cache_cfg_reg
    {
      struct
      {
       unsigned emas : 1;
       unsigned ema : 2;
       unsigned emaw : 3;
       unsigned unused0 : 10;
       unsigned emas_l2d : 1;
       unsigned emaw_l2d : 2;
       unsigned ema_l2d : 3;
       unsigned unused1 : 10;
      } b;
       unsigned long w;
    } CACHE_CFG_REG
       

  • 6) RVBARADDR0_L | 0x0040

    typedef union  rvbaraddr0_l
    {
      struct
      {
       unsigned unused0 : 2;
       unsigned cpu0 : 30;
      } b;
       unsigned long w;
    } RVBARADDR0_L
       

  • 7) RVBARADDR0_H | 0x0044

    typedef union  rvbaraddr0_h
    {
      struct
      {
       unsigned rvbar_addr_39_32 : 8;
       unsigned unused0 : 24;
      } b;
       unsigned long w;
    } RVBARADDR0_H
       

  • 8) RVBARADDR1_L | 0x0048

    typedef union  rvbaraddr1_l
    {
      struct
      {
       unsigned unused0 : 2;
       unsigned rvbar_addr_31_2 : 30;
      } b;
       unsigned long w;
    } RVBARADDR1_L
       

  • 9) RVBARADDR1_H | 0x004C

    typedef union  rvbaraddr1_h
    {
      struct
      {
       unsigned rvbar_addr_39_32 : 8;
       unsigned unused0 : 24;
      } b;
       unsigned long w;
    } RVBARADDR1_H
       

  • 10) RVBARADDR2_L | 0x0050

    typedef union  rvbaraddr2_l
    {
      struct
      {
       unsigned unused0 : 2;
       unsigned rvbar_addr_31_2 : 30;
      } b;
       unsigned long w;
    } RVBARADDR2_L
       

  • 11) RVBARADDR2_H | 0x0054

    typedef union  rvbaraddr2_h
    {
      struct
      {
       unsigned rvbar_addr_39_32 : 8;
       unsigned unused0 : 24;
      } b;
       unsigned long w;
    } RVBARADDR2_H
       

  • 12) RVBARADDR3_L | 0x0058

    typedef union  rvbaraddr3_l
    {
      struct
      {
       unsigned unused0 : 2;
       unsigned rvbar_addr_31_2 : 30;
      } b;
       unsigned long w;
    } RVBARADDR3_L
       

  • 13) RVBARADDR3_H | 0x005C

    typedef union  rvbaraddr3_h
    {
      struct
      {
       unsigned rvbar_addr_39_32 : 8;
       unsigned unused0 : 24;
      } b;
       unsigned long w;
    } RVBARADDR3_H
       

  • 14) C0_CPU_STATUS | 0x0080

    typedef union  c0_cpu_status
    {
      struct
      {
       unsigned standbywfil2 : 1;
       unsigned unused0 : 7;
       unsigned standbywfe : 4;
       unsigned unused1 : 4;
       unsigned standbywfi : 4;
       unsigned unused2 : 4;
       unsigned smp_amp : 4;
       unsigned unused3 : 4;
      } b;
       unsigned long w;
    } C0_CPU_STATUS
       

  • 15) L2_STATUS_REG | 0x0084

    typedef union  l2_status_reg
    {
      struct
      {
       unsigned unused0 : 9;
       unsigned evento : 1;
       unsigned unused1 : 22;
      } b;
       unsigned long w;
    } L2_STATUS_REG
       

  • 16) DBG_REG0 | 0x00C0

    typedef union  dbg_reg0
    {
      struct
      {
       unsigned c_dbgpwrdup_3_0 : 4;
       unsigned unused0 : 4;
       unsigned dbgrestart_3_0 : 4;
       unsigned unused1 : 20;
      } b;
       unsigned long w;
    } DBG_REG0
       

  • 17) DBG_REG1 | 0x00C4

    typedef union  dbg_reg1
    {
      struct
      {
       unsigned c_dbgpwrupreq : 4;
       unsigned c_dbgnopwrdwn : 4;
       unsigned unused0 : 4;
       unsigned dbgrestarted_3_0 : 4;
       unsigned unused1 : 16;
      } b;
       unsigned long w;
    } DBG_REG1
       

  • 18) GENER_CTRL_REG0 | 0x0000

    typedef union  gener_ctrl_reg0
    {
      struct
      {
       unsigned gic_cfgsdisable : 1;
       unsigned idc_clock_enable : 1;
       unsigned unused0 : 30;
      } b;
       unsigned long w;
    } GENER_CTRL_REG0
       

  • 19) GENER_CTRL_REG1 | 0x0004

    typedef union  gener_ctrl_reg1
    {
      struct
      {
       unsigned unused0 : 6;
       unsigned mbus_clock_gating_ena : 1;
       unsigned mbus_clock_gating_dis : 1;
       unsigned unused1 : 24;
      } b;
       unsigned long w;
    } GENER_CTRL_REG1
       

  • 20) GIC_JTAG_RST_CTRL | 0x000C

    typedef union  gic_jtag_rst_ctrl
    {
      struct
      {
       unsigned gic_rst : 1;
       unsigned idc_rst : 1;
       unsigned unused0 : 6;
       unsigned trst : 1;
       unsigned portrst : 1;
       unsigned dap_rst : 1;
       unsigned cs_rst : 1;
       unsigned unused1 : 4;
       unsigned exm_clr_3_0 : 4;
       unsigned unused2 : 12;
      } b;
       unsigned long w;
    } GIC_JTAG_RST_CTRL
       

  • 21) C0_INT_EN | 0x0010

    typedef union  c0_int_en
    {
      struct
      {
       unsigned c0_gic_en : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } C0_INT_EN
       

  • 22) IRQ_FIQ_STATUS | 0x0014

    typedef union  irq_fiq_status
    {
      struct
      {
       unsigned fiq_out_15_0 : 16;
       unsigned irq_out_15_0 : 16;
      } b;
       unsigned long w;
    } IRQ_FIQ_STATUS
       

  • 23) GENER_CTRL_REG2 | 0x0018

    typedef union  gener_ctrl_reg2
    {
      struct
      {
       unsigned c0_tsclkchange : 1;
       unsigned unused0 : 15;
       unsigned cdbgrstack : 1;
       unsigned unused1 : 15;
      } b;
       unsigned long w;
    } GENER_CTRL_REG2
       

  • 24) DBG_STATE | 0x001C

    typedef union  dbg_state
    {
      struct
      {
       unsigned c0_dbg_state : 1;
       unsigned unused0 : 31;
      } b;
       unsigned long w;
    } DBG_STATE
       


  • Allwinner H616 Manual