arm64: dts: meson-axg: add vcc 5v regulator on the s400
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 24 Jul 2018 12:52:26 +0000 (14:52 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 24 Jul 2018 22:53:54 +0000 (15:53 -0700)
This regulator is controlled by a GPIO and supplies various devices
on the board, such as the lineout codec, the usb supply or the lcd
controller.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts

index 093380cd6782596e499b0f446d170da91cf25330..b219ea35582892e9f2f90acd24e0913db259637d 100644 (file)
                regulator-always-on;
        };
 
+       vcc_5v: regulator-vcc_5v {
+               compatible = "regulator-fixed";
+               regulator-name = "VCC5V";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               vin-supply = <&main_12v>;
+
+               gpio = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+       };
+
        emmc_pwrseq: emmc-pwrseq {
                compatible = "mmc-pwrseq-emmc";
                reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;