From: Tony Lindgren Date: Wed, 23 Dec 2015 00:01:41 +0000 (-0800) Subject: ARM: dts: Add usb support for j5-eco evm X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43fe6de38ea57bf3ef20e89d8bf9b799a7ff0c0b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: Add usb support for j5-eco evm Add usb support for j5-eco evm. Cc: Felipe Balbi Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/dra62x-j5eco-evm.dts b/arch/arm/boot/dts/dra62x-j5eco-evm.dts index 97ac8393e347..79008069020d 100644 --- a/arch/arm/boot/dts/dra62x-j5eco-evm.dts +++ b/arch/arm/boot/dts/dra62x-j5eco-evm.dts @@ -56,4 +56,25 @@ DM814X_IOPAD(0x093C, PIN_INPUT_PULLUP | 0x80) /* GP1[6] */ >; }; + + usb0_pins: pinmux_usb0_pins { + pinctrl-single,pins = < + DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1) /* USB0_DRVVBUS */ + >; + }; +}; + +/* USB0_ID pin state: SW10[1] = 0 cable detection, SW10[1] = 1 ID grounded */ +&usb0 { + pinctrl-names = "default"; + pinctrl-0 = <&usb0_pins>; + dr_mode = "otg"; +}; + +&usb1_phy { + status = "disabled"; +}; + +&usb1 { + status = "disabled"; };