I need to access GPIO functionality provided by the APU board on J20 header. I have FreeBSD 11 with nctgpio and gpiobus modules loaded. However, when I'm trying to run gpioctl, I'm getting an error message, and no GPIO device exists in /dev:
root@apu-freebsd:/usr/home/conveyor # kldstat
Id Refs Address Size Name
1 6 0xffffffff80200000 1f67a88 kernel
2 1 0xffffffff82221000 20f2 nctgpio.ko
3 1 0xffffffff82224000 3a23 gpiobus.ko
root@apu-freebsd:/usr/home/conveyor # gpioctl -lv
gpio_open: No such file or directory
root@apu-freebsd:/usr/home/conveyor # ls /dev/gp*
ls: No match.
I have BIOS v4.0.11 (20170724) and both UART C and D disabled (though I've tried to toggle them back in forth without any difference).
Did anyone run into a similar problem before?