summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai2019-02-05 16:00:40 +0100
committerMaxime Ripard2019-02-06 13:19:13 +0100
commita24270afa7f7ba800567a03ea9d34f500738e4c8 (patch)
tree4541c74dd2e420a960bfaf4a43d7ee1e3f8590bd /arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
parentarm64: dts: allwinner: a64: teres-i: enable power supplies (diff)
downloadkernel-qcow2-linux-a24270afa7f7ba800567a03ea9d34f500738e4c8.tar.gz
kernel-qcow2-linux-a24270afa7f7ba800567a03ea9d34f500738e4c8.tar.xz
kernel-qcow2-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-orangepi-win.dts')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
index b0c64f75792c..281bf9fe5ca2 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
@@ -193,6 +193,14 @@
#include "axp803.dtsi"
+&ac_power_supply {
+ status = "okay";
+};
+
+&battery_power_supply {
+ status = "okay";
+};
+
&reg_aldo1 {
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;