summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-05-25 09:31:34 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-05-29 08:51:24 +0200
commit6df31af7d827ab8dbcf0baec0411813d7a709150 (patch)
tree9ea3b1aaba8e8a9e14909b2ddc0c004e34223712
parentARM: sun7i: a20: cubieboard2: Move usb_otg node for alphabetical ordering (diff)
downloadlinux-6df31af7d827ab8dbcf0baec0411813d7a709150.tar.xz
linux-6df31af7d827ab8dbcf0baec0411813d7a709150.zip
ARM: sun7i: a20: cubieboard2: Enable AXP209's ACIN power supply
The ACIN pins of the AXP209 PMIC on the Cubieboard 2 are tied to the DC jack on the board. Enable the ACIN power supply. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/sun7i-a20-cubieboard2.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
index c21edd75d0b3..2a50207618cb 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
@@ -176,6 +176,10 @@
#include "axp209.dtsi"
+&ac_power_supply {
+ status = "okay";
+};
+
&reg_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;