boards: nrf: Enable pull-ups on UART pins in Nordic DKs
This is a follow-up to commit 3656ba5ae9
.
Enable pull-up resistors on UART pins RXD and CTS in Nordic DK boards
where it is possible that these pins are not connected to anything on
the board and could generate problems if left floating (on some DKs
also the Interface MCU can be disconnected with the switch "nRF only",
hence pull-ups enabled also on uart0 for them).
Those pull-ups can still be disabled (by deleting the added properties)
if necessary to use a given board in some specific hardware setup.
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
3842babc79
commit
bff5d03581
10 changed files with 26 additions and 0 deletions
|
@ -158,14 +158,17 @@
|
|||
current-speed = <115200>;
|
||||
tx-pin = <6>;
|
||||
rx-pin = <8>;
|
||||
rx-pull-up;
|
||||
rts-pin = <5>;
|
||||
cts-pin = <7>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
arduino_serial: &uart1 {
|
||||
status = "okay";
|
||||
current-speed = <115200>;
|
||||
rx-pin = <33>;
|
||||
rx-pull-up;
|
||||
tx-pin = <34>;
|
||||
};
|
||||
|
||||
|
|
|
@ -98,8 +98,10 @@
|
|||
current-speed = <115200>;
|
||||
tx-pin = <6>;
|
||||
rx-pin = <8>;
|
||||
rx-pull-up;
|
||||
rts-pin = <5>;
|
||||
cts-pin = <7>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
|
|
|
@ -136,14 +136,17 @@
|
|||
current-speed = <115200>;
|
||||
tx-pin = <6>;
|
||||
rx-pin = <8>;
|
||||
rx-pull-up;
|
||||
rts-pin = <5>;
|
||||
cts-pin = <7>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
arduino_serial: &uart1 {
|
||||
status = "okay";
|
||||
current-speed = <115200>;
|
||||
rx-pin = <33>;
|
||||
rx-pull-up;
|
||||
tx-pin = <34>;
|
||||
};
|
||||
|
||||
|
|
|
@ -102,8 +102,10 @@
|
|||
current-speed = <115200>;
|
||||
tx-pin = <6>;
|
||||
rx-pin = <8>;
|
||||
rx-pull-up;
|
||||
rts-pin = <5>;
|
||||
cts-pin = <7>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
|
|
|
@ -147,14 +147,17 @@
|
|||
current-speed = <115200>;
|
||||
tx-pin = <6>;
|
||||
rx-pin = <8>;
|
||||
rx-pull-up;
|
||||
rts-pin = <5>;
|
||||
cts-pin = <7>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
arduino_serial: &uart1 {
|
||||
status = "okay";
|
||||
current-speed = <115200>;
|
||||
rx-pin = <33>;
|
||||
rx-pull-up;
|
||||
tx-pin = <34>;
|
||||
};
|
||||
|
||||
|
|
|
@ -107,8 +107,10 @@
|
|||
current-speed = <115200>;
|
||||
tx-pin = <20>;
|
||||
rx-pin = <24>;
|
||||
rx-pull-up;
|
||||
rts-pin = <17>;
|
||||
cts-pin = <22>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
|
|
|
@ -144,8 +144,10 @@
|
|||
current-speed = <115200>;
|
||||
tx-pin = <20>;
|
||||
rx-pin = <22>;
|
||||
rx-pull-up;
|
||||
rts-pin = <19>;
|
||||
cts-pin = <21>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
&pwm0 {
|
||||
|
@ -198,6 +200,7 @@ arduino_serial: &uart1 {
|
|||
current-speed = <115200>;
|
||||
tx-pin = <33>;
|
||||
rx-pin = <32>;
|
||||
rx-pull-up;
|
||||
};
|
||||
|
||||
arduino_i2c: &i2c1 {};
|
||||
|
|
|
@ -122,8 +122,10 @@
|
|||
current-speed = <115200>;
|
||||
tx-pin = <33>;
|
||||
rx-pin = <32>;
|
||||
rx-pull-up;
|
||||
rts-pin = <11>;
|
||||
cts-pin = <10>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
arduino_serial: &uart0{};
|
||||
|
|
|
@ -156,8 +156,10 @@
|
|||
status = "okay";
|
||||
tx-pin = <5>;
|
||||
rx-pin = <3>;
|
||||
rx-pull-up;
|
||||
rts-pin = <40>;
|
||||
cts-pin = <7>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
|
|
|
@ -159,8 +159,10 @@
|
|||
current-speed = <115200>;
|
||||
tx-pin = <29>;
|
||||
rx-pin = <28>;
|
||||
rx-pull-up;
|
||||
rts-pin = <27>;
|
||||
cts-pin = <26>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
arduino_serial: &uart1 {
|
||||
|
@ -168,8 +170,10 @@ arduino_serial: &uart1 {
|
|||
current-speed = <115200>;
|
||||
tx-pin = <1>;
|
||||
rx-pin = <0>;
|
||||
rx-pull-up;
|
||||
rts-pin = <14>;
|
||||
cts-pin = <15>;
|
||||
cts-pull-up;
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue