diff options
author | Chen-Yu Tsai <wens@csie.org> | 2019-02-05 18:00:40 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-02-06 15:19:13 +0300 |
commit | a24270afa7f7ba800567a03ea9d34f500738e4c8 (patch) | |
tree | 4541c74dd2e420a960bfaf4a43d7ee1e3f8590bd /arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts | |
parent | 25f6f54ff025f17e573a473d1e4b0f58950b331e (diff) | |
download | linux-a24270afa7f7ba800567a03ea9d34f500738e4c8.tar.xz |
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-nanopi-a64.dts')
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts index 31884dbc8838..f4e78531f639 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts @@ -186,6 +186,10 @@ #include "axp803.dtsi" +&ac_power_supply { + status = "okay"; +}; + ®_aldo2 { regulator-always-on; regulator-min-microvolt = <1800000>; |