If you use SERIN/SEROUT or SERIN2/SEROUT2 any pin configures for I/O will work for serial comms.