boards: arm: nrf: use UICR nfc-pins-as-gpios devicetree property

Instead of CONFIG_NFCT_PINS_AS_GPIOS (about to be deprecated).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-09-14 14:39:01 +02:00 committed by Carles Cufí
parent e43c2f3eb5
commit dd568d01b8
10 changed files with 20 additions and 7 deletions

View file

@ -143,6 +143,10 @@
status = "okay";
};
&uicr {
nfct-pins-as-gpios;
};
&gpio0 {
status = "okay";
};

View file

@ -9,7 +9,6 @@ CONFIG_ARM_MPU=y
# Enable GPIO
CONFIG_GPIO=y
CONFIG_NFCT_PINS_AS_GPIOS=y
# Enable uart driver
CONFIG_SERIAL=y

View file

@ -87,6 +87,10 @@
status = "okay";
};
&uicr {
nfct-pins-as-gpios;
};
&gpio0 {
status = "okay";
};

View file

@ -15,6 +15,5 @@ CONFIG_GPIO=y
# additional board options
CONFIG_GPIO_AS_PINRESET=y
CONFIG_NFCT_PINS_AS_GPIOS=y
CONFIG_PINCTRL=y

View file

@ -99,6 +99,10 @@
status = "okay";
};
&uicr {
nfct-pins-as-gpios;
};
&gpio0 {
status = "okay";
};

View file

@ -15,7 +15,6 @@ CONFIG_GPIO=y
# additional board options
CONFIG_GPIO_AS_PINRESET=y
CONFIG_NFCT_PINS_AS_GPIOS=y
CONFIG_PINCTRL=y

View file

@ -20,3 +20,7 @@
zephyr,sram-non-secure-partition = &sram0_ns;
};
};
&uicr {
nfct-pins-as-gpios;
};

View file

@ -12,7 +12,6 @@ CONFIG_HW_STACK_PROTECTION=y
CONFIG_ARM_TRUSTZONE_M=y
CONFIG_GPIO=y
CONFIG_NFCT_PINS_AS_GPIOS=y
CONFIG_SERIAL=y

View file

@ -87,6 +87,10 @@
status = "okay";
};
&uicr {
nfct-pins-as-gpios;
};
&gpio0 {
status = "okay";

View file

@ -13,9 +13,6 @@ CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# use P0.09 and P0.10 as GPIOs
CONFIG_NFCT_PINS_AS_GPIOS=y
# use P0.21 as RST
CONFIG_GPIO_AS_PINRESET=y