From patchwork Fri Jan 11 10:01:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 155321 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp381476jaa; Fri, 11 Jan 2019 02:01:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN6S3EgYxIwlsXiU54tjDadgREQ58udHkd7VtQU2DCKKIU9wzHtese4BNLPc14bxLkWtYI/l X-Received: by 2002:a62:8d4f:: with SMTP id z76mr14322283pfd.2.1547200884546; Fri, 11 Jan 2019 02:01:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547200884; cv=none; d=google.com; s=arc-20160816; b=NHV74t0iXo5gj7ECjtqgcWVNGlKaBOu694M2PPAuC5eNpwcYv9UIu8P5Lpb8o1MR1N 6i1EgJahSmQm4kOfdoXE0KQgVwN2rlT5OE+CFwEWhleWeO71KGN2e2Q/SoLlhp3+qgJO C7Eh5m7bQT2z+YmTJKO9xnWK6Niw3ybGgEo0xZTabRQKKE+BInEQhvNkh3jn+dq6zujl pVTfRXXvVa4DerQGn3QK32UbakPG/BGmI1PrkmJu2pcFmvtAusVpnpNfyuxcigGOttr3 EWx3Ea6vBW4YP6lLWybPsKZv4JVr4vja+PxTc52O/diuN3Pl5v932POSXE7fGGkf0xCo flQw== 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=msmu3UNmTxS9topzOUSlsNiM2nz/6tPGIWLErwVxSgM=; b=sHj1MpW2QDSlzad5ozTzk2Alq3B7BnFnO//fEyCfD6vRDL9vrJ2qRMLjqtZhLiBqOT Ez1DOU4JFraDTHraZwgecncfgP4W5k0M8MJrF48yFd0DQ67ZfE7tj34EBTmFnK6dr+sn rSMCss7HqrkI1kiosKQXMVvZTq/gJklurKsKheafZJCxohhYKShJsTj+u/6LwOCTU8+P 1SiIKdxtUfNVMCmLGH0cxVwjCwunDeRkAHoOwzASEgegpFTQ1WqAIU//WXZUh3xoXI99 Rub3k4RQ0vs5un/8O84g8nq0n//QNibNp6V5pWHY6MYfMFA83y98IKqFhvbSeGfJTTQN NFpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cfdwsNYf; 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 q11si6562788pgj.313.2019.01.11.02.01.24; Fri, 11 Jan 2019 02:01:24 -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=cfdwsNYf; 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 S1731643AbfAKKBX (ORCPT + 31 others); Fri, 11 Jan 2019 05:01:23 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:50618 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727653AbfAKKBW (ORCPT ); Fri, 11 Jan 2019 05:01:22 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0BA1DSn073888; Fri, 11 Jan 2019 04:01:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547200873; bh=msmu3UNmTxS9topzOUSlsNiM2nz/6tPGIWLErwVxSgM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=cfdwsNYf6dKUBEqYuKebaqWzklNTu0UgoqfJfuDB4ywKWOzzsXvsCmxCWJfrjHi0z CLEKMbAOyLn1R6f8bssyP31c7BeTL5DW8GJ1YXwxQm8p3dGRAe20oO3tllTDWZhSoN RHQ2SGQb3oG3cX2+/ZzCxm2YT2zjGH0XaVsDEpoM= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0BA1DS8038269 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Jan 2019 04:01:13 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 11 Jan 2019 04:01:12 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 11 Jan 2019 04:01:12 -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 x0BA12Xc015629; Fri, 11 Jan 2019 04:01:10 -0600 From: Roger Quadros To: CC: , , , , , , Roger Quadros Subject: [PATCH 3/3] arm64: dts: ti: k3-am654-base-board: enable USB1 Date: Fri, 11 Jan 2019 12:01:01 +0200 Message-ID: <1547200861-17795-4-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1547200861-17795-1-git-send-email-rogerq@ti.com> References: <1547200861-17795-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 | 20 ++++++++++++++++++++ 1 file changed, 20 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 e41fc3a..c4f7b29 100644 --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts @@ -69,6 +69,12 @@ AM65X_IOPAD(0x01bc, PIN_OUTPUT, 0) /* (AG13) SPI0_CS0 */ >; }; + + usb1_pins_default: usb1_pins_default { + pinctrl-single,pins = < + AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */ + >; + }; }; &main_pmx1 { @@ -163,3 +169,17 @@ #size-cells= <1>; }; }; + +&dwc3_1 { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb1 { + pinctrl-names = "default"; + pinctrl-0 = <&usb1_pins_default>; + dr_mode = "otg"; +};