diff mbox series

ARM: dts: sun7i: olimex-lime2: Add regulators for GPIO banks

Message ID 20190226141525.1039-1-plaes@plaes.org (mailing list archive)
State Mainlined, archived
Commit cd42ca0515d3952fc78a591618d57dd54f881d1f
Headers show
Series ARM: dts: sun7i: olimex-lime2: Add regulators for GPIO banks | expand

Commit Message

Priit Laes Feb. 26, 2019, 2:15 p.m. UTC
From: Priit Laes <priit.laes@paf.com>

Make sure that A20 Olimex Lime2 pin bank regulators are
properly represented.

While pin banks A, B and F are connected to 3.3V static
regulator, pin banks E and G tied with LDO3 and LDO4 regulators
with 2.8V reference.

Signed-off-by: Priit Laes <priit.laes@paf.com>
---
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Maxime Ripard Feb. 27, 2019, 9:24 a.m. UTC | #1
On Tue, Feb 26, 2019 at 04:15:25PM +0200, Priit Laes wrote:
> From: Priit Laes <priit.laes@paf.com>
> 
> Make sure that A20 Olimex Lime2 pin bank regulators are
> properly represented.
> 
> While pin banks A, B and F are connected to 3.3V static
> regulator, pin banks E and G tied with LDO3 and LDO4 regulators
> with 2.8V reference.
> 
> Signed-off-by: Priit Laes <priit.laes@paf.com>

Queued for 5.2, thanks!
Maxime
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index 4e1c590eb098..3de479bfa4cf 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
@@ -174,6 +174,12 @@ 
 };
 
 &pio {
+	vcc-pa-supply = <&reg_vcc3v3>;
+	vcc-pc-supply = <&reg_vcc3v3>;
+	vcc-pe-supply = <&reg_ldo3>;
+	vcc-pf-supply = <&reg_vcc3v3>;
+	vcc-pg-supply = <&reg_ldo4>;
+
 	led_pins_olinuxinolime: led-pins {
 		pins = "PH2";
 		function = "gpio_out";