1# Copyright (c) 2016 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4config HAS_NRFX 5 bool 6 7menu "nrfx drivers" 8 depends on HAS_NRFX 9 10rsource "Kconfig.logging" 11 12config NRFX_ADC 13 bool "ADC driver" 14 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_ADC)) 15 16config NRFX_CLOCK 17 bool "CLOCK driver" 18 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_CLOCK)) 19 20config NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED 21 bool "Two stage start sequence of the low frequency clock" 22 depends on NRFX_CLOCK 23 24config NRFX_COMP 25 bool "COMP driver" 26 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_COMP)) 27 28config NRFX_DPPI 29 bool "DPPI allocator" 30 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_DPPIC)) 31 32config NRFX_EGU 33 bool 34 35config NRFX_EGU0 36 bool "EGU0 driver instance" 37 depends on $(dt_nodelabel_has_compat,egu0,$(DT_COMPAT_NORDIC_NRF_EGU)) 38 select NRFX_EGU 39 40config NRFX_EGU1 41 bool "EGU1 driver instance" 42 depends on $(dt_nodelabel_has_compat,egu1,$(DT_COMPAT_NORDIC_NRF_EGU)) 43 select NRFX_EGU 44 45config NRFX_EGU2 46 bool "EGU2 driver instance" 47 depends on $(dt_nodelabel_has_compat,egu2,$(DT_COMPAT_NORDIC_NRF_EGU)) 48 select NRFX_EGU 49 50config NRFX_EGU3 51 bool "EGU3 driver instance" 52 depends on $(dt_nodelabel_has_compat,egu3,$(DT_COMPAT_NORDIC_NRF_EGU)) 53 select NRFX_EGU 54 55config NRFX_EGU4 56 bool "EGU4 driver instance" 57 depends on $(dt_nodelabel_has_compat,egu4,$(DT_COMPAT_NORDIC_NRF_EGU)) 58 select NRFX_EGU 59 60config NRFX_EGU5 61 bool "EGU5 driver instance" 62 depends on $(dt_nodelabel_has_compat,egu5,$(DT_COMPAT_NORDIC_NRF_EGU)) 63 select NRFX_EGU 64 65config NRFX_GPIOTE 66 bool 67 68config NRFX_GPIOTE0 69 bool "GPIOTE0 driver instance" 70 depends on $(dt_nodelabel_has_compat,gpiote0,$(DT_COMPAT_NORDIC_NRF_GPIOTE)) 71 select NRFX_GPIOTE 72 73config NRFX_GPIOTE1 74 bool "GPIOTE1 driver instance" 75 depends on $(dt_nodelabel_has_compat,gpiote1,$(DT_COMPAT_NORDIC_NRF_GPIOTE)) 76 select NRFX_GPIOTE 77 78config NRFX_GPIOTE20 79 bool "NRFX_GPIOTE20 driver instance" 80 depends on $(dt_nodelabel_has_compat,gpiote20,$(DT_COMPAT_NORDIC_NRF_GPIOTE)) 81 select NRFX_GPIOTE 82 83config NRFX_GPIOTE30 84 bool "NRFX_GPIOTE30 driver instance" 85 depends on $(dt_nodelabel_has_compat,gpiote30,$(DT_COMPAT_NORDIC_NRF_GPIOTE)) 86 select NRFX_GPIOTE 87 88config NRFX_GPIOTE130 89 bool "NRFX_GPIOTE130 driver instance" 90 depends on $(dt_nodelabel_has_compat,gpiote130,$(DT_COMPAT_NORDIC_NRF_GPIOTE)) 91 select NRFX_GPIOTE 92 93config NRFX_GPIOTE131 94 bool "NRFX_GPIOTE131 driver instance" 95 depends on $(dt_nodelabel_has_compat,gpiote131,$(DT_COMPAT_NORDIC_NRF_GPIOTE)) 96 select NRFX_GPIOTE 97 98config NRFX_GPIOTE_NUM_OF_EVT_HANDLERS 99 int "Number of event handlers" 100 depends on NRFX_GPIOTE 101 range 1 15 102 help 103 Specifies number of handlers that can be registered to nrfx_gpiote driver 104 by the user. 105 106config NRFX_GRTC 107 bool "GRTC driver" 108 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_GRTC)) 109 110config NRFX_I2S 111 bool 112 113config NRFX_I2S0 114 bool "I2S0 driver instance" 115 depends on $(dt_nodelabel_has_compat,i2s0,$(DT_COMPAT_NORDIC_NRF_I2S)) 116 select NRFX_I2S 117 118config NRFX_I2S20 119 bool "I2S20 driver instance" 120 depends on $(dt_nodelabel_has_compat,i2s20,$(DT_COMPAT_NORDIC_NRF_I2S)) 121 select NRFX_I2S 122 123config NRFX_IPC 124 bool "IPC driver" 125 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_IPC)) 126 127config NRFX_LPCOMP 128 bool "LPCOMP driver" 129 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_LPCOMP)) 130 131config NRFX_NFCT 132 bool "NFCT driver" 133 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_NFCT)) 134 select NRFX_TIMER4 if SOC_SERIES_NRF52X 135 select NRFX_TIMER2 if SOC_SERIES_NRF53X 136 137config NRFX_NVMC 138 bool "NVMC driver" 139 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF51_FLASH_CONTROLLER)) \ 140 || $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF52_FLASH_CONTROLLER)) \ 141 || $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF53_FLASH_CONTROLLER)) \ 142 || $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF91_FLASH_CONTROLLER)) 143 144config NRFX_PDM 145 bool "PDM driver" 146 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_PDM)) 147 148config NRFX_POWER 149 bool "POWER driver" 150 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_POWER)) 151 # On SoCs featuring the USBREG peripheral, the POWER driver uses 152 # internally the USBREG driver. 153 select NRFX_USBREG if $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_USBREG)) 154 155config NRFX_PPI 156 bool "PPI allocator" 157 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_PPI)) 158 159config NRFX_PWM 160 bool 161 162config NRFX_PWM0 163 bool "PWM0 driver instance" 164 depends on $(dt_nodelabel_has_compat,pwm0,$(DT_COMPAT_NORDIC_NRF_PWM)) 165 select NRFX_PWM 166 167config NRFX_PWM1 168 bool "PWM1 driver instance" 169 depends on $(dt_nodelabel_has_compat,pwm1,$(DT_COMPAT_NORDIC_NRF_PWM)) 170 select NRFX_PWM 171 172config NRFX_PWM2 173 bool "PWM2 driver instance" 174 depends on $(dt_nodelabel_has_compat,pwm2,$(DT_COMPAT_NORDIC_NRF_PWM)) 175 select NRFX_PWM 176 177config NRFX_PWM3 178 bool "PWM3 driver instance" 179 depends on $(dt_nodelabel_has_compat,pwm3,$(DT_COMPAT_NORDIC_NRF_PWM)) 180 select NRFX_PWM 181 182config NRFX_QDEC 183 bool 184 185config NRFX_QDEC0 186 bool "QDEC0 driver instance" 187 depends on $(dt_nodelabel_has_compat,qdec0,$(DT_COMPAT_NORDIC_NRF_QDEC)) 188 select NRFX_QDEC 189 190config NRFX_QDEC1 191 bool "QDEC1 driver instance" 192 depends on $(dt_nodelabel_has_compat,qdec1,$(DT_COMPAT_NORDIC_NRF_QDEC)) 193 select NRFX_QDEC 194 195config NRFX_QDEC20 196 bool "QDEC20 driver instance" 197 depends on $(dt_nodelabel_has_compat,qdec20,$(DT_COMPAT_NORDIC_NRF_QDEC)) 198 select NRFX_QDEC 199 200config NRFX_QDEC21 201 bool "QDEC21 driver instance" 202 depends on $(dt_nodelabel_has_compat,qdec21,$(DT_COMPAT_NORDIC_NRF_QDEC)) 203 select NRFX_QDEC 204 205config NRFX_QDEC130 206 bool "QDEC130 driver instance" 207 depends on $(dt_nodelabel_has_compat,qdec130,$(DT_COMPAT_NORDIC_NRF_QDEC)) 208 select NRFX_QDEC 209 210config NRFX_QDEC131 211 bool "QDEC131 driver instance" 212 depends on $(dt_nodelabel_has_compat,qdec131,$(DT_COMPAT_NORDIC_NRF_QDEC)) 213 select NRFX_QDEC 214 215config NRFX_QSPI 216 bool "QSPI driver" 217 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_QSPI)) 218 219config NRFX_RNG 220 bool "RNG driver" 221 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_RNG)) 222 223config NRFX_RTC 224 bool 225 226config NRFX_RTC0 227 bool "RTC0 driver instance" 228 depends on $(dt_nodelabel_has_compat,rtc0,$(DT_COMPAT_NORDIC_NRF_RTC)) 229 select NRFX_RTC 230 231config NRFX_RTC1 232 bool "RTC1 driver instance" 233 depends on $(dt_nodelabel_has_compat,rtc1,$(DT_COMPAT_NORDIC_NRF_RTC)) 234 select NRFX_RTC 235 236config NRFX_RTC2 237 bool "RTC2 driver instance" 238 depends on $(dt_nodelabel_has_compat,rtc2,$(DT_COMPAT_NORDIC_NRF_RTC)) 239 select NRFX_RTC 240 241config NRFX_SAADC 242 bool "SAADC driver" 243 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SAADC)) 244 245config NRFX_SPI 246 bool 247 248config NRFX_SPI0 249 bool "SPI0 driver instance" 250 depends on $(dt_nodelabel_has_compat,spi0,$(DT_COMPAT_NORDIC_NRF_SPI)) 251 select NRFX_SPI 252 253config NRFX_SPI1 254 bool "SPI1 driver instance" 255 depends on $(dt_nodelabel_has_compat,spi1,$(DT_COMPAT_NORDIC_NRF_SPI)) 256 select NRFX_SPI 257 258config NRFX_SPI2 259 bool "SPI2 driver instance" 260 depends on $(dt_nodelabel_has_compat,spi2,$(DT_COMPAT_NORDIC_NRF_SPI)) 261 select NRFX_SPI 262 263config NRFX_SPIM 264 bool 265 266config NRFX_SPIM0 267 bool "SPIM0 driver instance" 268 depends on $(dt_nodelabel_has_compat,spi0,$(DT_COMPAT_NORDIC_NRF_SPIM)) 269 select NRFX_SPIM 270 271config NRFX_SPIM1 272 bool "SPIM1 driver instance" 273 depends on $(dt_nodelabel_has_compat,spi1,$(DT_COMPAT_NORDIC_NRF_SPIM)) 274 select NRFX_SPIM 275 276config NRFX_SPIM2 277 bool "SPIM2 driver instance" 278 depends on $(dt_nodelabel_has_compat,spi2,$(DT_COMPAT_NORDIC_NRF_SPIM)) 279 select NRFX_SPIM 280 281config NRFX_SPIM3 282 bool "SPIM3 driver instance" 283 depends on $(dt_nodelabel_has_compat,spi3,$(DT_COMPAT_NORDIC_NRF_SPIM)) 284 select NRFX_SPIM 285 286config NRFX_SPIM4 287 bool "SPIM4 driver instance" 288 depends on $(dt_nodelabel_has_compat,spi4,$(DT_COMPAT_NORDIC_NRF_SPIM)) 289 select NRFX_SPIM 290 291config NRFX_SPIM00 292 bool "SPIM00 driver instance" 293 depends on $(dt_nodelabel_has_compat,spi00,$(DT_COMPAT_NORDIC_NRF_SPIM)) 294 select NRFX_SPIM 295 296config NRFX_SPIM20 297 bool "SPIM20 driver instance" 298 depends on $(dt_nodelabel_has_compat,spi20,$(DT_COMPAT_NORDIC_NRF_SPIM)) 299 select NRFX_SPIM 300 301config NRFX_SPIM21 302 bool "SPIM21 driver instance" 303 depends on $(dt_nodelabel_has_compat,spi21,$(DT_COMPAT_NORDIC_NRF_SPIM)) 304 select NRFX_SPIM 305 306config NRFX_SPIM22 307 bool "SPIM22 driver instance" 308 depends on $(dt_nodelabel_has_compat,spi22,$(DT_COMPAT_NORDIC_NRF_SPIM)) 309 select NRFX_SPIM 310 311config NRFX_SPIM30 312 bool "SPIM30 driver instance" 313 depends on $(dt_nodelabel_has_compat,spi30,$(DT_COMPAT_NORDIC_NRF_SPIM)) 314 select NRFX_SPIM 315 316config NRFX_SPIM120 317 bool "SPIM120 driver instance" 318 depends on $(dt_nodelabel_has_compat,spi120,$(DT_COMPAT_NORDIC_NRF_SPIM)) 319 select NRFX_SPIM 320 321config NRFX_SPIM121 322 bool "SPIM121 driver instance" 323 depends on $(dt_nodelabel_has_compat,spi121,$(DT_COMPAT_NORDIC_NRF_SPIM)) 324 select NRFX_SPIM 325 326config NRFX_SPIM130 327 bool "SPIM130 driver instance" 328 depends on $(dt_nodelabel_has_compat,spi130,$(DT_COMPAT_NORDIC_NRF_SPIM)) 329 select NRFX_SPIM 330 331config NRFX_SPIM131 332 bool "SPIM131 driver instance" 333 depends on $(dt_nodelabel_has_compat,spi131,$(DT_COMPAT_NORDIC_NRF_SPIM)) 334 select NRFX_SPIM 335 336config NRFX_SPIM132 337 bool "SPIM132 driver instance" 338 depends on $(dt_nodelabel_has_compat,spi132,$(DT_COMPAT_NORDIC_NRF_SPIM)) 339 select NRFX_SPIM 340 341config NRFX_SPIM133 342 bool "SPIM133 driver instance" 343 depends on $(dt_nodelabel_has_compat,spi133,$(DT_COMPAT_NORDIC_NRF_SPIM)) 344 select NRFX_SPIM 345 346config NRFX_SPIM134 347 bool "SPIM134 driver instance" 348 depends on $(dt_nodelabel_has_compat,spi134,$(DT_COMPAT_NORDIC_NRF_SPIM)) 349 select NRFX_SPIM 350 351config NRFX_SPIM135 352 bool "SPIM135 driver instance" 353 depends on $(dt_nodelabel_has_compat,spi135,$(DT_COMPAT_NORDIC_NRF_SPIM)) 354 select NRFX_SPIM 355 356config NRFX_SPIM136 357 bool "SPIM136 driver instance" 358 depends on $(dt_nodelabel_has_compat,spi136,$(DT_COMPAT_NORDIC_NRF_SPIM)) 359 select NRFX_SPIM 360 361config NRFX_SPIM137 362 bool "SPIM137 driver instance" 363 depends on $(dt_nodelabel_has_compat,spi137,$(DT_COMPAT_NORDIC_NRF_SPIM)) 364 select NRFX_SPIM 365 366config NRFX_SPIS 367 bool 368 369config NRFX_SPIS0 370 bool "SPIS0 driver instance" 371 depends on $(dt_nodelabel_has_compat,spi0,$(DT_COMPAT_NORDIC_NRF_SPIS)) 372 select NRFX_SPIS 373 374config NRFX_SPIS1 375 bool "SPIS1 driver instance" 376 depends on $(dt_nodelabel_has_compat,spi1,$(DT_COMPAT_NORDIC_NRF_SPIS)) 377 select NRFX_SPIS 378 379config NRFX_SPIS2 380 bool "SPIS2 driver instance" 381 depends on $(dt_nodelabel_has_compat,spi2,$(DT_COMPAT_NORDIC_NRF_SPIS)) 382 select NRFX_SPIS 383 384config NRFX_SPIS3 385 bool "SPIS3 driver instance" 386 depends on $(dt_nodelabel_has_compat,spi3,$(DT_COMPAT_NORDIC_NRF_SPIS)) 387 select NRFX_SPIS 388 389config NRFX_SYSTICK 390 bool "SYSTICK driver" 391 depends on CPU_CORTEX_M_HAS_SYSTICK 392 393config NRFX_TEMP 394 bool "TEMP driver" 395 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_TEMP)) 396 397config NRFX_TIMER 398 bool 399 400config NRFX_TIMER0 401 bool "TIMER0 driver instance" 402 depends on $(dt_nodelabel_has_compat,timer0,$(DT_COMPAT_NORDIC_NRF_TIMER)) 403 select NRFX_TIMER 404 405config NRFX_TIMER1 406 bool "TIMER1 driver instance" 407 depends on $(dt_nodelabel_has_compat,timer1,$(DT_COMPAT_NORDIC_NRF_TIMER)) 408 select NRFX_TIMER 409 410config NRFX_TIMER2 411 bool "TIMER2 driver instance" 412 depends on $(dt_nodelabel_has_compat,timer2,$(DT_COMPAT_NORDIC_NRF_TIMER)) 413 select NRFX_TIMER 414 415config NRFX_TIMER3 416 bool "TIMER3 driver instance" 417 depends on $(dt_nodelabel_has_compat,timer3,$(DT_COMPAT_NORDIC_NRF_TIMER)) 418 select NRFX_TIMER 419 420config NRFX_TIMER4 421 bool "TIMER4 driver instance" 422 depends on $(dt_nodelabel_has_compat,timer4,$(DT_COMPAT_NORDIC_NRF_TIMER)) 423 select NRFX_TIMER 424 425config NRFX_TIMER00 426 bool "TIMER00 driver instance" 427 depends on $(dt_nodelabel_has_compat,timer00,$(DT_COMPAT_NORDIC_NRF_TIMER)) 428 select NRFX_TIMER 429 430config NRFX_TIMER10 431 bool "TIMER10 driver instance" 432 depends on $(dt_nodelabel_has_compat,timer10,$(DT_COMPAT_NORDIC_NRF_TIMER)) 433 select NRFX_TIMER 434 435config NRFX_TIMER20 436 bool "TIMER20 driver instance" 437 depends on $(dt_nodelabel_has_compat,timer20,$(DT_COMPAT_NORDIC_NRF_TIMER)) 438 select NRFX_TIMER 439 440config NRFX_TIMER21 441 bool "TIMER21 driver instance" 442 depends on $(dt_nodelabel_has_compat,timer21,$(DT_COMPAT_NORDIC_NRF_TIMER)) 443 select NRFX_TIMER 444 445config NRFX_TIMER22 446 bool "TIMER22 driver instance" 447 depends on $(dt_nodelabel_has_compat,timer22,$(DT_COMPAT_NORDIC_NRF_TIMER)) 448 select NRFX_TIMER 449 450config NRFX_TIMER23 451 bool "TIMER23 driver instance" 452 depends on $(dt_nodelabel_has_compat,timer23,$(DT_COMPAT_NORDIC_NRF_TIMER)) 453 select NRFX_TIMER 454 455config NRFX_TIMER24 456 bool "TIMER24 driver instance" 457 depends on $(dt_nodelabel_has_compat,timer24,$(DT_COMPAT_NORDIC_NRF_TIMER)) 458 select NRFX_TIMER 459 460config NRFX_TWI 461 bool 462 463config NRFX_TWI0 464 bool "TWI0 driver instance" 465 depends on $(dt_nodelabel_has_compat,i2c0,$(DT_COMPAT_NORDIC_NRF_TWI)) 466 select NRFX_TWI 467 468config NRFX_TWI1 469 bool "TWI1 driver instance" 470 depends on $(dt_nodelabel_has_compat,i2c1,$(DT_COMPAT_NORDIC_NRF_TWI)) 471 select NRFX_TWI 472 473config NRFX_TWIM 474 bool 475 476config NRFX_TWIM0 477 bool "TWIM0 driver instance" 478 depends on $(dt_nodelabel_has_compat,i2c0,$(DT_COMPAT_NORDIC_NRF_TWIM)) 479 select NRFX_TWIM 480 481config NRFX_TWIM1 482 bool "TWIM1 driver instance" 483 depends on $(dt_nodelabel_has_compat,i2c1,$(DT_COMPAT_NORDIC_NRF_TWIM)) 484 select NRFX_TWIM 485 486config NRFX_TWIM2 487 bool "TWIM2 driver instance" 488 depends on $(dt_nodelabel_has_compat,i2c2,$(DT_COMPAT_NORDIC_NRF_TWIM)) 489 select NRFX_TWIM 490 491config NRFX_TWIM3 492 bool "TWIM3 driver instance" 493 depends on $(dt_nodelabel_has_compat,i2c3,$(DT_COMPAT_NORDIC_NRF_TWIM)) 494 select NRFX_TWIM 495 496config NRFX_TWIM20 497 bool "TWIM20 driver instance" 498 depends on $(dt_nodelabel_has_compat,i2c20,$(DT_COMPAT_NORDIC_NRF_TWIM)) 499 select NRFX_TWIM 500 501config NRFX_TWIM21 502 bool "TWIM21 driver instance" 503 depends on $(dt_nodelabel_has_compat,i2c21,$(DT_COMPAT_NORDIC_NRF_TWIM)) 504 select NRFX_TWIM 505 506config NRFX_TWIM22 507 bool "TWIM22 driver instance" 508 depends on $(dt_nodelabel_has_compat,i2c22,$(DT_COMPAT_NORDIC_NRF_TWIM)) 509 select NRFX_TWIM 510 511config NRFX_TWIM30 512 bool "TWIM30 driver instance" 513 depends on $(dt_nodelabel_has_compat,i2c30,$(DT_COMPAT_NORDIC_NRF_TWIM)) 514 select NRFX_TWIM 515 516config NRFX_TWIM120 517 bool "TWIM120 driver instance" 518 depends on $(dt_nodelabel_has_compat,i2c120,$(DT_COMPAT_NORDIC_NRF_TWIM)) 519 select NRFX_TWIM 520 521config NRFX_TWIM130 522 bool "TWIM130 driver instance" 523 depends on $(dt_nodelabel_has_compat,i2c130,$(DT_COMPAT_NORDIC_NRF_TWIM)) 524 select NRFX_TWIM 525 526config NRFX_TWIM131 527 bool "TWIM131 driver instance" 528 depends on $(dt_nodelabel_has_compat,i2c131,$(DT_COMPAT_NORDIC_NRF_TWIM)) 529 select NRFX_TWIM 530 531config NRFX_TWIM132 532 bool "TWIM132 driver instance" 533 depends on $(dt_nodelabel_has_compat,i2c132,$(DT_COMPAT_NORDIC_NRF_TWIM)) 534 select NRFX_TWIM 535 536config NRFX_TWIM133 537 bool "TWIM133 driver instance" 538 depends on $(dt_nodelabel_has_compat,i2c133,$(DT_COMPAT_NORDIC_NRF_TWIM)) 539 select NRFX_TWIM 540 541config NRFX_TWIM134 542 bool "TWIM134 driver instance" 543 depends on $(dt_nodelabel_has_compat,i2c134,$(DT_COMPAT_NORDIC_NRF_TWIM)) 544 select NRFX_TWIM 545 546config NRFX_TWIM135 547 bool "TWIM135 driver instance" 548 depends on $(dt_nodelabel_has_compat,i2c135,$(DT_COMPAT_NORDIC_NRF_TWIM)) 549 select NRFX_TWIM 550 551config NRFX_TWIM136 552 bool "TWIM136 driver instance" 553 depends on $(dt_nodelabel_has_compat,i2c136,$(DT_COMPAT_NORDIC_NRF_TWIM)) 554 select NRFX_TWIM 555 556config NRFX_TWIM137 557 bool "TWIM137 driver instance" 558 depends on $(dt_nodelabel_has_compat,i2c137,$(DT_COMPAT_NORDIC_NRF_TWIM)) 559 select NRFX_TWIM 560 561config NRFX_TWIS 562 bool 563 564config NRFX_TWIS0 565 bool "TWIS0 driver instance" 566 depends on $(dt_nodelabel_has_compat,i2c0,$(DT_COMPAT_NORDIC_NRF_TWIS)) 567 select NRFX_TWIS 568 569config NRFX_TWIS1 570 bool "TWIS1 driver instance" 571 depends on $(dt_nodelabel_has_compat,i2c1,$(DT_COMPAT_NORDIC_NRF_TWIS)) 572 select NRFX_TWIS 573 574config NRFX_TWIS2 575 bool "TWIS2 driver instance" 576 depends on $(dt_nodelabel_has_compat,i2c2,$(DT_COMPAT_NORDIC_NRF_TWIS)) 577 select NRFX_TWIS 578 579config NRFX_TWIS3 580 bool "TWIS3 driver instance" 581 depends on $(dt_nodelabel_has_compat,i2c3,$(DT_COMPAT_NORDIC_NRF_TWIS)) 582 select NRFX_TWIS 583 584config NRFX_UART 585 bool 586 587config NRFX_UART0 588 bool "UART0 driver instance" 589 depends on $(dt_nodelabel_has_compat,uart0,$(DT_COMPAT_NORDIC_NRF_UART)) 590 select NRFX_UART 591 592config NRFX_UARTE 593 bool 594 595config NRFX_UARTE0 596 bool "UARTE0 driver instance" 597 depends on $(dt_nodelabel_has_compat,uart0,$(DT_COMPAT_NORDIC_NRF_UARTE)) 598 select NRFX_UARTE 599 600config NRFX_UARTE1 601 bool "UARTE1 driver instance" 602 depends on $(dt_nodelabel_has_compat,uart1,$(DT_COMPAT_NORDIC_NRF_UARTE)) 603 select NRFX_UARTE 604 605config NRFX_UARTE2 606 bool "UARTE2 driver instance" 607 depends on $(dt_nodelabel_has_compat,uart2,$(DT_COMPAT_NORDIC_NRF_UARTE)) 608 select NRFX_UARTE 609 610config NRFX_UARTE3 611 bool "UARTE3 driver instance" 612 depends on $(dt_nodelabel_has_compat,uart3,$(DT_COMPAT_NORDIC_NRF_UARTE)) 613 select NRFX_UARTE 614 615config NRFX_UARTE00 616 bool "UARTE00 driver instance" 617 depends on $(dt_nodelabel_has_compat,uart00,$(DT_COMPAT_NORDIC_NRF_UARTE)) 618 select NRFX_UARTE 619 620config NRFX_UARTE20 621 bool "UARTE20 driver instance" 622 depends on $(dt_nodelabel_has_compat,uart20,$(DT_COMPAT_NORDIC_NRF_UARTE)) 623 select NRFX_UARTE 624 625config NRFX_UARTE21 626 bool "UARTE21 driver instance" 627 depends on $(dt_nodelabel_has_compat,uart21,$(DT_COMPAT_NORDIC_NRF_UARTE)) 628 select NRFX_UARTE 629 630config NRFX_UARTE22 631 bool "UARTE22 driver instance" 632 depends on $(dt_nodelabel_has_compat,uart22,$(DT_COMPAT_NORDIC_NRF_UARTE)) 633 select NRFX_UARTE 634 635config NRFX_UARTE30 636 bool "UARTE30 driver instance" 637 depends on $(dt_nodelabel_has_compat,uart30,$(DT_COMPAT_NORDIC_NRF_UARTE)) 638 select NRFX_UARTE 639 640config NRFX_UARTE120 641 bool "UARTE120 driver instance" 642 depends on $(dt_nodelabel_has_compat,uart120,$(DT_COMPAT_NORDIC_NRF_UARTE)) 643 select NRFX_UARTE 644 645config NRFX_UARTE130 646 bool "UARTE130 driver instance" 647 depends on $(dt_nodelabel_has_compat,uart130,$(DT_COMPAT_NORDIC_NRF_UARTE)) 648 select NRFX_UARTE 649 650config NRFX_UARTE131 651 bool "UARTE131 driver instance" 652 depends on $(dt_nodelabel_has_compat,uart131,$(DT_COMPAT_NORDIC_NRF_UARTE)) 653 select NRFX_UARTE 654 655config NRFX_UARTE132 656 bool "UARTE132 driver instance" 657 depends on $(dt_nodelabel_has_compat,uart132,$(DT_COMPAT_NORDIC_NRF_UARTE)) 658 select NRFX_UARTE 659 660config NRFX_UARTE133 661 bool "UARTE133 driver instance" 662 depends on $(dt_nodelabel_has_compat,uart133,$(DT_COMPAT_NORDIC_NRF_UARTE)) 663 select NRFX_UARTE 664 665config NRFX_UARTE134 666 bool "UARTE134 driver instance" 667 depends on $(dt_nodelabel_has_compat,uart134,$(DT_COMPAT_NORDIC_NRF_UARTE)) 668 select NRFX_UARTE 669 670config NRFX_UARTE135 671 bool "UARTE135 driver instance" 672 depends on $(dt_nodelabel_has_compat,uart135,$(DT_COMPAT_NORDIC_NRF_UARTE)) 673 select NRFX_UARTE 674 675config NRFX_UARTE136 676 bool "UARTE136 driver instance" 677 depends on $(dt_nodelabel_has_compat,uart136,$(DT_COMPAT_NORDIC_NRF_UARTE)) 678 select NRFX_UARTE 679 680config NRFX_UARTE137 681 bool "UARTE137 driver instance" 682 depends on $(dt_nodelabel_has_compat,uart137,$(DT_COMPAT_NORDIC_NRF_UARTE)) 683 select NRFX_UARTE 684 685config NRFX_UARTE_CONFIG_SKIP_GPIO_CONFIG 686 bool "UARTE GPIO configuration support" 687 depends on NRFX_UARTE 688 689config NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG 690 bool "UARTE PSEL configuration support" 691 depends on NRFX_UARTE 692 693config NRFX_UARTE_CONFIG_TX_LINK 694 bool "UARTE TX transfer linking support" 695 depends on NRFX_UARTE 696 697config NRFX_UARTE_CONFIG_RX_CACHE_ENABLED 698 bool "UARTE RX caching support" 699 default y if $(dt_nodelabel_has_compat,ram3x,$(DT_COMPAT_MMIO_SRAM)) 700 depends on NRFX_UARTE 701 help 702 Feature might be enabled on platforms which has limitations regarding addresses 703 to which receiver can write data. If enabled then internal driver buffers 704 (cache buffers) are used for DMA transfers and data is copied to the user buffer. 705 706config NRFX_USBREG 707 bool "USBREG driver" 708 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_USBREG)) 709 710config NRFX_WDT 711 bool 712 713config NRFX_WDT0 714 bool "WDT0 driver instance" 715 depends on $(dt_nodelabel_has_compat,wdt0,$(DT_COMPAT_NORDIC_NRF_WDT)) 716 select NRFX_WDT 717 718config NRFX_WDT1 719 bool "WDT1 driver instance" 720 depends on $(dt_nodelabel_has_compat,wdt1,$(DT_COMPAT_NORDIC_NRF_WDT)) 721 select NRFX_WDT 722 723config NRFX_WDT30 724 bool "WDT30 driver instance" 725 depends on $(dt_nodelabel_has_compat,wdt30,$(DT_COMPAT_NORDIC_NRF_WDT)) 726 select NRFX_WDT 727 728config NRFX_WDT31 729 bool "WDT31 driver instance" 730 depends on $(dt_nodelabel_has_compat,wdt31,$(DT_COMPAT_NORDIC_NRF_WDT)) 731 select NRFX_WDT 732 733config NRFX_WDT130 734 bool "WDT130 driver instance" 735 depends on $(dt_nodelabel_has_compat,wdt130,$(DT_COMPAT_NORDIC_NRF_WDT)) 736 select NRFX_WDT 737 738menu "Peripheral Resource Sharing module" 739 740config NRFX_PRS 741 bool 742 743config NRFX_PRS_BOX_0 744 bool "PRS box 0" 745 select NRFX_PRS 746 747config NRFX_PRS_BOX_1 748 bool "PRS box 1" 749 select NRFX_PRS 750 751config NRFX_PRS_BOX_2 752 bool "PRS box 2" 753 select NRFX_PRS 754 755config NRFX_PRS_BOX_3 756 bool "PRS box 3" 757 select NRFX_PRS 758 759config NRFX_PRS_BOX_4 760 bool "PRS box 4" 761 select NRFX_PRS 762 763endmenu 764 765endmenu # "nrfx drivers" 766