From patchwork Sat Apr 13 13:19:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Kueffner X-Patchwork-Id: 10899427 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AC5C71390 for ; Sat, 13 Apr 2019 13:20:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81AC028830 for ; Sat, 13 Apr 2019 13:20:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6EEE128B0A; Sat, 13 Apr 2019 13:20:31 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 0ACF728830 for ; Sat, 13 Apr 2019 13:20:30 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=ab5ccCnzKTXjHvIEee+6QwNGrPC0UEkv06jN7Q4aXfA=; b=cSD5CSs4uu7Sf+7CMHsQ6pu+bX kzGaMVydPzzIWMvwVjTlBWA8lCgfslW9pBLG9FzcHg2FdIu622jw9pIm3fRnchpW+5qxzKPKqwNr9 U+7WoFrA63pwYzIxKdhazpjd1rr2PQvqgzf7ie0S1ZZrevcwtPGUOqgh2VdzkDn1tlBYq/GQ99BCf phZdhleIy/yzM2KEjvvbCJSbwQq4bfDLP5XlcAjNAVYdXrXeCGNHG2Mo9sfzHSGslUneJe0FXBE2I 2Be1kz/FIEijHherypklow+Xfy+ibn+2Zd45mo+079/ORGs/eJkBkW6r8Ml8kYzpv62kkDyedB3he QhDKLTiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hFIa4-0007fo-0p; Sat, 13 Apr 2019 13:20:28 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hFIa1-0007fI-7G for linux-arm-kernel@lists.infradead.org; Sat, 13 Apr 2019 13:20:26 +0000 Received: by mail-wm1-x344.google.com with SMTP id o25so14500408wmf.5 for ; Sat, 13 Apr 2019 06:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0Ps806CbdF+Vy9hVqCMx6Y1YhgnAdCgwxnXGiSyCaEg=; b=BpcoiE4Adxrg4N1BoLEAfDPPJuKsGZ/w9WV0r1Nbo6vbMprxGid6Wh+qz4xHZBaepI bwl/eA16HWdC1PPOibh41/yN50JQ1WArFm0rNHZLUzJn/BrOxBGsIhveWn5YCq8xUCJS +T1zKo36iZuT3EsHhYhjB8LytfF4GKHfpm+zSqaGZJhTZ/ips5ag3fGXLkU8kk7ITC18 3ydyeVs1FTX/jqp5CgUQq1w/EhUGlnFAlEhOGkUSfBDE3mTlQ+r+Xm+jIOQA9xoQNuaR Pfx6VjVb179l4ozTCl8r2r39l0GF1FhvIyj4m1YUUPFGvU46eIO4IvW529Q9VhmmMYxB 1inQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0Ps806CbdF+Vy9hVqCMx6Y1YhgnAdCgwxnXGiSyCaEg=; b=lp+PNuf+nH/9eWuXoUHo1ZUgejRaF9oRUiV2AulDSQfKUm3A6qJqzbcWhhP0dwt5qP FWYT6b/SPAwPVq7j1T8h9ZT7J7xXaMZiOyymR0OGmQIYj0Is85YPb/MfF55gxMQPkebT zU9Q77Yuj2ObIEmll9p5+zQiD3/0DGS9ZwAJdvToflcUZGc3S/X8hXOPP4lt+Ph7N8T2 hH9HlAtzgJd3+2agzQqWZuDDWpw14jeUnp7vZqNM62XYR2WRZenOiKEmhID6l8p0UhU0 I0yt1gUi4QqESjqOTZUSBQ413yk4u8Of03nvp673P1EUmv94n6TnbG4lgc196Wdx2RSa tdpw== X-Gm-Message-State: APjAAAV4StKGQxL2yu9wKMI9DxWwpwiXaJtS5riMuEdqtTR/dprJyPlS cUhF6ieevwkfhkhAdwcPHTg= X-Google-Smtp-Source: APXvYqwndRez9Ma90oSRugf9B3xHU/oB5jsPkQSqvwWCZoZzKixi8v0HBnq+8WDJ7i876bVZUqhnRg== X-Received: by 2002:a1c:2d45:: with SMTP id t66mr15236392wmt.106.1555161621194; Sat, 13 Apr 2019 06:20:21 -0700 (PDT) Received: from armhf-buildhost.asgard.net (ipbcc343bd.dynamic.kabel-deutschland.de. [188.195.67.189]) by smtp.gmail.com with ESMTPSA id g8sm71659835wro.77.2019.04.13.06.20.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 13 Apr 2019 06:20:20 -0700 (PDT) From: Markus Kueffner To: Subject: [PATCH v2] ARM: dts: imx6qdl-udoo: Add Pincfgs for OTG Date: Sat, 13 Apr 2019 15:19:36 +0200 Message-Id: <1555161577-1533-1-git-send-email-kueffner.markus@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <20190411065440.GB26817@dragon> References: <20190411065440.GB26817@dragon> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190413_062025_289552_952557A1 X-CRM114-Status: GOOD ( 13.26 ) 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: Mark Rutland , devicetree@vger.kernel.org, Markus Kueffner , Fabio Estevam , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 Add Pincfgs to enable the i.MX6's OTG feature for UDOO Signed-off-by: Markus Kueffner Reviewed-by: Fabio Estevam --- Changes in v2: - put pinctrl_usbotg node after pinctrl_usbh as suggested - remove unsupported properties from &usbotg arch/arm/boot/dts/imx6qdl-udoo.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index 776bfc7..828dd20 100644 --- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi +++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi @@ -210,6 +210,14 @@ >; }; + pinctrl_usbotg: usbotg { + fsl,pins = < + MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 + MX6QDL_PAD_EIM_D22__USB_OTG_PWR 0x17059 + MX6QDL_PAD_EIM_D21__USB_OTG_OC 0x17059 + >; + }; + pinctrl_usdhc3: usdhc3grp { fsl,pins = < MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 @@ -287,6 +295,12 @@ status = "okay"; }; +&usbotg { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg>; + status = "okay"; +}; + &usdhc3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc3>;