diff options
author | George Cherian <george.cherian@ti.com> | 2014-10-21 13:41:19 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-11-10 14:27:35 -0800 |
commit | 95cc6af8200665f3490e3e836dc9c6ac058c9422 (patch) | |
tree | f7d4805c50bfaa892cb74e91d57055895bb97c39 /arch/arm | |
parent | 6b14eb4705d65befdb055998b017bb7a3bb7dff4 (diff) |
ARM: dts: dra72-evm: Enable USB support for dra72-evm.
Add USB data and pinctrl for USB.
Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/dra72-evm.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index 6f5417a8b83f..ad6ec4ae0a25 100644 --- a/arch/arm/boot/dts/dra72-evm.dts +++ b/arch/arm/boot/dts/dra72-evm.dts @@ -53,6 +53,18 @@ 0xd8 (PIN_INPUT | MUX_MODE0) /* gpmc_wait0 */ >; }; + + usb1_pins: pinmux_usb1_pins { + pinctrl-single,pins = < + 0x280 (PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */ + >; + }; + + usb2_pins: pinmux_usb2_pins { + pinctrl-single,pins = < + 0x284 (PIN_INPUT_SLEW | MUX_MODE0) /* usb2_drvvbus */ + >; + }; }; &i2c1 { @@ -257,3 +269,15 @@ }; }; }; + +&usb1 { + dr_mode = "peripheral"; + pinctrl-names = "default"; + pinctrl-0 = <&usb1_pins>; +}; + +&usb2 { + dr_mode = "host"; + pinctrl-names = "default"; + pinctrl-0 = <&usb2_pins>; +}; |