TrustZone Protection Controller Register Guide

= TrustZone Protection Controller Unit =

Allows certain area's of the Software Interface to secure/in-secure.

It currently seems that the A10 only has 1 trustzone protection controller unit, TZPC0. Furthermore only the Interupt Controller (Bit0) and RTC & Alarm (Bit1) Modules appear to be securable.

TZPC Registers
TZPC Base address: 0x01c23400

TZPC_DECPORT0_SIZE
Default value: 0x00000010

Offset: 0x00

TZPC_DECPORT0_STA
Default value: 0x00000000

Offset: 0x04

TZPC_DECPORT0_SET
Default value: 0x00000000

Offset: 0x08

TZPC_DECPORT0_CLR
Default value: 0x00000000

Offset: 0x0c

TZPC_CPU_CONTROL
Default value: 0x00000002

Offset: 0x20

default map
md 0x01c23400 0x9 01c23400: 00000010 00000000 00000000 00000000   ................ 01c23410: 00000000 00000000 00000000 00000000   ................ 01c23420: 00000002   ....

all to 1
mw 0x01c23400 0xffffffff 0x9

md 0x01c23400 0x9 01c23400: 00000010 00000000 00000000 00000000   ................ 01c23410: 00000000 00000000 00000000 00000000   ................ 01c23420: 000000ff   ....

all to 0
mw 0x01c23400 0x00 0x9

md 0x01c23400 0x9 01c23400: 00000010 00000000 00000000 00000000   ................ 01c23410: 00000000 00000000 00000000 00000000   ................ 01c23420: 00000000   ....