|
| 1 | +/* |
| 2 | + * Copyright (c) 2026 Nordic Semiconductor ASA |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause |
| 5 | + */ |
| 6 | + |
| 7 | +/ { |
| 8 | + chosen { |
| 9 | + /* SMP transport. Console/logs go over SEGGER RTT (see prj.conf), so |
| 10 | + * no zephyr,console/shell-uart here — that keeps uart20 (P1.04-07) |
| 11 | + * free for the future AT host link. |
| 12 | + */ |
| 13 | + zephyr,uart-mcumgr = &uart30; |
| 14 | + }; |
| 15 | +}; |
| 16 | + |
| 17 | +&pinctrl { |
| 18 | + uart30_smp_default: uart30_smp_default { |
| 19 | + group1 { |
| 20 | + psels = <NRF_PSEL(UART_TX, 0, 0)>, |
| 21 | + <NRF_PSEL(UART_RTS, 0, 2)>; |
| 22 | + }; |
| 23 | + |
| 24 | + group2 { |
| 25 | + psels = <NRF_PSEL(UART_RX, 0, 1)>, |
| 26 | + <NRF_PSEL(UART_CTS, 0, 3)>; |
| 27 | + bias-pull-up; |
| 28 | + }; |
| 29 | + }; |
| 30 | + |
| 31 | + uart30_smp_sleep: uart30_smp_sleep { |
| 32 | + group1 { |
| 33 | + psels = <NRF_PSEL(UART_TX, 0, 0)>, |
| 34 | + <NRF_PSEL(UART_RX, 0, 1)>, |
| 35 | + <NRF_PSEL(UART_RTS, 0, 2)>, |
| 36 | + <NRF_PSEL(UART_CTS, 0, 3)>; |
| 37 | + low-power-enable; |
| 38 | + }; |
| 39 | + }; |
| 40 | +}; |
| 41 | + |
| 42 | +&uart30 { |
| 43 | + status = "okay"; |
| 44 | + current-speed = <115200>; |
| 45 | + hw-flow-control; |
| 46 | + pinctrl-0 = <&uart30_smp_default>; |
| 47 | + pinctrl-1 = <&uart30_smp_sleep>; |
| 48 | + pinctrl-names = "default", "sleep"; |
| 49 | +}; |
| 50 | + |
| 51 | +/* Console moved to RTT (see prj.conf), so uart20 (P1.04-07) is repurposed as the |
| 52 | + * AT host link: the L15 drives the nRF9151's serial_modem AT interface (its uart0). |
| 53 | + * Wiring (crossover): L15 P1.04 TX -> 9151 P0.26 RX, P1.05 RX <- P0.27 TX, |
| 54 | + * P1.06 RTS -> P0.15 CTS, P1.07 CTS <- P0.14 RTS. 115200 + HW flow control to |
| 55 | + * match the nRF9151 uart0 AT host. pinctrl/speed inherited from the board dtsi. |
| 56 | + */ |
| 57 | +&uart20 { |
| 58 | + status = "okay"; |
| 59 | + hw-flow-control; |
| 60 | +}; |
0 commit comments