GPIO pins:

17, 27: rotary encoder

14, 15: UART

2, 3: display

23, 24: misc buttons

5, 6: aux serial (5 is pi->pc)

12: fan pwm