aliasing serial ports to names like (rs232, etc.)
Hi, Is there any way to give a more meaningful name to a serial port with the device tree, so that is shows up in the linux kernel?
Right now, in a device tree, it is possible to choose an alias in the alias node. But they do show up as ttySTMx in the /dev directory.
Is there a way to make it work so that it gets a more intutive name like rs232?
- For my specific layout some serial ports are connected to a specific interface.
/ {
aliases {
serial1 = &usart1;
};
}; /*root*/
// Instead
/ {
aliases {
rs232 = &usart1;
};
}; /*root*/