Skip to content
Permalink
Browse files

boards: nrf9160_pca10090: add default uart2 pins

Route these to the equivalent pins for RXD1 and TXD1 on the Arduino
Mega.

Note that uart0 is routed to the debug probe IC on the nRF9160
DK, and uart1 is routed to where the RXD0 and TXD0 Arduino pins are on
the DK.  This makes RXD1/TXD1 a logical place to put these UART pins,
since the header layout for the DK board matches the Arduino mega.

This is also necessary to keep some downstream code compiling which
needs to enable the UART2 but doesn't have a good place to put these
pins, since the new DTS parser is enforcing that all required
properties (like tx-pin and rx-pin in this case) are set for nodes
with status = "okay".

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
  • Loading branch information...
mbolivar authored and ioannisg committed Aug 7, 2019
1 parent 40a3e60 commit 5be5b00e3c805302cbb037a1e6704c5f4eb17eeb
Showing with 5 additions and 0 deletions.
  1. +5 −0 boards/arm/nrf9160_pca10090/nrf9160_pca10090_common.dts
@@ -98,6 +98,11 @@
cts-pin = <15>;
};

&uart2 {
tx-pin = <24>;
rx-pin = <23>;
};

&i2c2 {
status = "okay";
sda-pin = <30>;

0 comments on commit 5be5b00

Please sign in to comment.
You can’t perform that action at this time.