pin usage

What are the restrictions on the use of the microcontroller pins for signals: step, dir, enable, x / y / z min / max, mosfets? Or i can use any pins? In documents I have found limitations associated with the PWM pins, is that all?

Imported from wikidot

No limitations, any GPIO can be used for that.