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 S Cooper Jr X-Patchwork-Id: 112131 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp678788qgf; Fri, 8 Sep 2017 11:43:17 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6TgAIuB2cOo3xgt+L1UQ6ev6PCtbBG2HGNLInTYwFzWt8v8X/8ob6VT27jUFCBaErmjlzP X-Received: by 10.98.58.221 with SMTP id v90mr2213283pfj.338.1504896197198; Fri, 08 Sep 2017 11:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504896197; cv=none; d=google.com; s=arc-20160816; b=WioESM780DsHGBBgw2JTA+7+AZmhtb+Q35W9i5G2+FtlMdZERRcAJnAsukbEebRych 3Cs3LqsCW/G5ERtR634IMOeSGwQgzta7CD5E9DWEYFjs/7Kg4YRYls7T8xLicPqHqMx+ ZQPYa3CGwa/G6kSwd21pxbYEACUl81XES0UXLv5Jeg+7BlpRZVMoXudC5djTsvwSYa7R 01J0D9q6vOkUmvKB5OpTBx7aY3mxdH3YFny6ctmM/HuN83IoF/Bwvv8na3r/8oZ6K0T0 6fOBbEVr4sL2i7Tau/CxgsfMlUent4YrpQfPlh2twVblBHXysl9m5yVK/+U5uoYkIh8x nGbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=SbGLOKlxUDoeYBY0sss7VDX75gECzPttfupp+Tj2rsM=; b=v1gZFwcJLDKPjPvgxZvi9VLr8LYwGAUyQNxefQQsrCJr7LtPdghbobuizBIZbkRt5b AE9/aRUQDWO/SEmtazt0fGxpJ52pjjg9tTNFocQVnwHyCFn4Lcrje48KbFAd1laV9/HP h/pE2erYcViJKgUvQZs4ioql3vvbjpocLgYRoDmlt8AV9Hk9bjVaC+zwCdOqB0ctJH3w 1FUeZPWYsFRbyN0+e4BuW8u3KMBNqXLd4caUi+icSDOA3C1AefTVEUssRYUssUDr6DU8 zymb1VTT0XBikGc84/Jz+qOlV5JnfcddwcEAwJVjO23ANuDkrI4/e9gSXnlouP2e26WL NtqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=AMnOeikI; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s12si1897691pgf.690.2017.09.08.11.43.16; Fri, 08 Sep 2017 11:43:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=AMnOeikI; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756652AbdIHSnQ (ORCPT + 6 others); Fri, 8 Sep 2017 14:43:16 -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 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: , , , , , , , 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 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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(+) -- 2.9.4.dirty -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"; +};