Регистры Allwinner H616

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


C0_CTRL_REG0
3.2.4. Cluster 0 Control Register0 - адрес: 0x9010010 0x8100010 (смещение: 0x0010)

Конфигурация CPUX: список регистров



31 ||||||||||||||||| 16
15 ||||||||||||||||| 00

  SYSBAR_DISABLE

Bit 31
R/W
0x1

Disable broadcasting of barriers onto system bus
0: Barriers are broadcasted onto system bus, this requires an AMBA4 interconnect
1: Barriers are not broadcasted onto the system bus. This is compatible with an AXI3 interconnect


  BROADCAST_INNER

Bit 30
R/W
0x0

Enable broadcasting of inner shareable transactions
0: Inner shareable transactions are not broadcasted externally
1: Inner shareable transactions are broadcasted externally


  BROADCAST_OUTER

Bit 29
R/W
0x0

Enable broadcasting of outer shareable transactions
0: Outer Shareable transactions are not broadcasted externally
0: Outer Shareable transactions are broadcasted externally


  BROADCAST_CACHE_MAINT

Bit 28
R/W
0x0

0: Cache maintenance operations are not broadcasted to downstream caches
1: Cache maintenance operations are broadcasted to downstream caches
Enable broadcasting of cache maintenance operations to downstream caches


  AA_64_NAA_32

Bits 27 : 24
R/W
0x0

0: AArch32
1: AArch64
Register width state
This pin is sampled only during reset of the processor


  Unused

Bits 23 : 12

  CP15S_DISABLE

Bits 11 : 8
R/W
0x0

Disable write access to some secure CP15 register.


  Unused

Bits 7 : 5

  L2_RST_DISABLE

Bit 4
R/W
0x0

Disable automatic L2 cache invalidate at reset
0: L2 cache is reset by hardware
1: L2 cache is not reset by hardware


  L1_RST_DISABLE.

Bits 3 : 0
R/W
0x0

Disable automatic Cluster CPU[3:0] L1 cache invalidate at reset:
0: L1 cache is reset by hardware.
1: L1 cache is not reset by hardware.



Команда U-Boot для чтения регистра

md 9010010 1
md 8100010 1



Bit fields structure

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
   

Allwinner H616 Manual