From 6df31af7d827ab8dbcf0baec0411813d7a709150 Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Thu, 25 May 2017 15:31:34 +0800 Subject: [PATCH] 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 Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ ®_ahci_5v { #include "axp209.dtsi" +&ac_power_supply { + status = "okay"; +}; + ®_dcdc2 { regulator-always-on; regulator-min-microvolt = <1000000>;