Beaglebone AI-64 Fan Header

Hello all,
I am new to beaglebone AI-64. Can anyone tell me…how to start PWM fan using fan header provided in beaglebone AI-64.