newbie question robotics cape free pins....

Hi All,

As i don’t need all M1/2/3/4 pins or all encoder pins was wondering if i could free them (from dtbs file) for adding some sensors (e.g. HC-SR04) by using the freed GPIO pins, e.g. MDIR_3A/3B/4B. Think it would fry the TB6621FNG…

Maybe the QE/FP pins?

Or another way to connect simple sensors to the robotics cape?