Otherwise of_get_named_gpio_flags is not available. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>