3.8: add DT GPIO helper

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>