]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun7i: olimex-lime2: Add regulators for GPIO banks
authorPriit Laes <priit.laes@paf.com>
Tue, 26 Feb 2019 14:15:25 +0000 (16:15 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 25 Mar 2019 20:26:22 +0000 (21:26 +0100)
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>
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts

index 4e1c590eb09821bb7827029c203542e9e4e1eed1..3de479bfa4cf81c29f6a46a092db99ecaa4171ad 100644 (file)
@@ -174,6 +174,12 @@ &otg_sram {
 };
 
 &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";