aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
diff options
context:
space:
mode:
authorPablo Greco2019-05-02 10:33:45 -0300
committerMaxime Ripard2019-05-20 09:27:30 +0200
commit30cf87fd3376365675004dcc50a0cc0d87ba5315 (patch)
treeb79c8362af227dba53c41cb459bddd940a072ac5 /arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
parent4422516114725edd175121751d07c0896876838e (diff)
ARM: dts: sun8i: v40: bananapi-m2-berry: Add GPIO pin-bank regulator supplies
The bananapi-m2-berry has the PMIC providing voltage to all the pin-bank supply rails from its various regulator outputs, tie them to the pio node. Signed-off-by: Pablo Greco <pgreco@centosproject.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
index f05cabd34b8e..27297f49b16d 100644
--- a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
+++ b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
@@ -123,6 +123,21 @@
status = "okay";
};
+&pio {
+ vcc-pa-supply = <&reg_aldo2>;
+ vcc-pc-supply = <&reg_dcdc1>;
+ vcc-pd-supply = <&reg_dcdc1>;
+ vcc-pe-supply = <&reg_eldo1>;
+ vcc-pf-supply = <&reg_dcdc1>;
+ vcc-pg-supply = <&reg_dldo1>;
+};
+
+&reg_aldo2 {
+ regulator-min-microvolt = <2500000>;
+ regulator-max-microvolt = <2500000>;
+ regulator-name = "vcc-pa";
+};
+
&reg_aldo3 {
regulator-always-on;
regulator-min-microvolt = <2700000>;