| 8 - UART Operations
3. Add uart1_pins or uart2_pins node on the &gpio node:
Note:
The configured UART GPIO number is the number contained in the
Pin Name
. You can configure the
unoccupied pins. For more details about the GPIO Pin Name, see the
in this document.
Figure 8-3 Example Configuration
8.1.1.1. UART and DEV Mapping
The following table describes the UART and DEV mapping:
Table 8-1 UART and DEV Mapping
UART
DEV
UART1
/dev/ttyS1
UART2
/dev/ttyS2
8.2. Debugging UART GPIO
8.2.1. Hardware Setup
To set up the hardware, perform the following steps:
© 2018-2022 StarFive Technology
All rights reserved
28
StarFive