ARM: dts: sun7i: enable battery power supply subnode on cubietruck
authorAlexander Syring <alex@asyring.de>
Wed, 5 Jul 2017 08:30:20 +0000 (10:30 +0200)
committerChen-Yu Tsai <wens@csie.org>
Sat, 5 Aug 2017 14:06:58 +0000 (22:06 +0800)
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>
arch/arm/boot/dts/sun7i-a20-cubietruck.dts

index bb510187602c1c2e43c01d43a210430f3317b70b..852a0aa24dcee6c577b167c9d36d9c01b9a59403 100644 (file)
        status = "okay";
 };
 
+&battery_power_supply {
+       status = "okay";
+};
+
 &reg_dcdc2 {
        regulator-always-on;
        regulator-min-microvolt = <1000000>;