Trouble setting up landing gear on herelink solex an pixhawk 2

I have two questions :-

If BRD_PWM_COUNT default value is 4, then what is the use of aux 5 and aux 6 ?

What should be my BRD_PWM_COUNT to use the aux 5 and 6 ?

Read the ardupilot wiki
All information you need are written there.

For mavlink in solex, what to do?