boards: arm: ubx_evkninab{3,4}: Update docs to use DEVICE_DT_GET

Update docs for boards ubx_evkninab3_nrf52840 and ubx_evkninab4_nrf52833
to use DEVICE_DT_GET as we phase out "label" usage and thus the
device_get_binding() reference wouldn't work.

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-07-28 05:38:03 -05:00 committed by Kumar Gala
parent add2b28a3b
commit 722b529f64
2 changed files with 2 additions and 2 deletions

View file

@ -302,7 +302,7 @@ more than one UART for connecting peripheral devices:
In the overlay file above, pin P0.16 is used for RX and P0.14 is used for TX In the overlay file above, pin P0.16 is used for RX and P0.14 is used for TX
2. Use the UART1 as ``device_get_binding("UART_1")`` 2. Use the UART1 as ``DEVICE_DT_GET(DT_NODELABEL(uart1))``
Overlay file naming Overlay file naming
=================== ===================

View file

@ -197,7 +197,7 @@ more than one UART for connecting peripheral devices:
In the overlay file above, pin P0.16 is used for RX and P0.14 is used for TX In the overlay file above, pin P0.16 is used for RX and P0.14 is used for TX
2. Use the UART1 as ``device_get_binding("UART_1")`` 2. Use the UART1 as ``DEVICE_DT_GET(DT_NODELABEL(uart1))``
Overlay file naming Overlay file naming
=================== ===================