I'm trying to set up a USART serial port on a custom board with a SAMA5D36 processor, but I am unable to read in data from a connected device. When I run setserial -g /dev/ttyS1
I get the following output:
/dev/ttyS1, UART: undefined, Port: 0x0000, IRQ: 22
Now, I have seen a similar question (linked here), but the solutions haven't worked for me. I'm wondering, can I not set the port up this way because it's USART not UART? Or does that not really make a difference?
As far as I can tell, the device tree is correctly setting up the port in the kernel, and I have configured the port as well as I can using stty
. Any suggestions?
f001c000.serial: ttyS1 at MMIO 0xf001c000 (irq = 22) is a ATMEL_SERIAL