Message ID | 1601656238-22232-5-git-send-email-jun.li@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=6DlO=DJ=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CFB5D13B2 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 2 Oct 2020 16:36:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9D1E6206FA for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 2 Oct 2020 16:36:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="C2S7FMR/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="WiZK6GSa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D1E6206FA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=TALlaVVn4FVmyCdLtGAcpamb6iZlxEnAOuhZIA3kyFc=; b=C2S7FMR/wzBsKzO+iiGNk+jyR gIAyip1G/ni042vXw1gYVxiTmNZ/MLqi4M36UmjDmMNu4eZqKqj26qacCBnlc84wuVLC9ch4hDu36 mcM7eAcda11DLvlmoCnJXPeWjhwdg+UD7tty3NzsC1LGrqjDzfp2oUTPHQ28Dm2RboBVHnaWd7Pvl 98+qKpn/uGCkdHxawCpat2QHBaHrsDR6UadKCSa3lbxJfwfCqFgsfcLkJhwEG+cUOURsSiUB8i+RN pXUeNWT1tCqngMUm0AATbrgq+uj09/mqGIYNkKngWwgFhlcVtmgEgdlk/QpgxC+Ek9lDrnmgdi6aA x4+G8dfjQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOO1k-00061l-JF; Fri, 02 Oct 2020 16:35:24 +0000 Received: from mail-vi1eur05on2089.outbound.protection.outlook.com ([40.107.21.89] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOO1f-0005zI-Ek for linux-arm-kernel@lists.infradead.org; Fri, 02 Oct 2020 16:35:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YyPNgmrMv1hQPZz7oKaCyM6mcqnXd77WhCEs9GLKI4FS7woJs8GaBO3oOZIC+XDpaTiCPP93cJi9mNf/llTzSI/ra2HESQNaQUyRIzzzNhQiNFoUdeEKyOqIFzy6XM8sfXnFjYxjRpFG9SyO43IX8dkdh1a5ihO/rBUn0lPcHvC0OTl6pZMl1Kz/0v7UvkUJHACrc0EJo3MgpKy+93CyUsHpCrogrez4d0dzh1oCtjgu2ItzUg60Z+uPp3aWFSBAiJ0XkWwh+twSx+Gs0F4xukasPtMHuLiWxEGWL7EHxg7wuzjRRRJQiXqwwxymfm8MLU04JdTEhqLAWWL0DGlVyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QI4zXmZg7Uo6OKFNqSKKwim+JAGdaV75yasTPS+Lg1k=; b=fF7cWdJONzvTKzTBVvS26GWE6HFauMhg79VM1m8JOzw/sqV5AszRtYm83cYoBnH1WCiBdU35HPq/nbNYU7qfEzfjfJSWGrVLMO0CafL2+OSq7tRXai1Ezb8kKULMn4eT4evDWH2VQKjxlh5LWpZsUckuSkLWQBgL6R4B6/T4tltEPupn91C3Vp6X3Q1vu4w5fB8fl1oFvOIGoBVEiQ2kIP5yk+Uv3ZK9r+hhOABtQUCkCA1sTXHze4fh10CHPkH7wmevSG22czH4uvzm1E6fNGbiQ0M2wnmvGXFT8DBz9tWJYTZ3wuGV7FgWV8pvIUQmanic7koppeLRqB/OVpqT4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QI4zXmZg7Uo6OKFNqSKKwim+JAGdaV75yasTPS+Lg1k=; b=WiZK6GSacd3A9m3b+3vWQL+7PynYaDZ+oS2P62JPyzQ2I1vx1SzMLIcadi9k2RUPkGcA2ay2ZSjLsu9U0M6233fwdyOYVdAPr20vPcQL0e/gFdInYUOtUFBzByiE9yE8UxQA+mUFw78DyNlLcbUgdtbruQERb3wlBU/9p3y6hKI= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB6528.eurprd04.prod.outlook.com (2603:10a6:803:127::18) by VI1PR04MB5213.eurprd04.prod.outlook.com (2603:10a6:803:54::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.38; Fri, 2 Oct 2020 16:35:17 +0000 Received: from VE1PR04MB6528.eurprd04.prod.outlook.com ([fe80::acd3:d354:3f34:3af7]) by VE1PR04MB6528.eurprd04.prod.outlook.com ([fe80::acd3:d354:3f34:3af7%4]) with mapi id 15.20.3433.035; Fri, 2 Oct 2020 16:35:17 +0000 From: Li Jun <jun.li@nxp.com> To: robh+dt@kernel.org, shawnguo@kernel.org, balbi@kernel.org, mathias.nyman@intel.com Subject: [PATCH v4 4/4] arm64: dts: imx8mp-evk: enable usb1 as host mode Date: Sat, 3 Oct 2020 00:30:38 +0800 Message-Id: <1601656238-22232-5-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1601656238-22232-1-git-send-email-jun.li@nxp.com> References: <1601656238-22232-1-git-send-email-jun.li@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR01CA0106.apcprd01.prod.exchangelabs.com (2603:1096:3:15::32) To VE1PR04MB6528.eurprd04.prod.outlook.com (2603:10a6:803:127::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR01CA0106.apcprd01.prod.exchangelabs.com (2603:1096:3:15::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3433.36 via Frontend Transport; Fri, 2 Oct 2020 16:35:12 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4d19faee-1c29-454d-0129-08d866f12501 X-MS-TrafficTypeDiagnostic: VI1PR04MB5213: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <VI1PR04MB521382D3E14995DA0CBB867989310@VI1PR04MB5213.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:200; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QVb/3A7KvefgU/pJZLRjN2OL03G0U7BC39LGXVgDLn0sC60qt19VCXrPIwx1KGMvO4DKGrZcKE6d2fzcDfUUwsjTt1LOT9RI5sJ494337prQ6ROOk420P7FM5/6cZc4a/ARgbzGBtY34kBlxci53+VhDbgH5j0/gW10uyEuJ5n+M31R5QTqpYYkhqHG7xE9oSaXBoclOtfYP16AyZ5iJZoaKbyUxgCTbg84ifrTIs/1mUI6J7g49iMCvHazAuJV51oGHMRr/FYOXq21a8/4ZUtLFovuYnXJ8ZGjrsKyCiy9RIotENLmQ6OTKsc/lvxATBC33rb0xnsGGmSnn9VCwvBmyTQt7f1gqGsKhNFTc2gL4HXhrZcj3I8ehMw9GhxAC9oC20lIYVwphpqMkUHDsy4ABYAawGcHSZ5pOrSDEi/Xs3/o3p/O1UEVHSDdPJBRj65v+kCdK8e4awnmOMSc+wQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6528.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(136003)(376002)(396003)(39860400002)(6666004)(52116002)(478600001)(8936002)(4744005)(6506007)(16526019)(4326008)(69590400008)(6486002)(26005)(186003)(83380400001)(2906002)(956004)(316002)(86362001)(8676002)(6512007)(2616005)(36756003)(5660300002)(7416002)(66556008)(66946007)(66476007)(32563001)(414714003)(473944003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Zge0Ousali8M9fmonFK+JMePowg3XCYMsiB+r5w8P4uYasgXJFXHCuwamHtrPTymep+5Fyr+0CKOLncxk7aJoa29y2QET6xd0CgGRN59pJdXImQOFHvLMlai6hT3yrrA6t1MvxQflGiHgGnAs0IEjw7G9NrcPIMsUJenbWI4BfPrey6XD8xyuGgSYcqUlJNvprrQ0zMOX8HnMrjFqFKSep2RQ3IprRPjQHtPkknxHN4iRj3U903ZeaxWvAV5VlQ5U0eH0KkAWBX8lCUmswXWk6H4Hq8h/LqcziRFYaZNQ+Fr1s6AdOPu3n76WPTM2ogcRSfdKcYToj01HVPDMjr1f7vVOUBOfzqc441NXhk5reAGKEqjlZWJ7Dz6S9CZ1VnhGwXX0wrIwuP2maWRgCe0L+M+eSZCZHglvBU7zOwayJpYQX+zXm4JxHo0wCq6S9+byLxOWHBai+iBjJJrhFtGFqIMb5hEqwSwvPtRajeRcRGLk0y/w7a/kQUZteo9Fk5Ax7aZABuxrFNCvwvlykr8HFd7AhKhQPWO5DLnnUmMmh5OAEMhEA2hTX8C2HEHBDMyWzdVHSZJ7/4KMBxuEyaiBBGDLCFOz3272M7t/kW5ULDmkKL/I0Nv6mTy1mtI9B/Lu+Y+3IsPfO2vyDXcxw+yog== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d19faee-1c29-454d-0129-08d866f12501 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6528.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2020 16:35:17.1197 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: VFFKkLuZl2W5St41snfg8LxFa/vwiyEITGFiZHyDitGmQV43Jqp+pDQx0sTfGGmZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5213 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201002_123519_617671_01A38703 X-CRM114-Status: GOOD ( 11.75 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.21.89 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.21.89 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: aisheng.dong@nxp.com, devicetree@vger.kernel.org, peng.fan@nxp.com, fugang.duan@nxp.com, horia.geanta@nxp.com, Anson.Huang@nxp.com, gregkh@linuxfoundation.org, s.hauer@pengutronix.de, linux-usb@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
add NXP imx8mp usb support
|
expand
|
On Fri, 2 Oct 2020 at 18:36, Li Jun <jun.li@nxp.com> wrote: > > Enable usb host port with type-A connector on imx8mp-evk board. > > Signed-off-by: Li Jun <jun.li@nxp.com> > --- > arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 432c1a7..0cb3b16 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -176,6 +176,21 @@ }; }; +&usb3_phy1 { + status = "okay"; +}; + +&usb3_1 { + status = "okay"; +}; + +&usb_dwc3_1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb1_vbus>; + dr_mode = "host"; + status = "okay"; +}; + &usdhc2 { assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; assigned-clock-rates = <400000000>; @@ -276,6 +291,12 @@ >; }; + pinctrl_usb1_vbus: usb1grp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO14__HSIOMIX_usb2_OTG_PWR 0x19 + >; + }; + pinctrl_usdhc2: usdhc2grp { fsl,pins = < MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190
Enable usb host port with type-A connector on imx8mp-evk board. Signed-off-by: Li Jun <jun.li@nxp.com> --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)