github.com/f-secure-foundry/tamago@v0.0.0-20220307101044-d73fcdd7f11b/board/f-secure/usbarmory/mark-two/imximage.cfg (about)

     1  IMAGE_VERSION 2
     2  BOOT_FROM sd
     3  CSF 0x4000
     4  
     5  # CCM
     6  
     7  DATA 4 0x020c4068 0xffffffff  # CCM_CCGR0
     8  DATA 4 0x020c406c 0xffffffff  # CCM_CCGR1
     9  DATA 4 0x020c4070 0xffffffff  # CCM_CCGR2
    10  DATA 4 0x020c4074 0xffffffff  # CCM_CCGR3
    11  DATA 4 0x020c4078 0xffffffff  # CCM_CCGR4
    12  DATA 4 0x020c407c 0xffffffff  # CCM_CCGR5
    13  DATA 4 0x020c4080 0xffffffff  # CCM_CCGR6
    14  
    15  # IOMUX DDR
    16  
    17  DATA 4 0x020E04B4 0x000C0000  # GRP_DDR_TYPE
    18  DATA 4 0x020E04AC 0x00000000  # GRP_DDRPKE
    19  DATA 4 0x020E027C 0x00000030  # DRAM_SDCLK0_P
    20  DATA 4 0x020E0250 0x00000030  # DRAM_CAS_B
    21  DATA 4 0x020E024C 0x00000030  # DRAM_RAS_B
    22  DATA 4 0x020E0490 0x00000030  # GRP_ADDDS
    23  DATA 4 0x020E0288 0x00000030  # DRAM_RESET
    24  DATA 4 0x020E0270 0x00000000  # DRAM_SDBA2
    25  DATA 4 0x020E0260 0x00000030  # DRAM_ODT0
    26  DATA 4 0x020E0264 0x00000030  # DRAM_ODT1
    27  DATA 4 0x020E04A0 0x00000030  # GRP_CTLDS
    28  DATA 4 0x020E0494 0x00020000  # GRP_DDRMODE_CTL
    29  DATA 4 0x020E0280 0x00000030  # DRAM_SDQS0_P
    30  DATA 4 0x020E0284 0x00000030  # DRAM_SDQS1_P
    31  DATA 4 0x020E04B0 0x00020000  # GRP_DDRMODE
    32  DATA 4 0x020E0498 0x00000030  # GRP_B0DS
    33  DATA 4 0x020E04A4 0x00000030  # GRP_B1DS
    34  DATA 4 0x020E0244 0x00000030  # DRAM_DQM0
    35  DATA 4 0x020E0248 0x00000030  # DRAM_DQM1
    36  
    37  # IOMUX UART2
    38  
    39  DATA 4 0x020E0094 0x00000000  # MUX: UART2_TX_DATA -> [ALT0] UART2_TX
    40  DATA 4 0x020E0098 0x00000000  # MUX: UART2_RX_DATA -> [ALT0] UART2_RX
    41  DATA 4 0x020E009C 0x00000000  # MUX: UART2_CTS_B   -> [ALT0] UART2_CTS_B
    42  DATA 4 0x020E00A0 0x00000000  # MUX: UART2_RTS_B   -> [ALT0] UART2_RTS_B
    43  
    44  DATA 4 0x020E0320 0x0001B0B1  # PAD: UART2_TX_DATA
    45  DATA 4 0x020E0324 0x0001B0B1  # PAD: UART2_RX_DATA
    46  DATA 4 0x020E0328 0x0001B0B1  # PAD: UART2_CTS_B
    47  DATA 4 0x020E032C 0x0001B0B1  # PAD: UART2_RTS_B
    48  
    49  DATA 4 0x020E0628 0x00000001  # SELECT_INPUT: UART2_RTS_B
    50  DATA 4 0x020E062C 0x00000001  # SELECT_INPUT: UART2_RX_DATA
    51  
    52  # IOMUX I2C1
    53  
    54  DATA 4 0x020E0064 0x00000010  # MUX: GPIO1_IO02 -> [ALT0] I2C1_SCL / SION ENABLED
    55  DATA 4 0x020E0068 0x00000010  # MUX: GPIO1_IO03 -> [ALT0] I2C1_SDA / SION ENABLED
    56  
    57  DATA 4 0x020E02F0 0x0001B8B1  # PAD: GPIO1_IO02
    58  DATA 4 0x020E02F4 0x0001B8B1  # PAD: GPIO1_IO03
    59  
    60  DATA 4 0x020E05A4 0x00000000  # SELECT_INPUT: I2C1_SCL -> GPIO1_IO02
    61  DATA 4 0x020E05A8 0x00000001  # SELECT_INPUT: I2C1_SDA -> GPIO1_IO03
    62  
    63  # IOMUX USDHC1
    64  
    65  DATA 4 0x020E01BC 0x00000000  # MUX: SD1_CMD     -> [ALT0] USDHC1_CMD
    66  DATA 4 0x020E01C0 0x00000000  # MUX: SD1_CLK     -> [ALT0] USDHC1_CLK
    67  DATA 4 0x020E01C4 0x00000000  # MUX: SD1_DATA0   -> [ALT0] USDHC1_DATA0
    68  DATA 4 0x020E01C8 0x00000000  # MUX: SD1_DATA1   -> [ALT0] USDHC1_DATA1
    69  DATA 4 0x020E01CC 0x00000000  # MUX: SD1_DATA2   -> [ALT0] USDHC1_DATA2
    70  DATA 4 0x020E01D0 0x00000000  # MUX: SD1_DATA3   -> [ALT0] USDHC1_DATA3
    71  DATA 4 0x020E0090 0x00000002  # MUX: UART1_RTS_B -> [ALT2] USDHC1_CD_B
    72  
    73  DATA 4 0x020E0448 0x000170F9  # PAD: SD1_CMD
    74  DATA 4 0x020E044C 0x000170F9  # PAD: SD1_CLK
    75  DATA 4 0x020E0450 0x000170F9  # PAD: SD1_DATA0
    76  DATA 4 0x020E0454 0x000170F9  # PAD: SD1_DATA1
    77  DATA 4 0x020E0458 0x000170F9  # PAD: SD1_DATA2
    78  DATA 4 0x020E045C 0x000170F9  # PAD: SD1_DATA3
    79  DATA 4 0x020E031C 0x000170F9  # PAD: UART1_RTS_B
    80  
    81  DATA 4 0x020E0668 0x00000001  # SELECT_INPUT: UART1_RTS_B
    82  
    83  # IOMUX USDHC2
    84  
    85  DATA 4 0x020E0178 0x00000001  # MUX: NAND_RE     -> [ALT1] USDHC2_CLK
    86  DATA 4 0x020E017C 0x00000001  # MUX: NAND_WE     -> [ALT1] USDHC2_CMD
    87  DATA 4 0x020E0180 0x00000001  # MUX: NAND_DATA00 -> [ALT1] USDHC2_DATA0
    88  DATA 4 0x020E0184 0x00000001  # MUX: NAND_DATA01 -> [ALT1] USDHC2_DATA1
    89  DATA 4 0x020E0188 0x00000001  # MUX: NAND_DATA02 -> [ALT1] USDHC2_DATA2
    90  DATA 4 0x020E018C 0x00000001  # MUX: NAND_DATA03 -> [ALT1] USDHC2_DATA3
    91  DATA 4 0x020E0190 0x00000001  # MUX: NAND_DATA04 -> [ALT1] USDHC2_DATA4
    92  DATA 4 0x020E0194 0x00000001  # MUX: NAND_DATA05 -> [ALT1] USDHC2_DATA5
    93  DATA 4 0x020E0198 0x00000001  # MUX: NAND_DATA06 -> [ALT1] USDHC2_DATA6
    94  DATA 4 0x020E019C 0x00000001  # MUX: NAND_DATA07 -> [ALT1] USDHC2_DATA7
    95  
    96  DATA 4 0x020E0404 0x000170F9  # PAD: NAND_RE
    97  DATA 4 0x020E0408 0x000170F9  # PAD: NAND_WE
    98  DATA 4 0x020E040C 0x000170F9  # PAD: NAND_DATA00
    99  DATA 4 0x020E0410 0x000170F9  # PAD: NAND_DATA01
   100  DATA 4 0x020E0414 0x000170F9  # PAD: NAND_DATA02
   101  DATA 4 0x020E0418 0x000170F9  # PAD: NAND_DATA03
   102  DATA 4 0x020E041C 0x000170F9  # PAD: NAND_DATA04
   103  DATA 4 0x020E0420 0x000170F9  # PAD: NAND_DATA05
   104  DATA 4 0x020E0424 0x000170F9  # PAD: NAND_DATA06
   105  DATA 4 0x020E0428 0x000170F9  # PAD: NAND_DATA07
   106  DATA 4 0x020E042C 0x000010B0  # PAD: NAND_ALE
   107  
   108  DATA 4 0x020E0670 0x00000002  # SELECT_INPUT: NAND_RE_B
   109  DATA 4 0x020E0678 0x00000002  # SELECT_INPUT: NAND_WE_B
   110  DATA 4 0x020E067C 0x00000002  # SELECT_INPUT: NAND_DATA00
   111  DATA 4 0x020E0680 0x00000002  # SELECT_INPUT: NAND_DATA01
   112  DATA 4 0x020E0684 0x00000001  # SELECT_INPUT: NAND_DATA02
   113  DATA 4 0x020E0688 0x00000002  # SELECT_INPUT: NAND_DATA03
   114  DATA 4 0x020E068C 0x00000001  # SELECT_INPUT: NAND_DATA04
   115  DATA 4 0x020E0690 0x00000001  # SELECT_INPUT: NAND_DATA05
   116  DATA 4 0x020E0694 0x00000001  # SELECT_INPUT: NAND_DATA06
   117  DATA 4 0x020E0698 0x00000001  # SELECT_INPUT: NAND_DATA07
   118  
   119  # MMDC
   120  
   121  DATA 4 0x021B001C 0x00008000  # MMDC_MDSCR
   122  DATA 4 0x021B000C 0x676B52F3  # MMDC_MDCFG0
   123  DATA 4 0x021B0010 0xB66D0B63  # MMDC_MDCFG1
   124  DATA 4 0x021B0014 0x01FF00DB  # MMDC_MDCFG2
   125  DATA 4 0x021B0008 0x1B333030  # MMDC_MDOTC
   126  DATA 4 0x021B0018 0x00201740  # MMDC_MDMISC
   127  DATA 4 0x021B002C 0x000026D2  # MMDC_MDRWD
   128  DATA 4 0x021B0040 0x0000004F  # MMDC_MDASP
   129  DATA 4 0x021B0030 0x006B1023  # MMDC_MDOR
   130  DATA 4 0x021B0000 0x84180000  # MMDC_MDCTL
   131  
   132  # Calibration
   133  
   134  DATA 4 0x021B0800 0xA1390003  # MMDC_MPZQHWCTRL
   135  DATA 4 0x021B080C 0x000D000F  # MMDC_MPWLDECTRL0
   136  DATA 4 0x021B0810 0x00100010  # MMDC_MPWLDECTRL1
   137  DATA 4 0x021B083C 0x415C0160  # MMDC_MPDGCTRL0
   138  DATA 4 0x021B0840 0x00000000  # MMDC_MPDGCTRL1
   139  DATA 4 0x021B0848 0x40403C42  # MMDC_MPRDDLCTL
   140  DATA 4 0x021B0850 0x40402C26  # MMDC_MPWRDLCTL
   141  DATA 4 0x021B081C 0x33333333  # MMDC_MPRDDQBY0DL
   142  DATA 4 0x021B0820 0x33333333  # MMDC_MPRDDQBY1DL
   143  DATA 4 0x021B082C 0xf3333333  # MMDC_MPWRDQBY0DL
   144  DATA 4 0x021B0830 0xf3333333  # MMDC_MPWRDQBY1DL
   145  DATA 4 0x021B08C0 0x00921012  # MMDC_MPDCCR
   146  DATA 4 0x021B08B8 0x00000800  # MMDC_MPMUR0
   147  
   148  # JEDEC initialization sequence
   149  
   150  DATA 4 0x021B001C 0x02008032  # MMDC_MDSCR
   151  DATA 4 0x021B001C 0x00008033  # MMDC_MDSCR
   152  DATA 4 0x021B001C 0x00048031  # MMDC_MDSCR
   153  DATA 4 0x021B001C 0x15208030  # MMDC_MDSCR
   154  DATA 4 0x021B001C 0x04008040  # MMDC_MDSCR
   155  DATA 4 0x021B0004 0x0002556D  # MMDC_MDPDC
   156  DATA 4 0x021B0404 0x00011006  # MMDC_MAPSR
   157  DATA 4 0x021B0020 0x00000800  # MMDC_MDREF
   158  DATA 4 0x021B0818 0x00000227  # MMDC_MPODTCTRL
   159  DATA 4 0x021B001C 0x00000000  # MMDC_MDSCR