brcm47xx: add function to get a gpio pin by name