summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2014-11-16 21:00:28 +0300
committerShawn Guo <shawn.guo@linaro.org>2014-11-23 10:08:15 +0300
commit505251e504e163f2e2f5c75e9b42cbcd62b792e7 (patch)
tree0caaa766c254143b885528bf3f8c6cf1bba2a294 /arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
parent1b61feea3f65fd401a778d705c7223e9f7da529f (diff)
downloadlinux-505251e504e163f2e2f5c75e9b42cbcd62b792e7.tar.xz
ARM: dts: vf-colibri: add USB regulators
Add structure of USB supply logic. The USB hosts power enable regulator is needed to control VBUS supply on the Colibri carrier board. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/vf-colibri-eval-v3.dtsi')
-rw-r--r--arch/arm/boot/dts/vf-colibri-eval-v3.dtsi32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
index 20251a3ea813..56a452bc326c 100644
--- a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
@@ -11,6 +11,34 @@
chosen {
bootargs = "console=ttyLP0,115200";
};
+
+ regulators {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sys_5v0_reg: regulator@0 {
+ compatible = "regulator-fixed";
+ reg = <0>;
+ regulator-name = "5v0";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-always-on;
+ };
+
+ /* USBH_PEN */
+ usbh_vbus_reg: regulator@1 {
+ compatible = "regulator-fixed";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usbh1_reg>;
+ reg = <1>;
+ regulator-name = "usbh_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio3 19 GPIO_ACTIVE_LOW>;
+ vin-supply = <&sys_5v0_reg>;
+ };
+ };
};
&bl {
@@ -62,3 +90,7 @@
&uart2 {
status = "okay";
};
+
+&usbh1 {
+ vbus-supply = <&usbh_vbus_reg>;
+};