Currently, I am enabling two uart 0 and uart 1 in my custom board as we are in need of it.
Since uart 0 and uart 1 work independently.
But when I tried to use "/dev/ttyS1" I am getting the error
can't tcsetattr for /dev/ttyS1: Input/output error
On further analysis, the device pointer is showing NULL. which means the device is not register properly.
uart 0(ttyS0) got initialized - serial8250_probe
uart 1(ttyS1) didn't initialized properly - serial8250_probe - as device pointer is NULL
How to enable both uart 0 and uart1 in linux?