All-h3-cc (h5) uart


i’d like to use extra uart on ALL-H3-CC (H5). it’s not clear to me how to enable this. it looks like it is done with wiring tool described in Libre Computer Wiring Tool but it seems there’s no premade devicetree overlay and i did not understand how to make it myself from the documentation. i think some better docs on the development process for this would go a long way since it seems someone else asked recently about enabling uart on a different board.


Writing Device Tree Overlays is a HUGE skill-set that likely you’re not going to learn from a forum post. I’m still learning this topic and it’s slow going, but when I feel up to it I’ll try to write a beginners guide. I’m certainly not there yet, and I wouldn’t hold your breath.

In the mean time I’ll do as @librecomputer does and suggest checking out the existing overlays:

For your board: libretech-wiring-tool/libre-computer/all-h3-cc-h5/dt at master · libre-computer-project/libretech-wiring-tool · GitHub

Here is the full Device tree for your board:

For the ams-s905x-cc (which has more overlays written for it):libretech-wiring-tool/libre-computer/aml-s905x-cc/dt at master · libre-computer-project/libretech-wiring-tool · GitHub

Probably not relevant for a UART overlay, but I’ve found looking at overlays for other boards and trying to adapt them can be helpful, but steer clear of Raspberry Pi overlays (or take them with a grain of salt), as they’re full of fruity nonsense that is specific to the Broadcom SOCs they use.

I hope this helps.
If you (or anyone else) comes across good learning resources for this topic please share them! Us non-embedded engineers can use all the help we can get in this department.