diff options
author | Marek Vasut <marex@denx.de> | 2016-04-20 00:36:01 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-05-03 21:10:11 +0800 |
commit | 194521f72380d0e78caa71013e9e7de1703d8c85 (patch) | |
tree | 49172ec88281506833f282d2de3cb82581ee61ac /arch/arm/boot/dts/imx53-m53evk.dts | |
parent | bf3251e112a0139c8dec796c9f12f2e8f01a73ca (diff) | |
download | linux-next-194521f72380d0e78caa71013e9e7de1703d8c85.tar.gz |
ARM: mx5: dts: Enable USB OTG on M53EVK
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>
Diffstat (limited to 'arch/arm/boot/dts/imx53-m53evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx53-m53evk.dts | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx53-m53evk.dts b/arch/arm/boot/dts/imx53-m53evk.dts index 53f40885c530..dcee1e0f968f 100644 --- a/arch/arm/boot/dts/imx53-m53evk.dts +++ b/arch/arm/boot/dts/imx53-m53evk.dts @@ -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 { @@ -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 @@ -351,6 +366,10 @@ }; &usbotg { - dr_mode = "peripheral"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg>; + dr_mode = "otg"; + vbus-supply = <®_usb_otg_vbus>; + disable-over-current; status = "okay"; }; |