From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756851AbdIHSnR (ORCPT ); Fri, 8 Sep 2017 14:43:17 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:49905 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756294AbdIHSnP (ORCPT ); Fri, 8 Sep 2017 14:43:15 -0400 From: Franklin S Cooper Jr To: , , , , , , , CC: Murali Karicheri , Franklin S Cooper Jr Subject: [PATCH v2 2/2] ARM: dts: k2g-evm: Enable USB 0 and 1 Date: Fri, 8 Sep 2017 13:41:32 -0500 Message-ID: <20170908184132.6155-3-fcooper@ti.com> X-Mailer: git-send-email 2.9.4.dirty In-Reply-To: <20170908184132.6155-1-fcooper@ti.com> References: <20170908184132.6155-1-fcooper@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roger Quadros Enable USB 0 which will be used as a host port and USB 1 which will be used in peripheral mode. Signed-off-by: Roger Quadros Signed-off-by: Murali Karicheri Signed-off-by: Franklin S Cooper Jr --- arch/arm/boot/dts/keystone-k2g-evm.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts index 61883cb..4f56295 100644 --- a/arch/arm/boot/dts/keystone-k2g-evm.dts +++ b/arch/arm/boot/dts/keystone-k2g-evm.dts @@ -41,3 +41,29 @@ pinctrl-0 = <&uart0_pins>; status = "okay"; }; + +&keystone_usb0 { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + +&usb0 { + dr_mode = "host"; + status = "okay"; +}; + +&keystone_usb1 { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb1 { + dr_mode = "peripheral"; + status = "okay"; +}; -- 2.9.4.dirty