The correspondence between serial port and device node
# vi arch/arm/boot/dts/infinity2m.dtsi
infinity2m.dtsi serial port configuration is as follows:
aliases {
console = &uart0;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &fuart;
serial3 = &uart2;
};
According to the following correspondence:
Device node | Uart |
---|---|
/dev/ttyS0 | uart0 |
/dev/ttyS1 | uart1 |
/dev/ttyS2 | fuart |
/dev/ttyS3 | uart2 |
文档更新时间: 2021-03-17 17:30 作者:Aeeditor