Use common function to set GPIOs for MX3 and MX5