diff options
-rw-r--r-- | data/gpio-loopback.UPN-EHL01.in | 4 | ||||
-rw-r--r-- | units/gpio/vendor-aaeon.pxu | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/data/gpio-loopback.UPN-EHL01.in b/data/gpio-loopback.UPN-EHL01.in new file mode 100644 index 0000000..259cbc1 --- /dev/null +++ b/data/gpio-loopback.UPN-EHL01.in @@ -0,0 +1,4 @@ +# GPIO IDs as presented by sysfs. See: +# https://github.com/up-board/up-community/wiki/Pinout_UPXi11 +# (in this case, this means connecting GPIO pins 13 and 15 together) +22,27 diff --git a/units/gpio/vendor-aaeon.pxu b/units/gpio/vendor-aaeon.pxu index 7f8d6bc..cdf5f2d 100644 --- a/units/gpio/vendor-aaeon.pxu +++ b/units/gpio/vendor-aaeon.pxu @@ -1,7 +1,7 @@ unit: template template-resource: dmi -template-filter: dmi.category == 'SYSTEM' and dmi.vendor == 'AAEON' and dmi.product in ('UPX-TGL01') +template-filter: dmi.category == 'SYSTEM' and dmi.vendor == 'AAEON' and dmi.product in ('UPX-TGL01', 'UPN-EHL01') template-unit: job id: gpio/sysfs_loopback_pairs_{vendor}_{product} _summary: Test GPIO lines exposed on headers can be controlled via sysfs |