Really dumb question ahead...

In the past I have run my machine with soft limits and have not had a problem.
I have a home switch for the X and Y only,

How does on go about having a homing set of switches and limit switches.? apparently if I put the same pin info for both a home and limit switch the machine e-stops and will not move after and will not let me reset it.
or do you do a home switch on one end, and the limit of the other end?