Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Attaching GPIO on PCEngines apu2
David Brownlee <abs%absd.org@localhost> writes:
> Would anyone have any thoughts on how hard it would be to attach some
> LED controlling GPIO pins on an PCEngine apu2
>
> dmesg from netbsd-11 identifies them as:
>
> GPIO (AMD0030) at acpi0 not configured
> BTNS (PRP0001) at acpi0 not configured
> BTN1 (PRP0001) at acpi0 not configured
> LEDS (PRP0001) at acpi0 not configured
> LED1 (PRP0001) at acpi0 not configured
> LED2 (PRP0001) at acpi0 not configured
> LED3 (PRP0001) at acpi0 not configured
> CTBL (BOOT0000) at acpi0 not configured
I would have thought this was done already but my netbsd-9 dmesg says
the same. Good to know netbsd-11 is working.
This might help:
https://pcengines.github.io/apu2-documentation/gpios/
It seems likely that "cpu0: AMD GX-412TC SOC" has an AMD gpio controller
built it and that one needs to wreit gpioamd(4), or find out that amd
meets some standard interface.
see src/sys/dev/acpi/acpi_gpio.c
sorry, not really great hints....
Home |
Main Index |
Thread Index |
Old Index