Re: uart1

From: Milan Obuch <freebsd-arm_at_dino.sk>
Date: Thu, 28 Apr 2022 15:16:56 UTC
On Thu, 28 Apr 2022 18:11:42 +0300
Nick Kostirya <nick@i11.co> wrote:

> Hello.
> 
> How use uart1?
>
> I want use MCU wiht UART interface on NanoPI NEO.
> 
> I use overlay:
> 
> /dts-v1/;
> /plugin/;
> 
> / {
> 	compatible = "allwinner,sun8i-h3";
> };
> 
> &uart1 {
> 	status = "okay";
> };
> 
> 
> # dmesg -a | grep uart
> uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 35 on
> simplebus0 uart0: console (115384,n,8,1)
> uart1: <16750 or compatible> mem 0x1c28400-0x1c287ff irq 36 on
> simplebus0
> 
> FreeBSD 12.2-STABLE
> 
> 
> For test I connect two NanoPI NEO by help RX-TX.
> 
> On first boart I run
> cu -l /dev/ttyu1
> 
> On second boart I run
> cu -l /dev/cuau1
> 
> But I cannot write on first and on second board.
>

When I did something similar, I used /dev/cuauN on both sides of
connection. Maybe you should try it that way as well.

Regards,
Milan