summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2019-02-05 16:00:40 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-02-06 13:19:13 +0100
commita24270afa7f7ba800567a03ea9d34f500738e4c8 (patch)
tree4541c74dd2e420a960bfaf4a43d7ee1e3f8590bd /arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
parentarm64: dts: allwinner: a64: teres-i: enable power supplies (diff)
downloadlinux-a24270afa7f7ba800567a03ea9d34f500738e4c8.tar.xz
linux-a24270afa7f7ba800567a03ea9d34f500738e4c8.zip
arm64: dts: allwinner: a64: Enable PMIC power supplies on various boards
On these A64 devices, the DC input jacks are wired to the ACIN pins of the PMIC, which is represented by the AC power supply. With the exception of the Nanopi A64, all devices include LiPo batteries or have connectors for them, which are represented by the battery power supply. Enable these power supplies in the device tree. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
index 216f2f5db5ef..c0b9cc7a6b3a 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
@@ -169,6 +169,14 @@
#include "axp803.dtsi"
+&ac_power_supply {
+ status = "okay";
+};
+
+&battery_power_supply {
+ status = "okay";
+};
+
&reg_aldo2 {
regulator-always-on;
regulator-min-microvolt = <1800000>;