power: gpio-charger: add device tree support