summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriit Laes <priit.laes@paf.com>2019-02-26 16:15:25 +0200
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-03-25 21:26:22 +0100
commitcd42ca0515d3952fc78a591618d57dd54f881d1f (patch)
tree1ec8da3975f0fc13e4591907b3593816ae34e5db
parentff8e860249e8c705d9150e307d81305e66b55d06 (diff)
ARM: dts: sun7i: olimex-lime2: Add regulators for GPIO banks
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> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
-rw-r--r--arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts6
1 files changed, 6 insertions, 0 deletions
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";