I'm in the process of installing a Duet 2 Wifi board on my Tronxy X5SA, I don't have Z homing and bed leveling working yet though.
I had to rewire my X and Y limit switches, The limit switches have a three pin connector with an end pin used and the center pin used for the Tronxy controller. I had to use a paper clip to release the center pin and plug that pin in to the unused pin mount on the Tronxy connector. It wasn't terribly challenging (I'm disabled, I have SMA), but if you only have one hand to work with you may need assistance or a small vise to hold the connector still while you remove the center pin.
Once done I was able to plug the Tronxy X and Y limit switch cables in to the Duet 2 Wifi board. I did have to remove the orientation clips from the board though since my original connectors are a bit wide.
I don't yet have a proper crimping tool and crimping pins is challenging for me to do due to poor hand strength so I try to avoid crimping if at all possible.