Skip to content

Commit

Permalink
ARM: mx5: dts: Enable USB OTG on M53EVK
Browse files Browse the repository at this point in the history
Add USB OTG support to M53EVK instead of just USB gadget.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Marek Vasut authored and Shawn Guo committed May 3, 2016
1 parent bf3251e commit 194521f
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion arch/arm/boot/dts/imx53-m53evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 2 0>;
};

reg_usb_otg_vbus: regulator@4 {
compatible = "regulator-fixed";
reg = <4>;
regulator-name = "usb_otg_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 4 0>;
};
};

sound {
Expand Down Expand Up @@ -168,6 +177,12 @@
>;
};

pinctrl_usbotg: usbotggrp {
fsl,pins = <
MX53_PAD_GPIO_4__GPIO1_4 0x000b0
>;
};

led_pin_gpio: led_gpio@0 {
fsl,pins = <
MX53_PAD_PATA_DATA8__GPIO2_8 0x80000000
Expand Down Expand Up @@ -351,6 +366,10 @@
};

&usbotg {
dr_mode = "peripheral";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbotg>;
dr_mode = "otg";
vbus-supply = <&reg_usb_otg_vbus>;
disable-over-current;
status = "okay";
};

0 comments on commit 194521f

Please sign in to comment.