#http://switchbrew.org/index.php?title=TSEC
tsec_values = {
"name"          : "TSEC",
"base"          : 0x54500000,
"size"          : 0x40000,

"TSEC_THI_CTXSW"                    : 0x20,
"TSEC_THI_METHOD0"                  : 0x40,
"TSEC_THI_METHOD1"                  : 0x44,
"TSEC_THI_INT_STATUS"               : 0x78,
"TSEC_THI_INT_MASK"                 : 0x7C,
"TSEC_THI_UNK0"                     : 0x84,
"TSEC_THI_SLCG_OVERRIDE_HIGH_A"     : 0x88,
"TSEC_THI_SLCG_OVERRIDE_LOW_A"      : 0x8C,
"TSEC_THI_CLK_OVERRIDE"             : 0xE00,
"FALCON_IRQSSET"                    : 0x1000,
"FALCON_IRQSCLR"                    : 0x1004,
"FALCON_IRQSTAT"                    : 0x1008,
"FALCON_IRQMODE"                    : 0x100C,
"FALCON_IRQMSET"                    : 0x1010,
"FALCON_IRQMCLR"                    : 0x1014,
"FALCON_IRQMASK"                    : 0x1018,
"FALCON_IRQDEST"                    : 0x101C,
"FALCON_SCRATCH0"                   : 0x1040,
"FALCON_SCRATCH1"                   : 0x1044,
"FALCON_ITFEN"                      : 0x1048,
"FALCON_IDLESTATE"                  : 0x104C,
"FALCON_CURCTX"                     : 0x1050,
"FALCON_NXTCTX"                     : 0x1054,
"FALCON_SCRATCH2"                   : 0x1080,
"FALCON_SCRATCH3"                   : 0x1084,
"FALCON_CGCTL"                      : 0x10A0,
"FALCON_ENGCTL"                     : 0x10A4,
"FALCON_CPUCTL"                     : 0x1100,
"FALCON_BOOTVEC"                    : 0x1104,
"FALCON_HWCFG"                      : 0x1108,
"FALCON_DMACTL"                     : 0x110C,
"FALCON_DMATRFBASE"                 : 0x1110,
"FALCON_DMATRFMOFFS"                : 0x1114,
"FALCON_DMATRFCMD"                  : 0x1118,
"FALCON_DMATRFFBOFFS"               : 0x111C,
"FALCON_CPUCTL_ALIAS"               : 0x1130,
"FALCON_IMFILLRNG1"                 : 0x1154,
"FALCON_IMFILLCTL"                  : 0x1158,
"FALCON_EXTERRADDR"                 : 0x1168,
"FALCON_EXTERRSTAT"                 : 0x116C,
"FALCON_CG2"                        : 0x117C,
"FALCON_CODE_INDEX"                 : 0x1180,
"FALCON_CODE"                       : 0x1184,
"FALCON_CODE_VIRT_ADDR"             : 0x1188,
"FALCON_DATA_INDEX0"                : 0x11C0,
"FALCON_DATA0"                      : 0x11C4,
"FALCON_DATA_INDEX1"                : 0x11C8,
"FALCON_DATA1"                      : 0x11CC,
"FALCON_DATA_INDEX2"                : 0x11D0,
"FALCON_DATA2"                      : 0x11D4,
"FALCON_DATA_INDEX3"                : 0x11D8,
"FALCON_DATA3"                      : 0x11DC,
"FALCON_DATA_INDEX4"                : 0x11E0,
"FALCON_DATA4"                      : 0x11E4,
"FALCON_DATA_INDEX5"                : 0x11E8,
"FALCON_DATA5"                      : 0x11EC,
"FALCON_DATA_INDEX6"                : 0x11F0,
"FALCON_DATA6"                      : 0x11F4,
"FALCON_DATA_INDEX7"                : 0x11F8,
"FALCON_DATA7"                      : 0x11FC,
"FALCON_ICD_CMD"                    : 0x1200,
"FALCON_ICD_ADDR"                   : 0x1204,
"FALCON_ICD_WDATA"                  : 0x1208,
"FALCON_ICD_RDATA"                  : 0x120C,
"FALCON_SCTL"                       : 0x1240,
"TSEC_SCP_CTL_UNK0"                 : 0x1400,
"TSEC_SCP_CTL_UNK1"                 : 0x1404,
"TSEC_SCP_CTL_STAT"                 : 0x1408,
"TSEC_SCP_CTL_AUTH_MODE"            : 0x140C,
"TSEC_SCP_CTL_UNK2"                 : 0x1410,
"TSEC_SCP_CTL_PKEY"                 : 0x1418,
"TSEC_SCP_CTL_UNK3"                 : 0x1420,
"TSEC_SCP_CTL_UNK4"                 : 0x1428,
"TSEC_SCP_CTL_UNK5"                 : 0x1430,
"TSEC_SCP_UNK0"                     : 0x1454,
"TSEC_SCP_UNK1"                     : 0x1458,
"TSEC_SCP_UNK2"                     : 0x1470,
"TSEC_SCP_UNK3"                     : 0x1480,
"TSEC_SCP_UNK4"                     : 0x1490,
"TSEC_UNK0"                         : 0x1500,
"TSEC_UNK1"                         : 0x1504,
"TSEC_UNK2"                         : 0x150C,
"TSEC_UNK3"                         : 0x1510,
"TSEC_UNK4"                         : 0x1514,
"TSEC_UNK5"                         : 0x1518,
"TSEC_UNK6"                         : 0x151C,
"TSEC_UNK7"                         : 0x1528,
"TSEC_UNK8"                         : 0x152C,
"TSEC_TFBIF_MCCIF_UNK0"             : 0x1600,
"TSEC_TFBIF_MCCIF_FIFOCTRL"         : 0x1604,
"TSEC_TFBIF_MCCIF_UNK1"             : 0x1608,
"TSEC_TFBIF_MCCIF_UNK2"             : 0x160C,
"TSEC_TFBIF_UNK0"                   : 0x1630,
"TSEC_TFBIF_UNK1"                   : 0x1634,
"TSEC_TFBIF_UNK2"                   : 0x1640,
"TSEC_DMA_CMD"                      : 0x1700,
"TSEC_DMA_ADDR"                     : 0x1704,
"TSEC_DMA_VAL"                      : 0x1708,
"TSEC_DMA_UNK"                      : 0x170C,
"TSEC_TEGRA_UNK0"                   : 0x1800,
"TSEC_TEGRA_UNK1"                   : 0x1824,
"TSEC_TEGRA_UNK2"                   : 0x1828,
"TSEC_TEGRA_UNK3"                   : 0x182C,
"TSEC_TEGRA_CTL"                    : 0x1838
}