timed_gpio: backport from CAF @5d92f71e687e4e1a0