summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2018-07-24 14:52:27 +0200
committerKevin Hilman <khilman@baylibre.com>2018-07-25 00:53:55 +0200
commitfd1a3b7e51ddf2eae1ae98232fc038cddb4cec38 (patch)
treee5cb7e9eb7c959928b5071180e04b08608eab1b6 /arch/arm64/boot
parentarm64: dts: meson-axg: add vcc 5v regulator on the s400 (diff)
downloadlinux-fd1a3b7e51ddf2eae1ae98232fc038cddb4cec38.tar.xz
linux-fd1a3b7e51ddf2eae1ae98232fc038cddb4cec38.zip
arm64: dts: meson-axg: add usb power regulator
The usb power regulator is supplied by the vcc 5v regulator and controlled by a GPIO. This will be needed to enable usb. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot')
-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 b219ea355828..5c16788f7a66 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
@@ -115,6 +115,17 @@
enable-active-high;
};
+ usb_pwr: regulator-usb_pwr {
+ compatible = "regulator-fixed";
+ regulator-name = "USB_PWR";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ vin-supply = <&vcc_5v>;
+
+ gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;