ARM平台UART问题
问题背景
最近遇到一个问题: 鲲鹏920机器串口无法修改波特率
后面发现该硬件使用的是芯片自带的SBSA UART,该UART本身就无法修改波特率, 可见内核文档说明(arm_sbsa_uart.txt):
ARM SBSA defined generic UART
This UART uses a subset of the PL011 registers and consequently lives
in the PL011 driver. It’s baudrate and other communication parameters
cannot be adjusted at runtime, so it lacks a clock specifier here.
Required properties:
compatible: must be “arm,sbsa-uart”
reg: exactly one register range
interrupts: exactly one interrupt specifier
current-speed: the (fixed) baud rate set by the firmware
扩展
PL011
....
作者: Shell
链接: https://notes.z-dd.online/2021/11/19/ARM%E5%B9%B3%E5%8F%B0UART%E9%97%AE%E9%A2%98/
来源: DD'Notes
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。