diff options
author | Chen-Yu Tsai <wens@csie.org> | 2019-02-05 23:00:40 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-02-06 13:19:13 +0100 |
commit | a24270afa7f7ba800567a03ea9d34f500738e4c8 (patch) | |
tree | 4541c74dd2e420a960bfaf4a43d7ee1e3f8590bd /arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | |
parent | 25f6f54ff025f17e573a473d1e4b0f58950b331e (diff) | |
download | linux-a24270afa7f7ba800567a03ea9d34f500738e4c8.tar.bz2 |
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.dts | 8 |
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"; +}; + ®_aldo1 { regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; |