From patchwork Fri Sep 8 18:41:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Franklin Cooper X-Patchwork-Id: 9944879 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E96986035D for ; Fri, 8 Sep 2017 18:43:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC9A12888E for ; Fri, 8 Sep 2017 18:43:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E11582889D; Fri, 8 Sep 2017 18:43:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 645EF2888E for ; Fri, 8 Sep 2017 18:43:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=z57au9nZDl9WZQkFsaZkPcePaPmqgQtLyyEvDg3JGvg=; b=bjOo3IdROXl/Td Q3HLB1zKdhBkQJ31ulqnQwt63Fgx5I48VjPGCP4mLZy3nBspBMpnIVrQ1MdPtVw9SMhxTFAm9Ko+Y Y82DmAYY//MYI/5kSYHoxB7MhBHBXoWxk63Mvi+SSg8wqxHiE7K48J1yu+7X4QYhojKNUWOTX4LHu dL6u4B/4lL2TRf1C88/xV4dTKL/Qrh+R9LK31Efg2AGRLc1NgLBRs8zOXT9C/iUMwLnC1HXULGRg5 JoQkDWXGUjwCN3/4WgBMtgWqDdWI+kI35/fUtvArKrlJ7iiB+XNZ+X4s6B8pjVOIv2uOd3sLJ4hrW zpmpiY5BTKnpLTmN6JQw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dqOFD-00048H-Sx; Fri, 08 Sep 2017 18:43:11 +0000 Received: from fllnx209.ext.ti.com ([198.47.19.16]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dqOF9-00042n-63 for linux-arm-kernel@lists.infradead.org; Fri, 08 Sep 2017 18:43:09 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v88IfuhQ015443; Fri, 8 Sep 2017 13:41:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1504896116; bh=rHhsmO4aVzPlDguQvCqshcEFcShwuoAJstkAltaKhp4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=AMnOeikILSVe7bpVEFmChDhAMJ2OXKcEKQc9Qj/f2QopCV83AxEH8+QjUMbcvjVqj pIszIIPF2xzG94xYU2Zo/BVZ3RxcVnYdTD8E90EB8j6pqoeA+A/NwW8ciW/jIx4PXy T8XLZBenhxfkpOFA2okNUY//D2jjVNe+udPSXFHo= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v88Ifp2N022603; Fri, 8 Sep 2017 13:41:51 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Fri, 8 Sep 2017 13:41:51 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Fri, 8 Sep 2017 13:41:51 -0500 Received: from dbdmail01.india.ti.com (dbdmail01.india.ti.com [172.24.162.206]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v88Ifoux001289; Fri, 8 Sep 2017 13:41:51 -0500 Received: from uda0273011.dhcp.ti.com (uda0273011.dhcp.ti.com [128.247.59.135]) by dbdmail01.india.ti.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id v88IfdKL016130; Sat, 9 Sep 2017 00:11:46 +0530 From: Franklin S Cooper Jr To: , , , , , , , 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 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170908_114307_487558_64F983CE X-CRM114-Status: UNSURE ( 5.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Murali Karicheri , Franklin S Cooper Jr Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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"; +};