diff --git a/boards/arm/particle_xenon/dts/mesh_feather_uart2_rtscts.dtsi b/boards/arm/particle_xenon/dts/mesh_feather_uart2_rtscts.dtsi new file mode 100644 index 0000000000..0dfa0a648f --- /dev/null +++ b/boards/arm/particle_xenon/dts/mesh_feather_uart2_rtscts.dtsi @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2020 Peter Bigot Consulting, LLC + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* Add hardware flow control to UART2, which is exposed only on Xenon + * mesh boards. + */ +&uart1 { + rts-pin = <35>; + cts-pin = <43>; + /* optional mesh_feather_uart2_rtscts.dtsi */ +}; diff --git a/boards/arm/particle_xenon/particle_xenon.dts b/boards/arm/particle_xenon/particle_xenon.dts index e9ad0e2490..1e82a83388 100644 --- a/boards/arm/particle_xenon/particle_xenon.dts +++ b/boards/arm/particle_xenon/particle_xenon.dts @@ -26,3 +26,12 @@ full-ohms = <(2100000 + 806000)>; }; }; + +&uart1 { /* feather UART2 */ + compatible = "nordic,nrf-uarte"; + current-speed = <115200>; + status = "disabled"; + tx-pin = <40>; + rx-pin = <42>; + /* optional mesh_feather_uart2_rtscts.dtsi */ +};