Got a APU3 from PCEngines directly.
Testing the GPIO to see if they used the same GPIO chip and base address as the APU1C.
I loaded the module and it looks good. Working GPIO on another amd64 platform.
Testing the GPIO to see if they used the same GPIO chip and base address as the APU1C.
I loaded the module and it looks good. Working GPIO on another amd64 platform.
kldload nctgpio
or /boot/loader.conf nctgpio_load="YES"
Code:
root@APU3:~ # sysctl -a | grep 'gpio'
dev.gpioc.0.%parent: gpio0
dev.gpioc.0.%pnpinfo:
dev.gpioc.0.%location:
dev.gpioc.0.%driver: gpioc
dev.gpioc.0.%desc: GPIO controller
dev.gpioc.%parent:
dev.gpiobus.0.%parent: gpio0
dev.gpiobus.0.%pnpinfo:
dev.gpiobus.0.%location:
dev.gpiobus.0.%driver: gpiobus
dev.gpiobus.0.%desc: GPIO bus
dev.gpiobus.%parent:
dev.gpio.0.%parent: isa0
dev.gpio.0.%pnpinfo:
dev.gpio.0.%location:
dev.gpio.0.%driver: gpio
dev.gpio.0.%desc: Nuvoton NCT5104D (PC-Engines APU)
dev.gpio.%parent:
Code:
root@APU3:~ # gpioctl -l
pin 00: 0 GPIO00<OUT,PP>
pin 01: 0 GPIO01<OUT,PP>
pin 02: 0 GPIO02<OUT,PP>
pin 03: 0 GPIO03<OUT,PP>
pin 04: 0 GPIO04<OUT,PP>
pin 05: 0 GPIO05<OUT,PP>
pin 06: 0 GPIO06<OUT,PP>
pin 07: 0 GPIO07<OUT,PP>
pin 08: 0 GPIO08<OUT,PP>
pin 09: 0 GPIO09<OUT,PP>
pin 10: 0 GPIO10<OUT,PP>
pin 11: 0 GPIO11<OUT,PP>
pin 12: 0 GPIO12<OUT,PP>
pin 13: 0 GPIO13<OUT,PP>
pin 14: 0 GPIO14<OUT,PP>
pin 15: 0 GPIO15<OUT,PP>