aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2018-10-04 20:28:50 +0800
committerChen-Yu Tsai <wens@csie.org>2018-11-15 15:54:39 +0800
commit44eb589cf40aa80a345d5178907856e4b9308b01 (patch)
tree013ce9c88efb07b566ce28d433ff3b4040eac9eb /arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
parentarm64: dts: allwinner: h6: add USB2-related device nodes (diff)
downloadlinux-dev-44eb589cf40aa80a345d5178907856e4b9308b01.tar.xz
linux-dev-44eb589cf40aa80a345d5178907856e4b9308b01.zip
arm64: dts: allwinner: h6: add USB Vbus regulator for Pine H64
The 5V output of the USB ports on Pine H64 is controlled via a GPIO. Add the USB Vbus regulator device tree node. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Tested-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
index 59e5464742b0..9f127c611587 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
@@ -51,6 +51,16 @@
gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
};
};
+
+ reg_usb_vbus: vbus {
+ compatible = "regulator-fixed";
+ regulator-name = "usb-vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ startup-delay-us = <100000>;
+ gpio = <&r_pio 0 5 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
&emac {