Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3ccbc00 authored by Icenowy Zheng's avatar Icenowy Zheng Committed by Maxime Ripard
Browse files

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: default avatarIcenowy Zheng <icenowy@aosc.io>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 25132737
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -241,6 +241,14 @@

#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";