Mario Six | 636c108 | 2019-01-21 09:18:11 +0100 | [diff] [blame] | 1 | choice |
| 2 | prompt "SPI group" |
| 3 | |
| 4 | config SICR_SPI_SPI |
| 5 | bool "SPI" |
| 6 | |
| 7 | config SICR_SPI_MSRCID |
| 8 | bool "MSRCID" |
| 9 | |
| 10 | config SICR_SPI_LSRCID |
| 11 | bool "LSRCID" |
| 12 | |
| 13 | endchoice |
| 14 | |
| 15 | choice |
| 16 | prompt "UART group" |
| 17 | |
| 18 | config SICR_UART_SPI |
| 19 | bool "UART" |
| 20 | |
| 21 | config SICR_UART_MSRCID |
| 22 | bool "MSRCID" |
| 23 | |
| 24 | config SICR_UART_LSRCID |
| 25 | bool "LSRCID" |
| 26 | |
| 27 | endchoice |
| 28 | |
| 29 | choice |
| 30 | prompt "IRQ group" |
| 31 | |
| 32 | config SICR_IRQ_SPI |
| 33 | bool "IRQ" |
| 34 | |
| 35 | config SICR_IRQ_MCP_CKSTOP |
| 36 | bool "MCP/CKSTOP" |
| 37 | |
| 38 | config SICR_IRQ_INTA |
| 39 | bool "INTA" |
| 40 | |
| 41 | endchoice |
| 42 | |
| 43 | choice |
| 44 | prompt "I2C2 group" |
| 45 | |
| 46 | config SICR_I2C2_I2C |
| 47 | bool "IRQ" |
| 48 | |
| 49 | config SICR_I2C2_CKSTOP |
| 50 | bool "CKSTOP" |
| 51 | |
| 52 | endchoice |
| 53 | |
| 54 | choice |
| 55 | prompt "ETSEC1 A group" |
| 56 | |
| 57 | config SICR_ETSEC1_A_TSEC2 |
| 58 | bool "TSEC1" |
| 59 | |
| 60 | config SICR_ETSEC1_A_TSEC_GTX_CLK125 |
| 61 | bool "TSEC1 GTX_CLK125" |
| 62 | |
| 63 | endchoice |
| 64 | |
| 65 | choice |
| 66 | prompt "eSDHC A group" |
| 67 | |
| 68 | config SICR_ESDHC_A_SD |
| 69 | bool "SD" |
| 70 | |
| 71 | config SICR_ESDHC_A_GTM |
| 72 | bool "GTM" |
| 73 | |
| 74 | config SICR_ESDHC_A_GPIO |
| 75 | bool "GPIO" |
| 76 | |
| 77 | endchoice |
| 78 | |
| 79 | choice |
| 80 | prompt "eSDHC B group" |
| 81 | |
| 82 | config SICR_ESDHC_B_SD |
| 83 | bool "SD" |
| 84 | |
| 85 | config SICR_ESDHC_B_GTM |
| 86 | bool "GTM" |
| 87 | |
| 88 | config SICR_ESDHC_B_GPIO |
| 89 | bool "GPIO" |
| 90 | |
| 91 | endchoice |
| 92 | |
| 93 | choice |
| 94 | prompt "eSDHC C group" |
| 95 | |
| 96 | config SICR_ESDHC_C_SD |
| 97 | bool "SD" |
| 98 | |
| 99 | config SICR_ESDHC_C_GTM |
| 100 | bool "GTM" |
| 101 | |
| 102 | config SICR_ESDHC_C_GPIO |
| 103 | bool "GPIO" |
| 104 | |
| 105 | endchoice |
| 106 | |
| 107 | choice |
| 108 | prompt "GPIO A group" |
| 109 | |
| 110 | config SICR_GPIO_A_GPIO |
| 111 | bool "GPIO" |
| 112 | |
| 113 | config SICR_GPIO_A_TSEC2 |
| 114 | bool "TSEC2" |
| 115 | |
| 116 | endchoice |
| 117 | |
| 118 | choice |
| 119 | prompt "GPIO B group" |
| 120 | |
| 121 | config SICR_GPIO_B_GPIO |
| 122 | bool "GPIO" |
| 123 | |
| 124 | config SICR_GPIO_B_TSEC2 |
| 125 | bool "TSEC2" |
| 126 | |
| 127 | config SICR_GPIO_B_TSEC_GTX_CLK125 |
| 128 | bool "TSEC2 GTX_CLK125" |
| 129 | |
| 130 | endchoice |
| 131 | |
| 132 | choice |
| 133 | prompt "IEEE1588 A group" |
| 134 | |
| 135 | config SICR_IEEE1588_A_TSEC |
| 136 | bool "TSEC" |
| 137 | |
| 138 | config SICR_IEEE1588_A_GPIO |
| 139 | bool "GPIO" |
| 140 | |
| 141 | endchoice |
| 142 | |
| 143 | choice |
| 144 | prompt "USB group" |
| 145 | |
| 146 | config SICR_USB_TSEC |
| 147 | bool "USB" |
| 148 | |
| 149 | endchoice |
| 150 | |
| 151 | choice |
| 152 | prompt "GTM group" |
| 153 | |
| 154 | config SICR_GTM_TSEC |
| 155 | bool "GTM" |
| 156 | |
| 157 | config SICR_GTM_GPIO |
| 158 | bool "GPIO" |
| 159 | |
| 160 | endchoice |
| 161 | |
| 162 | choice |
| 163 | prompt "IEEE1588 B group" |
| 164 | |
| 165 | config SICR_IEEE1588_B_GPIO |
| 166 | bool "GPIO" |
| 167 | |
| 168 | endchoice |
| 169 | |
| 170 | choice |
| 171 | prompt "ETSEC2 group" |
| 172 | |
| 173 | config SICR_ETSEC2_TSEC2 |
| 174 | bool "TSEC2" |
| 175 | |
| 176 | config SICR_ETSEC2_GPIO |
| 177 | bool "GPIO" |
| 178 | |
| 179 | endchoice |
| 180 | |
| 181 | choice |
| 182 | prompt "GPIO selection" |
| 183 | |
| 184 | config SICR_GPIOSEL_GPIO |
| 185 | bool "GPIO_A, GPIO_B" |
| 186 | |
| 187 | config SICR_GPIOSEL_IEEE1588 |
| 188 | bool "IEEE1588_A, IEEE1588_B, ETSEC2" |
| 189 | |
| 190 | endchoice |
| 191 | |
| 192 | choice |
| 193 | prompt "IEEE1588 timer output buffer impedance" |
| 194 | |
| 195 | config SICR_TMROBI_3_3_V |
| 196 | bool "40 Ohm, 3.3V" |
| 197 | |
| 198 | config SICR_TMROBI_2_5_V |
| 199 | bool "40 Ohm, 2.5V" |
| 200 | |
| 201 | endchoice |
| 202 | |
| 203 | choice |
| 204 | prompt "TSEC1 output buffer impedance" |
| 205 | |
| 206 | config SICR_TMSOBI1_3_3_V |
| 207 | bool "40 Ohm, 3.3V" |
| 208 | |
| 209 | config SICR_TMSOBI1_2_5_V |
| 210 | bool "40 Ohm, 2.5V" |
| 211 | |
| 212 | endchoice |
| 213 | |
| 214 | choice |
| 215 | prompt "TSEC2 output buffer impedance" |
| 216 | |
| 217 | config SICR_TMSOBI2_3_3_V |
| 218 | bool "40 Ohm, 3.3V" |
| 219 | |
| 220 | config SICR_TMSOBI2_2_5_V |
| 221 | bool "40 Ohm, 2.5V" |
| 222 | |
| 223 | endchoice |
| 224 | |
| 225 | config SICRL_SPI |
| 226 | hex |
| 227 | default 0x0 if SICR_SPI_SPI |
| 228 | default 0x10000000 if SICR_SPI_MSRCID |
| 229 | default 0x30000000 if SICR_SPI_LSRCID |
| 230 | |
| 231 | config SICRL_UART |
| 232 | hex |
| 233 | default 0x0 if SICR_UART_SPI |
| 234 | default 0x4000000 if SICR_UART_MSRCID |
| 235 | default 0xc000000 if SICR_UART_LSRCID |
| 236 | |
| 237 | config SICRL_IRQ |
| 238 | hex |
| 239 | default 0x0 if SICR_IRQ_SPI |
| 240 | default 0x1000000 if SICR_IRQ_MCP_CKSTOP |
| 241 | default 0x3000000 if SICR_IRQ_INTA |
| 242 | |
| 243 | config SICRL_I2C2 |
| 244 | hex |
| 245 | default 0x0 if SICR_I2C2_I2C |
| 246 | default 0x100000 if SICR_I2C2_CKSTOP |
| 247 | |
| 248 | config SICRL_ETSEC1_A |
| 249 | hex |
| 250 | default 0x0 if SICR_ETSEC1_A_TSEC2 |
| 251 | default 0x40 if SICR_ETSEC1_A_TSEC_GTX_CLK125 |
| 252 | |
| 253 | config SICRH_ESDHC_A |
| 254 | hex |
| 255 | default 0x0 if SICR_ESDHC_A_SD |
| 256 | default 0x40000000 if SICR_ESDHC_A_GTM |
| 257 | default 0xc0000000 if SICR_ESDHC_A_GPIO |
| 258 | |
| 259 | config SICRH_ESDHC_B |
| 260 | hex |
| 261 | default 0x0 if SICR_ESDHC_B_SD |
| 262 | default 0x10000000 if SICR_ESDHC_B_GTM |
| 263 | default 0x30000000 if SICR_ESDHC_B_GPIO |
| 264 | |
| 265 | config SICRH_ESDHC_C |
| 266 | hex |
| 267 | default 0x0 if SICR_ESDHC_C_SD |
| 268 | default 0x4000000 if SICR_ESDHC_C_GTM |
| 269 | default 0xc000000 if SICR_ESDHC_C_GPIO |
| 270 | |
| 271 | config SICRH_GPIO_A |
| 272 | hex |
| 273 | default 0x0 if SICR_GPIO_A_GPIO |
| 274 | default 0x1000000 if SICR_GPIO_A_TSEC2 |
| 275 | |
| 276 | config SICRH_GPIO_B |
| 277 | hex |
| 278 | default 0x0 if SICR_GPIO_B_GPIO |
| 279 | default 0x400000 if SICR_GPIO_B_TSEC2 |
| 280 | default 0x800000 if SICR_GPIO_B_TSEC_GTX_CLK125 |
| 281 | |
| 282 | config SICRH_IEEE1588_A |
| 283 | hex |
| 284 | default 0x100000 if SICR_IEEE1588_A_TSEC |
| 285 | default 0x300000 if SICR_IEEE1588_A_GPIO |
| 286 | |
| 287 | config SICRH_USB |
| 288 | hex |
| 289 | default 0x40000 if SICR_USB_TSEC |
| 290 | |
| 291 | config SICRH_GTM |
| 292 | hex |
| 293 | default 0x10000 if SICR_GTM_TSEC |
| 294 | default 0x30000 if SICR_GTM_GPIO |
| 295 | |
| 296 | config SICRH_IEEE1588_B |
| 297 | hex |
| 298 | default 0xc000 if SICR_IEEE1588_B_GPIO |
| 299 | |
| 300 | config SICRH_ETSEC2 |
| 301 | hex |
| 302 | default 0x1000 if SICR_ETSEC2_TSEC2 |
| 303 | default 0x3000 if SICR_ETSEC2_GPIO |
| 304 | |
| 305 | config SICRH_GPIOSEL |
| 306 | hex |
| 307 | default 0x0 if SICR_GPIOSEL_GPIO |
| 308 | default 0x100 if SICR_GPIOSEL_IEEE1588 |
| 309 | |
| 310 | config SICRH_TMROBI |
| 311 | hex |
| 312 | default 0x0 if SICR_TMROBI_3_3_V |
| 313 | default 0x10 if SICR_TMROBI_2_5_V |
| 314 | |
| 315 | config SICRH_TMSOBI1 |
| 316 | hex |
| 317 | default 0x0 if SICR_TMSOBI1_3_3_V |
| 318 | default 0x2 if SICR_TMSOBI1_2_5_V |
| 319 | |
| 320 | config SICRH_TMSOBI2 |
| 321 | hex |
| 322 | default 0x0 if SICR_TMSOBI2_3_3_V |
| 323 | default 0x1 if SICR_TMSOBI2_2_5_V |