Hi,
Sorry for the unclearity of question.
As per my hardware design , My serial debug console is at UART-D.
case 1 :
when i enable only UART-D in dts as follows , then my serial console is at /dev/ttyS0. → OK for me.
serial@70006300 {
status = “okay”;
};
case 2 :
Now i have another UART peripheral-1 which is connected on UART-C.so i enable UART-C for peripheral-1 and UART-D for console in dts as follows:
serial@70006300 {
status = “okay”;
};
serial@70006200 {
status = “okay”;
};
Now my debug console is shifted to /dev/ttyS1. (because i inited UART-C. so UART-C gets /dev/ttyS0 and UART-D gets /dev/ttyS1)
case 2 :
Now i have another UART peripheral-2 which is connected on UART-B.so i enable UART-B for peripheral-2 , UART-C for peripheral -1 and UART-D for console in dts as follows:
serial@70006300 {
status = “okay”;
};
serial@70006200 {
status = “okay”;
};
serial@70006000 {
status = “okay”;
};
Now my debug console is shifted to /dev/ttyS2. (because i inited UART-B and UART-C . so UART-B gets /dev/ttyS0 , UART-C gets /dev/ttyS1 , AND UART-D gets /dev/ttyS2).
So my problem is, it is not good that my /dev node changed when i init another UART port for other peripheral.
Is it possible that UART-D always gets /dev/ttyS0 irrespective of any other serial port?
As u see in above 3 cases /dev/tty port for UART-D changed for every case.
Regards,
Rahul Shah