Commit a24270af authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard

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: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent 25f6f54f
...@@ -222,6 +222,14 @@ axp803: pmic@3a3 { ...@@ -222,6 +222,14 @@ axp803: pmic@3a3 {
#include "axp803.dtsi" #include "axp803.dtsi"
&ac_power_supply {
status = "okay";
};
&battery_power_supply {
status = "okay";
};
&reg_aldo1 { &reg_aldo1 {
/* /*
* This regulator also drives the PE pingroup GPIOs, * This regulator also drives the PE pingroup GPIOs,
......
...@@ -186,6 +186,10 @@ axp803: pmic@3a3 { ...@@ -186,6 +186,10 @@ axp803: pmic@3a3 {
#include "axp803.dtsi" #include "axp803.dtsi"
&ac_power_supply {
status = "okay";
};
&reg_aldo2 { &reg_aldo2 {
regulator-always-on; regulator-always-on;
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
......
...@@ -177,6 +177,14 @@ axp803: pmic@3a3 { ...@@ -177,6 +177,14 @@ axp803: pmic@3a3 {
#include "axp803.dtsi" #include "axp803.dtsi"
&ac_power_supply {
status = "okay";
};
&battery_power_supply {
status = "okay";
};
&reg_aldo1 { &reg_aldo1 {
regulator-always-on; regulator-always-on;
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
......
...@@ -193,6 +193,14 @@ axp803: pmic@3a3 { ...@@ -193,6 +193,14 @@ axp803: pmic@3a3 {
#include "axp803.dtsi" #include "axp803.dtsi"
&ac_power_supply {
status = "okay";
};
&battery_power_supply {
status = "okay";
};
&reg_aldo1 { &reg_aldo1 {
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
......
...@@ -169,6 +169,14 @@ axp803: pmic@3a3 { ...@@ -169,6 +169,14 @@ axp803: pmic@3a3 {
#include "axp803.dtsi" #include "axp803.dtsi"
&ac_power_supply {
status = "okay";
};
&battery_power_supply {
status = "okay";
};
&reg_aldo2 { &reg_aldo2 {
regulator-always-on; regulator-always-on;
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment