summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2019-05-28 09:35:44 +0300
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-05-29 10:25:37 +0300
commit5f49c38a80b94fc27ecd91f0e50949c3525688f1 (patch)
tree722b23237458ca2c364d9cde568d42aba893e0bd
parent17996e5b0ba40c4d85500e1c9bfbddaf676ab8c7 (diff)
downloadlinux-5f49c38a80b94fc27ecd91f0e50949c3525688f1.tar.xz
ARM: dts: sun7i: olimex-lime2: Enable ac and power supplies
Lime2 has battery connector so enable these supplies. Signed-off-by: Priit Laes <plaes@plaes.org> Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
-rw-r--r--arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index 95c6f8949076..56f451c07f93 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
@@ -194,6 +194,14 @@
#include "axp209.dtsi"
+&ac_power_supply {
+ status = "okay";
+};
+
+&battery_power_supply {
+ status = "okay";
+};
+
&reg_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;