summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
diff options
context:
space:
mode:
authorAlexander Syring <alex@asyring.de>2017-07-05 11:30:20 +0300
committerChen-Yu Tsai <wens@csie.org>2017-08-05 17:06:58 +0300
commit9b807037d7148a97286392c5ff53148d2708d584 (patch)
tree3530c3a61899b3204c90be69b4c2d7a44e4a56d3 /arch/arm/boot/dts/sun7i-a20-cubietruck.dts
parent23ee53b1e262dcb19901f15a53428ead6a2bf137 (diff)
downloadlinux-9b807037d7148a97286392c5ff53148d2708d584.tar.xz
ARM: dts: sun7i: enable battery power supply subnode on cubietruck
The Cubietruck has an AXP209 PMIC with battery connector. This enables the battery power supply subnode. Signed-off-by: Alexander Syring <alex@asyring.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> [wens@csie.org: Correct subject prefix order] Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-cubietruck.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-cubietruck.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index bb510187602c..852a0aa24dce 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -271,6 +271,10 @@
status = "okay";
};
+&battery_power_supply {
+ status = "okay";
+};
+
&reg_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;