aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2017-12-19 19:10:30 +0100
committerShawn Guo <shawnguo@kernel.org>2017-12-26 16:15:44 +0800
commit7e81cb3d9cf5a7cc56606a63ca6f100bb3f1f5de (patch)
tree65a3c73a1ff280343c719bc0e76ca7349b864846 /arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
parentARM: dts: imx6sl-evk: Convert from fbdev to drm bindings (diff)
downloadlinux-dev-7e81cb3d9cf5a7cc56606a63ca6f100bb3f1f5de.tar.xz
linux-dev-7e81cb3d9cf5a7cc56606a63ca6f100bb3f1f5de.zip
ARM: dts: imx7-colibri: move and rename USB Host power regulator
The Colibri default which enables USB Host power is not necessarily tied to the OTG2 controller, some carrier board use the pin to control USB power for both controllers. Hence name the pinctrl group more generic. Also move the regulator to the generic eval-v3 device tree since the regulator is always on the carrier board. In the Colibri iMX7S case the regulator is just not used. This allows to reuse the regulator in a upcoming SKU Colibri iMX7D 1GB with eMMC. Signed-off-by: Stefan Agner <stefan@agner.ch> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi')
-rw-r--r--arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
index a2e5cbdc9843..a4027bd600f2 100644
--- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
@@ -70,6 +70,17 @@
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
+
+ reg_usbh_vbus: regulator-usbh-vbus {
+ compatible = "regulator-fixed";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usbh_reg>;
+ regulator-name = "VCC_USB[1-4]";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio4 7 GPIO_ACTIVE_LOW>;
+ vin-supply = <&reg_5v0>;
+ };
};
&bl {