Uart2 Tx Rx Swap

Is there a way of swapping Tx and Rx pins of uart2 using software or device tree? I migrated from banana pi zero and the Tx and Rx pins are reversed compared to this board.