[PATCH v6 6/7] ARM: dts: imx28-evk: add usb devices
Shawn Guo
shawn.guo at linaro.org
Wed Jul 11 21:45:10 EDT 2012
On Wed, Jul 11, 2012 at 07:33:44PM +0800, Richard Zhao wrote:
> @@ -185,6 +203,24 @@
> regulator-max-microvolt = <3300000>;
> gpio = <&gpio2 15 0>;
> };
> +
> + reg_usb0_vbus: usb0_vbus {
> + compatible = "regulator-fixed";
> + regulator-name = "usb0_vbus";
> + regulator-min-microvolt = <5000000>;
> + regulator-max-microvolt = <5000000>;
> + gpio = <&gpio3 9 0>;
Since we haven't got gpio API calling pinctrl to configure the pin
into gpio mode automatically, we need to set it it with pinctrl "hog"
node. This is the same thing you have done with imx6q.
> + enable-active-high;
> + };
> +
> + reg_usb1_vbus: usb1_vbus {
> + compatible = "regulator-fixed";
> + regulator-name = "usb1_vbus";
> + regulator-min-microvolt = <5000000>;
> + regulator-max-microvolt = <5000000>;
> + gpio = <&gpio3 8 0>;
Ditto
> + enable-active-high;
> + };
> };
--
Regards,
Shawn
More information about the linux-arm-kernel
mailing list