summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2018-07-24 14:52:26 +0200
committerKevin Hilman <khilman@baylibre.com>2018-07-24 15:53:54 -0700
commitff36932e0325763663a67a718190456dd21bf915 (patch)
tree0c1373b45918f02469b4c5c5389ccca2789c523b /arch/arm64
parent9f2619d5f569e7e20c3ebc84bcd6d4aec6c25232 (diff)
downloadlinux-stable-ff36932e0325763663a67a718190456dd21bf915.tar.gz
linux-stable-ff36932e0325763663a67a718190456dd21bf915.tar.bz2
linux-stable-ff36932e0325763663a67a718190456dd21bf915.zip
arm64: dts: meson-axg: add vcc 5v regulator on the s400
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>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-axg-s400.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
index 093380cd6782..b219ea355828 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
@@ -104,6 +104,17 @@
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>;