How to use UART pins on Orange Pi zero?

chieh-ming chang
Oct 24, 2018 · 1 min read

My config on Orange Pi Zero for UART on mainline kernel:

overlay_prefix=sun8i-h3
overlays=usbhost2 usbhost3 uart1 uart2

Both UARTs work fine.

$ uname -a
Linux orangepizero 4.13.16-sunxi #20 SMP Fri Nov 24 19:50:07 CET 2017 armv7l armv7l armv7l GNU/Linux