Orange Pi PC2 GPIO Switch/PWM

Is there any way to use it as switch as on rpi_gpio?
I need to control external switch and better to output pwm