M7 & wiring-armbian - wiringPiSetup: mmap (PWM) failed: Operation not permitted

I’ve installed armbian on banana pi m7. I was trying to follow examples from Getting Started on 40-pin header about compiling Wiring for M7. I cloned and built the code as recommended. But when i try to run gpio readall, i get following error:

--
mds@bananapim7:~/wiring/wiring-armbian$ gpio readall

wiringPiSetup: mmap (PWM) failed: Operation not permitted
--

May be i miss something in the docs? Is there any other way to initialise an additional UART using GPIO pins from M7 to work with an external device over serial from armbian?

Follow the documentation steps provided on our github, thank you

You can refer to here for initializing additional UART using the GPIO pin of M7:4. Overlay | ArmSoM docs