I'm sure this exists on the web somewhere, but after 30s of Googling I couldn't find it, so I've put together a comprehensive spreadsheet for BBB pinmuxing.
Firstly, I have updated Tables 10 and 11 from the BBB SRM to include:
- All pin modes from the AM335x Datasheet (SRM doesn't show PRU modes)
- Colour coded modes depending on whether they are Input, Output or I/O
- Included the Device Tree Offset values needed for creating pin muxes in a Device Tree Overlay
Note that I have kept the pin names consistent with the SRM, despite this being at odds with the datasheet!
Here are some images of the tables for quick reference
I've also included a sheet which lets you calculate the required register value for pin muxing.
Spreadsheet is available to download here.