From patchwork Tue Feb 5 12:45:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 157476 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5114162jaa; Tue, 5 Feb 2019 04:45:44 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibt+yW3iatqI2+UF3FizMR9MvynC6MhLhqega0UoGa23xfGyskhxFK1tDf2JTpOiI1ygo2H X-Received: by 2002:a17:902:584:: with SMTP id f4mr5120092plf.28.1549370744283; Tue, 05 Feb 2019 04:45:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549370744; cv=none; d=google.com; s=arc-20160816; b=TMCjltC1KARolMyJAG2/6Njastbs2uSSLw0DY6ZwELA0i38JPqQp4S0iJTTLdpBiGr vb18EBeuuilqfdQbiBZ+Dzy6syUe75c0cO8cDstXuSlfV7ZbPcNUmaB7/s5NhjBJnInD mJTiE/dMFwYbHWD60i3CROQdSO0R87zJZK1CW3n3PX4bzRZ/i11HLTx6VDEnlMoKQ0jC 2bI4nUetyrWiVk5XO7xX2j4IUcPAfFIxYnkOW6BFtMwB/17V3ic+PEkSnu1R5k7Dg0s3 thhI+10CZj5bPu+QDrEMw786w+DdAFjcHMev6iycR2j7TLI0ehzHoh6ewJ9g3A5J9oz2 ZvRQ== 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; bh=Wlnf+ZEJg6MMWZHAA6FwVketzy+HK4TcBlxjPcgvKic=; b=RmVvvCJ+6+OWciLCljSh4uNeDnf2HPlPdm9IwRCoyteF2fkBlFQ+vj9qV90Vug7owE LMzweYu8N9DTA9QodvcNyoGJ9QrSY6ic9f4yMTQg69qKzThORi83UGAmsSG3dMpzjLWc JTMpvWFL9U8cNKd9wq1ZzRczpEVtZXA6F4G+hYKlapK1r+bP63NURNeGumN1tEujlZYN fp2BCHbQ209GwcTScleiHVXcq7rbnDxQ8varecx6VHEnfrt8fccWTqL9px913NEQwhci 2ibpg4Atxhr6QD/o9iV1sCwRp5WtPQcxDl3LS+eFF9RX23rriepWgvIB5gKB2fixlTnQ rASw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Lg7WPGsR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 s17si2982460pgi.513.2019.02.05.04.45.43; Tue, 05 Feb 2019 04:45:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Lg7WPGsR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728990AbfBEMpm (ORCPT + 31 others); Tue, 5 Feb 2019 07:45:42 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:51888 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728835AbfBEMph (ORCPT ); Tue, 5 Feb 2019 07:45:37 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x15CjXlk002609; Tue, 5 Feb 2019 06:45:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1549370733; bh=Wlnf+ZEJg6MMWZHAA6FwVketzy+HK4TcBlxjPcgvKic=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Lg7WPGsR8O51gATxDjWghnclJsYQu3xLzbMpX/X/EC0IY6S0nfiYZ7aWzxyTPKdcK 2XNri16VC5XpFGlJ6HNMiU9RixJWP0Sn4KmBHVwlc4vtahQOlKj8MK3KlR4eQq2Cf6 72G/cLiSgj/h7mJqd116xJ3sv4VsZ7FkJLlb1NV4= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x15CjXWp008621 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 5 Feb 2019 06:45:33 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Tue, 5 Feb 2019 06:45:33 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Tue, 5 Feb 2019 06:45:33 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x15CjOVP012216; Tue, 5 Feb 2019 06:45:31 -0600 From: Roger Quadros To: CC: , , , , , , Roger Quadros Subject: [PATCH v2 3/3] arm64: dts: ti: k3-am654-base-board: enable USB1 Date: Tue, 5 Feb 2019 14:45:22 +0200 Message-ID: <1549370722-414-4-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549370722-414-1-git-send-email-rogerq@ti.com> References: <1549370722-414-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add pinmux for USB1 and enable it as a dual role port. Signed-off-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts index 11e9a2a..a70e904 100644 --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts @@ -86,6 +86,12 @@ AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */ >; }; + + usb1_pins_default: usb1_pins_default { + pinctrl-single,pins = < + AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */ + >; + }; }; &main_pmx1 { @@ -188,3 +194,25 @@ non-removable; ti,driver-strength-ohm = <50>; }; + +&dwc3_1 { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb1 { + pinctrl-names = "default"; + pinctrl-0 = <&usb1_pins_default>; + dr_mode = "otg"; +}; + +&dwc3_0 { + status = "disabled"; +}; + +&usb0_phy { + status = "disabled"; +};