-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Problem Overview
Hello, I'd like to use UART5 to communicate with the peripheral MCU on RK3588.
Step description
- The default 3588 U-Boot device tree uses the
"snps, dw app start"driver, corresponding todriver/serial/ns16550. c - When I enabled the device tree node and entered U-Boot, I used the command dm tree, but the match was unsuccessful.
ebd3dff0 serial [ ] ns16550_serial |-- serial@feb50000 *
Question:
- I found that the register data structure of ns16550. h is inconsistent with the register of RK3588. Can this driver be used?
- How can I use UART5, and can I only write it myself? May I ask if there are any relevant reference documents?
I don't need complex functions such as FIFO, DMA, virtual memory, etc., I only need simple protocol communication.
Thank you
问题概述
你好,我需要在RK3588上,使用Uart5来和外设MCU通信。
步骤描述
- 我发现默认的3588的uboot设备树上,是使用"snps,dw-apb-uart"的驱动,对应的驱动是driver/serial/ns16550.c
- 当我使能了设备树节点,进入uboot后使用命令dm tree,匹配不成功。
ebd3dff0 serial [ ] ns16550_serial |-- serial@feb50000 *
问题
- 我发现ns16550.h的寄存器数据结构和RK3588的寄存器不一致,是否无法使用这个驱动?
- 我该如何使用Uart5,是否只能自己写?请问有没有相关的参考文档,我不需要fifo、dma、虚拟内存等复杂功能,只需要简单的协议通信。
谢谢
Metadata
Metadata
Assignees
Labels
No labels