There was factory wiring for a trailer brake controller. Normally it is just stuff under dash and you add the appropriate connector for your brake controller. You could just zip tie or tape that up under the dash like the factor did.
https://www.youtube.com/watch?v=nf9bHdmwf2M