Commit 194521f7 authored by Marek Vasut's avatar Marek Vasut Committed by Shawn Guo

ARM: mx5: dts: Enable USB OTG on M53EVK

Add USB OTG support to M53EVK instead of just USB gadget.
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent bf3251e1
...@@ -84,6 +84,15 @@ reg_usbh1_vbus: regulator@3 { ...@@ -84,6 +84,15 @@ reg_usbh1_vbus: regulator@3 {
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio1 2 0>; 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 { sound {
...@@ -168,6 +177,12 @@ MX53_PAD_GPIO_3__USBOH3_USBH1_OC 0x80000000 ...@@ -168,6 +177,12 @@ MX53_PAD_GPIO_3__USBOH3_USBH1_OC 0x80000000
>; >;
}; };
pinctrl_usbotg: usbotggrp {
fsl,pins = <
MX53_PAD_GPIO_4__GPIO1_4 0x000b0
>;
};
led_pin_gpio: led_gpio@0 { led_pin_gpio: led_gpio@0 {
fsl,pins = < fsl,pins = <
MX53_PAD_PATA_DATA8__GPIO2_8 0x80000000 MX53_PAD_PATA_DATA8__GPIO2_8 0x80000000
...@@ -351,6 +366,10 @@ &usbh1 { ...@@ -351,6 +366,10 @@ &usbh1 {
}; };
&usbotg { &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"; status = "okay";
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment