1# Copyright (c) 2018 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig GPIO_NRFX
5	bool "nRF GPIO driver"
6	default y
7	depends on DT_HAS_NORDIC_NRF_GPIO_ENABLED
8	select NRFX_GPIOTE0 if HAS_HW_NRF_GPIOTE0
9	select NRFX_GPIOTE1 if HAS_HW_NRF_GPIOTE1
10	select NRFX_GPIOTE20 if HAS_HW_NRF_GPIOTE20
11	select NRFX_GPIOTE30 if HAS_HW_NRF_GPIOTE30
12	select NRFX_GPIOTE130 if HAS_HW_NRF_GPIOTE130
13	select NRFX_GPIOTE131 if HAS_HW_NRF_GPIOTE131
14	help
15	  Enable GPIO driver for nRF line of MCUs.
16
17config GPIO_NRFX_INTERRUPT
18	bool "Interrupt support"
19	depends on GPIO_NRFX
20	default y
21	help
22	  The option can be used to disable the GPIO interrupt support to
23	  significantly reduce memory footprint in case of application that does
24	  not need GPIO interrupts.
25