ARM: sun7i: a20: enable ac/battery power supplies for Lamobo R1 board

The Lamobo R1 board connected the ACIN of the AXP209 PMIC to a MicroUSB
port, and the battery input is connected to a generic connector.

Enable these two power supplies in the device tree.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Icenowy Zheng 2017-09-13 21:21:30 +08:00 committed by Maxime Ripard
parent 2513273771
commit a3ccbc0097

View File

@ -241,6 +241,14 @@ led_pins_lamobo_r1: led_pins@0 {
#include "axp209.dtsi"
&ac_power_supply {
status = "okay";
};
&battery_power_supply {
status = "okay";
};
&reg_ahci_5v {
gpio = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
status = "okay";