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:
parent
e43c2f3eb5
commit
dd568d01b8
10 changed files with 20 additions and 7 deletions
|
@ -143,6 +143,10 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&uicr {
|
||||||
|
nfct-pins-as-gpios;
|
||||||
|
};
|
||||||
|
|
||||||
&gpio0 {
|
&gpio0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,7 +9,6 @@ CONFIG_ARM_MPU=y
|
||||||
|
|
||||||
# Enable GPIO
|
# Enable GPIO
|
||||||
CONFIG_GPIO=y
|
CONFIG_GPIO=y
|
||||||
CONFIG_NFCT_PINS_AS_GPIOS=y
|
|
||||||
|
|
||||||
# Enable uart driver
|
# Enable uart driver
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
|
|
|
@ -87,6 +87,10 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&uicr {
|
||||||
|
nfct-pins-as-gpios;
|
||||||
|
};
|
||||||
|
|
||||||
&gpio0 {
|
&gpio0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,6 +15,5 @@ CONFIG_GPIO=y
|
||||||
|
|
||||||
# additional board options
|
# additional board options
|
||||||
CONFIG_GPIO_AS_PINRESET=y
|
CONFIG_GPIO_AS_PINRESET=y
|
||||||
CONFIG_NFCT_PINS_AS_GPIOS=y
|
|
||||||
|
|
||||||
CONFIG_PINCTRL=y
|
CONFIG_PINCTRL=y
|
||||||
|
|
|
@ -99,6 +99,10 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&uicr {
|
||||||
|
nfct-pins-as-gpios;
|
||||||
|
};
|
||||||
|
|
||||||
&gpio0 {
|
&gpio0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,7 +15,6 @@ CONFIG_GPIO=y
|
||||||
|
|
||||||
# additional board options
|
# additional board options
|
||||||
CONFIG_GPIO_AS_PINRESET=y
|
CONFIG_GPIO_AS_PINRESET=y
|
||||||
CONFIG_NFCT_PINS_AS_GPIOS=y
|
|
||||||
|
|
||||||
CONFIG_PINCTRL=y
|
CONFIG_PINCTRL=y
|
||||||
|
|
||||||
|
|
|
@ -20,3 +20,7 @@
|
||||||
zephyr,sram-non-secure-partition = &sram0_ns;
|
zephyr,sram-non-secure-partition = &sram0_ns;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&uicr {
|
||||||
|
nfct-pins-as-gpios;
|
||||||
|
};
|
||||||
|
|
|
@ -12,7 +12,6 @@ CONFIG_HW_STACK_PROTECTION=y
|
||||||
CONFIG_ARM_TRUSTZONE_M=y
|
CONFIG_ARM_TRUSTZONE_M=y
|
||||||
|
|
||||||
CONFIG_GPIO=y
|
CONFIG_GPIO=y
|
||||||
CONFIG_NFCT_PINS_AS_GPIOS=y
|
|
||||||
|
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
|
|
||||||
|
|
|
@ -87,6 +87,10 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&uicr {
|
||||||
|
nfct-pins-as-gpios;
|
||||||
|
};
|
||||||
|
|
||||||
&gpio0 {
|
&gpio0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,6 @@ CONFIG_SERIAL=y
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_CONSOLE=y
|
||||||
CONFIG_UART_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
|
# use P0.21 as RST
|
||||||
CONFIG_GPIO_AS_PINRESET=y
|
CONFIG_GPIO_AS_PINRESET=y
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue