From patchwork Thu Dec 14 11:24:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13492829 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A550BC4332F for ; Thu, 14 Dec 2023 11:19:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=RJhj0kbcm5H0+VsE7iV2Umu1CFufA+svWaBnFsb1Ezo=; b=D/axwnM4kBi73x XFNkDFzxWqUJop2mhnAIFQzLR44Pjy+XUi1/G/qX8Hqfh9++q5CVqZa6uffNWXZDbcBVSfRtJS/BN 1x0sy7oszXUaoxIl67FOZ7UroLI/o1I4K4Oqym3u50kGAf4HuHkYi5hPb7/TNc1O5IQHoCmdKyOSN AJy+61Yc/pL5Ng9vW3QEuZp4LqNsbKhHFdrmCY4iGT3H/xCHrvsyX57zhad8R/MyXOF7LLSNmfKi6 /wjamTAww0oXq9Sin26Fro+r3ClTFA6AlqTSGvJaAV8MuXeK78aQ1sfXFioQV+mDAibz2tM2WmrhW jk34bwgRBEUUMinKX5tQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDjk1-0001Ii-2G; Thu, 14 Dec 2023 11:18:57 +0000 Received: from mail-vi1eur02on20612.outbound.protection.outlook.com ([2a01:111:f400:fe16::612] helo=EUR02-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDjjz-0001HJ-1w for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 11:18:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fatOQzbCcqZZUNTQZ4qelEvJ/+gGicauE+kKSWNtzW6NtaJv09XTl/o9IKrMa5JXxNq4lMci/wYxLz0mZlsVRlN80kxGq8r7DL8/eYN5Nf/q5KOaoU6Mpa2AEVLCinbsZm5PHvPqpLZlIDpEgNXY+qJmlRCqM2Dc21p7aVvba9lIEL/rSq8uyCfjPlRXsT3XMFIr83AoUjycWlVKACMqoikid8bzAtNWsYwmx6wVKqSTGJ/sLrV3g+TyvuuvcUQKMXuzqumQCYrqtlO3QI4oucxRahW34MveIAWcll86w1pQMBKvAhAuY9Yr79WU8IY3g1o+d737L8eEFZ4bhBCtLA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xF87Zy9FUix6bcz7IZiEqdWLm2hQT/zHdEN1ZNfYuh0=; b=VKVjcafAP4apXDXZ2D3w0mjOpdGr5pIc3hRTn56/vfmNRN94ddvBQ50xCvP2gNLsHAK4MLTgruVt0RZoSYaMpRc+m78Xy41w3y6FAURaC2hDN6tYFHpXfsrVfamZEDEsDxaZ+0+D/KqpKxjnK6udP3WTCEtBSMuZEMcpBI4qv6kMz+kUdOYsLNU8K/4b/SaY4oQcigE7V+6YSkdpCoUE8IifDo7hu4KCSpsgN4OJm0Qrz2TuOr+BqwJKwmG/5OWyuSfdmlzzrqvAkfZQaE/pebKRqJPDef6m7LsJk34A9fT2jrzukekR2b6HcTyHg3u5qzJ6c3UXRVQmwTwjIwZOCg== 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=xF87Zy9FUix6bcz7IZiEqdWLm2hQT/zHdEN1ZNfYuh0=; b=nTJ3iUboO8JYRe2zABBnW1AzThh4HwzvqWrQ8at9fGaS7hY+4pP5JNxRJbyNB7T55ziBamRXrPgaBvEpdSgaRdXcE8wiu5IW4UmvaxCpKmz37HzqLdjkzeJTvGk+p3n3gsy4iKJDqfGqeElPn8OV2J7FtDB77GV7HLrTl4+TwBA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5152.eurprd04.prod.outlook.com (2603:10a6:803:5b::13) by VE1PR04MB7438.eurprd04.prod.outlook.com (2603:10a6:800:1a0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26; Thu, 14 Dec 2023 11:18:49 +0000 Received: from VI1PR04MB5152.eurprd04.prod.outlook.com ([fe80::577e:f2c6:9d67:f89f]) by VI1PR04MB5152.eurprd04.prod.outlook.com ([fe80::577e:f2c6:9d67:f89f%7]) with mapi id 15.20.7068.033; Thu, 14 Dec 2023 11:18:49 +0000 From: Xu Yang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/4] arm64: dts: imx8ulp: add usb nodes Date: Thu, 14 Dec 2023 19:24:39 +0800 Message-Id: <20231214112442.2412079-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SGXP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::19) To VI1PR04MB5152.eurprd04.prod.outlook.com (2603:10a6:803:5b::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB5152:EE_|VE1PR04MB7438:EE_ X-MS-Office365-Filtering-Correlation-Id: bd58ec64-473d-46f9-6916-08dbfc9671b4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1ffUdiHZkFPSDPc4k2dO+Qw9tlNAI1zC/sWcSFx1xf6/0Nm4U7KR+Ve1Yot9CSNe5lssWVMqsCscieeQmshlfCE7XAyt+4wwwgTb3FrN90daReXrf226FcO6clfVWmT6Q4zM3za34UM3vmCWVaDQ7Xyjz+AZ4lVDYHGBR0I2UZmvU2omRD/Sk1KD748mqC5KjKzu5VtT2dsAmryYs6e/NaKZSwNtLbj4cQte9C+HRQ0dZhebEtU+39yYH/iSQT3QxR42tsizrctySDU/7Ba3iggKQ38gr1Qg1FUPznvJFwf5YubeFlRJob4s2Bx77mmchTDvjx6WpHD7b+ZsREVBP0o2wpURHffYfqKlIGbe8drp3OzPiiaUuNoametGayAAAS2471lxSvNCOg+SMc2SLd7tSR0aQ40UT89PkJ6AKv2gc5+fk8sAFhCH4JnuhbqaDHi+K7wTsVNF9f5CtoQFrDPs/XmSRlIw/4c1CbSFJxTfXTZBlzPsdERoumll8Mc+IqFUol9e+2f5ZNE6S/CCT260JmPysGJahNPbttiBZTlHYwFDWvWGa97FspJv/rfFjmleacipjyoPgeEnlbZCHWk64ad5Ph8wDcoyZ/4rynnI/NRThoAv7oUeU4Qg5Lxjd7cG2T7gNAjnHY407bmoVQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5152.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(346002)(396003)(136003)(39860400002)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(1076003)(2616005)(26005)(6666004)(6506007)(6512007)(52116002)(8676002)(5660300002)(83380400001)(41300700001)(4326008)(478600001)(66946007)(8936002)(66476007)(316002)(6486002)(2906002)(66556008)(86362001)(38100700002)(36756003)(38350700005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3a9G3bcjRVoST1aP5aj5cQTM2VPP77YeZqI081QydpbHJeAZJRqDCouXcGvf8/EC0NsyrWjmptm/kQ9frm7p22hdt3MPst2vGl3VlDbXjsipoa0bnzECDTLomFuSvrCJ/d+2d4WIgjKMY7TZUtpUCP0HRwukk1EudXTjV8rWFwizX+cBQATIbudpYRxk9zdWR8nTdgMWPAxgmaoPZoZkalbhMeXN8A8gHedhkfJMeinzlMHSpfkWtyK0FvCk1L1IeBlpiW4SIFAHB0EQRagmUEhknUmrcymrUu9+b5sEzq5x56S1GEYx7sCVIDWsXncs1BxlKhfx060jhrpDf1X3d20iz6otRc9x30ZPyWlwVQrPospl1tML6ZtDkt2j+TYMhwordUT5uIoH4RSIteDXdcI4DtNIfzwxPtZaC7FqgFGGo/PKGaCFNITwPVV2Dx1tKU/FXybYKI6Tyn7CitZ+T01/s8kTsx/wRZ8MFyC7Tc9RceqaJBv96Kd0elYVwEFXkx3RzcLU9GRYsglYT7cbKdVBNL4cfbzrmUQZ4KMo9jhVNX+VneL+uVlA+unKhKOtJ0yCJCb/CQ0YtixsG/HNAL2HPSGLNb6vla+UN2McUdD/nELqhyVEK+zZTZ1FtjIkzMQw3OWXt7gZbwPhq6v2Y/r5IWgYk0AX3ogEcZl2rsNP5xzA8xRbgT47SevPYGssWg6z1TvwxtYCFv+jpN4nQilTnLxXu0m3K2subuCImpQERMHbQSBOagCZ/z0rhIKeyzHKWJJReF37XpbIJF3obsdPE7ng9vqJdtcLZuePYQxVL9i3d9p9NrdbYbodWiyo8FXD7DhwG+UpNPiMTwHlRg4aq/0mJJU6ReL9gnmarKbZ04IxtDHFzAvxifJw8qVZRvrWx5OXv0U0C8COS+Ekf8IXG1SZyejNHLtwTuJgbUn4TP7UzNRSwlAz2I2RhwnXsgMlgiREu7TWO9eVR7t+LbCxa9IkZygMHl7AP7tCi2L45YuZjuEaydOJNy0KPoEiFm6/iz7hrDnhPMKFnpIIp/x5UScti+E3fRSC6HBNeAH0DJJzs7j3Tp22ITlLXLc3IifMjUubDdudJjwFWrKxGZUqfLcYRCVkAqUFe0o5ctBoV9RhKO99jxovZ9DUtCmrpLwKKS7qbnMf3JcMg0o1kX3G7o+tl5tCRwZODZbmJeoDB70TzC1O8WiT0IAgI/6wFWwk75P3u25Xg5imCdRb9OTTpmDSJsMOQCPQOIOfocMc3rW+lfiduP5q13rG0BXKcf/QWHvmj0KRhs3SnrAOURrN3MMbrEtX2hE7e7ihkcI0RWTPFSxa0JpO3Iv08Ngqx1U2I8zJCaTsiVXXjwnzwlwBSIJyc0BZmBX1YicreY05unsRfN6+MZ9wN5SFpajimPfzrE4nKiI2UXm22AWU4EmdyJnypGheU3Uh6AxG3O8zXULoH/QVpTbFn3K79KGv5uaD/0UVAFhPGhKSR8F3z2EguEdLywTz6MfVmdwN0LDwI46PWURKiWakkZ7JShSlKTtzSLFjeH0+hhSWaVQNi2VtRwcr4u82koX+3LCNC0QQX7rHSxGbzL6kta745wd3 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd58ec64-473d-46f9-6916-08dbfc9671b4 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5152.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2023 11:18:48.8185 (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: 2rnFxm1R0TrtJbks/gGnDmi9MDVUPaF/uSfzM0eSXUCkHW9zGjBVdZ2W4Po/DgbYpm/HwjACF1xeiqwkfiMQ8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7438 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231214_031855_645450_883D29F0 X-CRM114-Status: UNSURE ( 8.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add USB nodes on i.MX8ULP platform which has 2 USB controllers. Signed-off-by: Xu Yang --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index c4a0082f30d3..ead1f57e08ef 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -28,6 +28,8 @@ aliases { serial1 = &lpuart5; serial2 = &lpuart6; serial3 = &lpuart7; + usbphy0 = &usbphy1; + usbphy1 = &usbphy2; }; cpus { @@ -472,6 +474,68 @@ usdhc2: mmc@298f0000 { status = "disabled"; }; + usbotg1: usb@29900000 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; + reg = <0x29900000 0x200>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB0>; + power-domains = <&scmi_devpd IMX8ULP_PD_USB0>; + phys = <&usbphy1>; + fsl,usbmisc = <&usbmisc1 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x8>; + rx-burst-size-dword = <0x8>; + status = "disabled"; + }; + + usbmisc1: usbmisc@29900200 { + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x29900200 0x200>; + status = "disabled"; + }; + + usbphy1: usb-phy@29910000 { + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x29910000 0x10000>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB0_PHY>; + #phy-cells = <0>; + status = "disabled"; + }; + + usbotg2: usb@29920000 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; + reg = <0x29920000 0x200>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB1>; + power-domains = <&scmi_devpd IMX8ULP_PD_USDHC2_USB1>; + phys = <&usbphy2>; + fsl,usbmisc = <&usbmisc2 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x8>; + rx-burst-size-dword = <0x8>; + status = "disabled"; + }; + + usbmisc2: usbmisc@29920200 { + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x29920200 0x200>; + status = "disabled"; + }; + + usbphy2: usb-phy@29930000 { + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x29930000 0x10000>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB1_PHY>; + #phy-cells = <0>; + status = "disabled"; + }; + fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec", "fsl,imx6q-fec"; reg = <0x29950000 0x10000>; From patchwork Thu Dec 14 11:24:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13492830 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0B78C4332F for ; Thu, 14 Dec 2023 11:19:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bZBuJmEMndpm1HblNqvJaBDML4P+T/pTktyWjqyRCr0=; b=Hda/6Usae+QQoq 5vRejrclYKk9cld3n007R8axHbgJWtfPvUecvXtwiEeXcLxz1uxL9pPJBDDx2Q0Qgk/VWbNddFR7C 8KyndKyD+U6lD00N+m5zKN1DB1+4VqwcAVm0E/UdSxOs16/c4ePDcAzz2+WKaPii0EUiBkHhhEhzu ZtdlThcWMtweYl3gHamancMqEV39g6XBqYxqW+3nq5D8oipwT+253tf7h5j18T0YOnB0EzyWlmfV0 awV/pHvKIMoyj8hYc2HSksGz3y5vZ1cNDyfnduBzFR1TZK9mUSLC9clWt1YvFpoaMiwkoE/RteNsR zgHydfmN7ubeW87l5MMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDjk7-0001Kb-1O; Thu, 14 Dec 2023 11:19:03 +0000 Received: from mail-am6eur05on20601.outbound.protection.outlook.com ([2a01:111:f403:2612::601] helo=outbound.mail.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDjk2-0001He-2n for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 11:19:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tk2dp2Dg2jMFpTMMXapkfwWSR8AsK4MlwG4wGHf99qgfdUPqda7zF9LbOEE90RbVk49626xM/bTb6GhxJ6DzqhIVDALZ0kgw3hSsZlCsDggX0PneerK3ck2kujHVHmJDNNVc3IX5GOdoZToWTYSp88664adl79zkx8+yrmXOUa6G16xccdfb7nIk5zb0TYl+qaSq0Vu8C6rnqEQioo+hMRBBwwKr839TDnOPWcpqFqYrsOUk+yeVt9ehUtel0tujPyev40aRs+fCHx36mbEpTzHov4Lc0tKFWxojLpTn3kIMBLsiIExIn5eregFFegBj3aRj+oY08kHZVZ1WuLzvBw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rXD1vHW7Z814Wi4YuuaQYddb58pnjDB2uLqOz9i99AE=; b=OtXm1xahobVebwsO1PK/43QLpq95eMcSV/AOG/PiOBeagHyztbtaSE+InPX/KDib8u3xNgVxqCg4zX7lFci8Ps2u1+v3RQcdkFEYgFMvo/IctTz0DleO+vjRTJKTauZVGO1uIbttmhsFHQRyTiv6tlMNtxwInJzAxMZAkz3igES0OvCWjZi47LAevpnrJll7hYLgWEp7WLLXHV8wIFkgs5IbGTBWYac/GVrUP/XsiSVQORX/2l/2vdwkoW0oVzPQZ/Z88076iG4WzURXCpW49EQ17Amu0IEC6sQ7X1LilFwwJsXwCftYVZKRN1ZWguKBkk0EK+h5nDp87NVYP58mTA== 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=rXD1vHW7Z814Wi4YuuaQYddb58pnjDB2uLqOz9i99AE=; b=quNcwEKOtYcNBeERLm87FRc41aXCnNuDISpvm7H0i05zTzM3wa+TV5vzcE/PqkBOXwq07b79pHEIHGZpTrAv6bUVmGSG6Aw93Bq8Rr4Zx9YRYvOhcEq981fMPJOOcq51ptktDiF083oiB+bpSjpsYKnm1vbLjPlnSInaMcSFC50= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5152.eurprd04.prod.outlook.com (2603:10a6:803:5b::13) by AS8PR04MB7880.eurprd04.prod.outlook.com (2603:10a6:20b:2a5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26; Thu, 14 Dec 2023 11:18:52 +0000 Received: from VI1PR04MB5152.eurprd04.prod.outlook.com ([fe80::577e:f2c6:9d67:f89f]) by VI1PR04MB5152.eurprd04.prod.outlook.com ([fe80::577e:f2c6:9d67:f89f%7]) with mapi id 15.20.7068.033; Thu, 14 Dec 2023 11:18:52 +0000 From: Xu Yang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] arm64: dts: imx8ulp-evk: enable usb nodes Date: Thu, 14 Dec 2023 19:24:40 +0800 Message-Id: <20231214112442.2412079-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231214112442.2412079-1-xu.yang_2@nxp.com> References: <20231214112442.2412079-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SGXP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::19) To VI1PR04MB5152.eurprd04.prod.outlook.com (2603:10a6:803:5b::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB5152:EE_|AS8PR04MB7880:EE_ X-MS-Office365-Filtering-Correlation-Id: fe3fec58-6bfb-4172-1470-08dbfc9673c8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wJ59GL67nZMKnUis33TqO27brSwNlO4Kpd7cYw5DwqQ0XMZ5miudIEfTszL4+qoojOVYWnvSpXvDYxarnYYZ7uUhcAPYJ6v1MpNSNrUyM97U2ghABfwLr2O/lVKHRP4LunT1LRNxNZlx1JurVxcLcLqqi0O0Vqz2eY9QFYECjgjXojaZoto8ZCiwgbm1tyHr1ujYFjEAR03ybwls8nEQxp93ifFIJVKuWcXMD3lMUhoXfxP2ZNFe3fNgKNKI2snE2Fewg0M6PunXMCAkGghKdf9Ts92MOsjv0hu2bpoB/ZTv6PCNakjrbNpiZ+UuCtTExweJgJW0I/v65WE66PIF5kg9DvZ3pXhDTy3oaq2+2/eLGjUz6sh2HepFfP/ugrObpOZI0ZAWMTR/vyVGeotzWZyrgbcYzLQOWCfWgQLCUKBYsLq9fcRtze3WhaiXRzeK9T7d4SpCsGFfW75YTwGehrv9WxTKk8yM88k/ARWxEG0A1kpN3bS3xdrjiGPrtG5W15BNG+YH7Qdos53lLlDPYB3YaGNknI7erKnTLBMCqakhgsz9MngM0T1InqyZYPMUUuDCbS1jXCwG+u4Acj475iGFD0FnX4K0bMCESDUBFQyseglsGqlXt1tehF1+PR2NjfpoKsTwpIVR3ZqOud+8noSFLu3msZ78eejSqTd8/lpcUjW5rOCa+8uMuaA1j4oUL6ayYXVL2MSAk52Jl7snrg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5152.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(346002)(376002)(366004)(396003)(39860400002)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(26005)(66946007)(66476007)(66556008)(86362001)(38350700005)(36756003)(6666004)(6506007)(2616005)(6512007)(1076003)(52116002)(316002)(2906002)(478600001)(6486002)(5660300002)(8676002)(4326008)(38100700002)(41300700001)(8936002)(32563001)(414714003)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NIQD4fTq/d218lIcOyf9sJAIip+qKye0IJz4mZ1q0GwB+3l171ScnJCwYPTxOBz+HWhgEP59aistd3lyPkR8T22xN9fGq9RwtJiY0FLXtDZ1bfVsHlalnaRO4p3hXXa/vHv4sQAExHCsjZUiSteMWIVTB+lOMcGfIECRc7pf4bAA30QN5v9xCFxjCGFxNSh3+1nJMTkLYK+aSVBDmKIztYtu5YwxMEbh0EtCjIyOWZgzNbe258vEz/VgnfgIOIodWPvz9X0lZ72kg31qXdu7c08b06vKSstf3w4QwqFlp2u1vkrBTMlo3/uzku1z8sJOy716zear0rgch7qVXp49y3E5MQwJUs2v3IlWuJ8zQVsMOGR0mfKUUrzcPxhOoOk8u6f/wFg7wF0Xr4mLw42VKYwiWDGHg34QI9OuPAMGtcOT+YZj6/rffjmUZZY75vQlfND1HkJovcteW+cFpRt9F7Dw0uWhPRJlRi3V689UNTo8svfT4WQ+mNG6GvLkX8QXdNEJtiyH3r5WOGEK6pRHAQii9D6gXEMUoPBvqXnQvEQ2yRTs0K0lZQxtojQzWSnCASgvqh+kooTfRFCQGs3yoSljD+UeFqZvCRwjl+ULnap8MlRNIIflJEvso7wicVnL8TqbV8dOjDCfGbtVVaia+tIX9qd97Idn2ojRVxHvoLnecitcy3SwkQXTKH0t6Scuu6TOpjMPQ+F/xbxZxg3AqsaT1Q19L6y7LwzMsSk59tG7U8wkZM2zST5lJz3eLbKndDscWS3DLvMKuk6zbcFAhCjDLKoZ9klaX5UNzneNSSuQawPdjzrplAgkDkVE6pq/V5RW2l8n3NcFooq9eNpVQQIE3X8vaE2fO/7cg7ev/AniRPul0wHxGXpEd8VYdkaQSfjp1bsNogTYV/HT3fz2zIRKxBu/Wkas1G7aX59uhi4iS+O2U/f29fjSq9nwumzDk/JFPoAtSwX82y8ZsUFET6BziGN0Bsn+IMDTGc/9ztdDWSgJ7C3XpGqgsKLet1vqVEvgxfUWC8clOccEpIa76fJqm1SCtT4sjcD3syb+DjeAufCtCD1n7xVBfDc73fwJujcAl+ZKDNzKFElnkT4jMi1/QAAff5cIhX5l5xkNp7K9PaT6B+6xtD3RVGgsdTUcOEXjxA0WDNub7ylJ2X5dvxNwEMEfK7mh3HyFHGJOaYBR1r/uHuVMADsX92RVOy05F+JWPTnHU/X51pDgTvEA3TT8wYe+Me2MU3RdKEOb/IfJ2y45XpPxfDoa//kLzyuQ9YPnELv6s2/b02ofo7oMrkFq47m/0ZzVQHcZxDgq581vEAm8dWPCPZ6RhlG9RS57xdst0gkQdWYJpg6jyjdSODqRGq2TjpeRJs3tYJo4VcdqYLCTc3SkzhUWxEJbE006jL56XsCyWx28yGwCvkUj9F5xkCFBhWuwieZhmMHi89EE7Q1KkZmTez9EPc/lH8arX1H/CV1BYpAnN9SwLaEJTqyIIFFSWWBL+baJoxujMwDtkx9K2eg+uxYib6JLIPlITr5THMArLon8C6E37LWuQWrR8WScwDtKmYp0yadGld4OvSYS7HfRDMg5LBaKvrV5 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe3fec58-6bfb-4172-1470-08dbfc9673c8 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5152.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2023 11:18:52.3768 (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: OV/DzV+q9bNGekF8OujH10r5V6uqF3tamIrrTBEMCu3l/aIg0FbmTCCAjyZaYYU8aLcLPjbstntAvMorXBqvwQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7880 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231214_031858_906477_F2DB3599 X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable 2 USB nodes on i.MX8ULP evk board. Signed-off-by: Xu Yang --- arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts index 69dd8e31027c..08fadfe47785 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts @@ -135,6 +135,46 @@ pcal6408: gpio@21 { }; }; +&usbotg1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_otgid1>; + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + over-current-active-low; + status = "okay"; +}; + +&usbphy1 { + status = "okay"; + fsl,tx-d-cal = <110>; +}; + +&usbmisc1 { + status = "okay"; +}; + +&usbotg2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_otgid2>; + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + over-current-active-low; + status = "okay"; +}; + +&usbphy2 { + status = "okay"; + fsl,tx-d-cal = <110>; +}; + +&usbmisc2 { + status = "okay"; +}; + &usdhc0 { pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; pinctrl-0 = <&pinctrl_usdhc0>; @@ -224,6 +264,20 @@ MX8ULP_PAD_PTE13__LPI2C7_SDA 0x20 >; }; + pinctrl_otgid1: usb1grp { + fsl,pins = < + MX8ULP_PAD_PTF2__USB0_ID 0x10003 + MX8ULP_PAD_PTF4__USB0_OC 0x10003 + >; + }; + + pinctrl_otgid2: usb2grp { + fsl,pins = < + MX8ULP_PAD_PTD23__USB1_ID 0x10003 + MX8ULP_PAD_PTF6__USB1_OC 0x10003 + >; + }; + pinctrl_usdhc0: usdhc0grp { fsl,pins = < MX8ULP_PAD_PTD1__SDHC0_CMD 0x3 From patchwork Thu Dec 14 11:24:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13492831 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 174D1C4332F for ; Thu, 14 Dec 2023 11:19:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y2Te7ml6wz2rHbjURDbqmyw4+D7AujZ9sQ/NOt91kD8=; b=MJEdRI0z7V7t0C S9fLARl/kmTrBWHOMDBqjlcNZx8yu90JYzU3CYFnhcecZv2KHmBmS/J4ih3u3GoUf2S9dz24ET835 mZZ4Y8ulPDPTOSnnNSCdfeM4bpKirnwoyzPwh5UeK5TWjzea4ERyHLq6MkNics/S5HcqkLu09mnUN d6UpNATyj82XGsf9GC3iRbLkXr6Pw277bsFnmCDkoEjkQqF99VkwCP3qkaWithdg3DFhWXSHyqZUq +45oCcRB0MGbQe83ZR4L2EMzGEYdALiBeGQg0M95sH9zwl9+H0BTQmYfJBo5pXEl1cateM7ewWHSe LLIeaOFVcUcVujtkFLVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDjk7-0001LF-3D; Thu, 14 Dec 2023 11:19:04 +0000 Received: from mail-am6eur05on20601.outbound.protection.outlook.com ([2a01:111:f403:2612::601] helo=outbound.mail.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDjk4-0001He-28 for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 11:19:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N67ypd4UAd21S+b+/XdzKSr37X6CweXoZj/tfzdiz6zFaTwBci/fgupD28xpZWatED5ncj8TrW1O5t+JIFzErhJlxyYEwIsVEzUz+voBxQRdkajgMy6kxbjLGnZ+RpCJzUgQjnEKQksawuiS0miRgcJa691a34xRIYhCDbTE7C7RpE918iVAIp+fa6hMXDwqmGvhd5yrZyIkpYRpRhxULkiz0B5JA3VUrzLCHWHCOV9qj7yCa678WUXLZrjReTPBCO2WU/WJWRv7ntkARw12feLxjLGCRkEOk2rMZnzfHVqnJdv612GwtqsPuNxzik2q+dYyFk4RHDlLjTFH3ItHIA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JCE6UG1vpxz5cxzSVyvYM3JzksLF3CN+wbeHStW7XgY=; b=P1/HYjRbeLkuzzNdXVzTbbE48aiwvmu5kXLBUIauMJbM6vUrq4WMyvbPK0P0cEgoZkdNUEIBSt4IYbsx1xYN4PlpfDB/LQJflpUiJfldH4euXoShEEhPGzEpU3s3XbVyJsmJgIu4b9ikcAyR7ZRIilhfXXp5nZt2i4JfJpd5YycO/Q+D5RGVNTmnizVNbaLWkMltdco95FGuFxxSQ+TGTEJuXwIpFVvow+p0Rd20HLY9Nj5lsGLQ9lgm/CORodw9BegdJwrool9RmJF6i63a9fohGdysLsZE2XojcqDhtg8OKeAhB1MH1gqGNNW66bubZ5mn5TN6+Zwx+IpoKGexUQ== 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=JCE6UG1vpxz5cxzSVyvYM3JzksLF3CN+wbeHStW7XgY=; b=hOCe9tVUDWAK3xstq8UPsPxIpvyYI24/1bGq0khmtBHHEn78zpvJCb7C87epKpcMn4tyNsztgD/nxvF744YGVn4R0jz/XDGwqn6CGrG1B8zDe7uP5jN3pQSUuXTNHM2ggaURDRlkMGZ6FjHVAzxlMbebx52JRBvxM4rlfKInDvg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5152.eurprd04.prod.outlook.com (2603:10a6:803:5b::13) by AS8PR04MB7880.eurprd04.prod.outlook.com (2603:10a6:20b:2a5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26; Thu, 14 Dec 2023 11:18:55 +0000 Received: from VI1PR04MB5152.eurprd04.prod.outlook.com ([fe80::577e:f2c6:9d67:f89f]) by VI1PR04MB5152.eurprd04.prod.outlook.com ([fe80::577e:f2c6:9d67:f89f%7]) with mapi id 15.20.7068.033; Thu, 14 Dec 2023 11:18:55 +0000 From: Xu Yang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] arm64: dts: imx93: add usb nodes Date: Thu, 14 Dec 2023 19:24:41 +0800 Message-Id: <20231214112442.2412079-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231214112442.2412079-1-xu.yang_2@nxp.com> References: <20231214112442.2412079-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SGXP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::19) To VI1PR04MB5152.eurprd04.prod.outlook.com (2603:10a6:803:5b::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB5152:EE_|AS8PR04MB7880:EE_ X-MS-Office365-Filtering-Correlation-Id: de551c79-548d-4049-d449-08dbfc9675cf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JKd+kXB/66+AQ0uXMZRVTmOG9fC9yEdOSfVRPpyXnmSI+Ti6EyQcrGK4wEWIRhKPHHi4mTEmkNaCpLzgqizAy+2onHFRv28xsaBQLBtNSPIv37H6CmLdoZ2wXkv8Hpk+0peJVp5fy1uOo2+YClGSWv1tCCBJ4ufrA2CKutov4y9oJzbG0DQu6SlB2NXVHmySIbB7EcRMILO+CUj4fh0CCQUuhisErWWF6U6znTfnyJ+WZ6rc7o8RgQw8KaFdKJeITplbqXzYTnabvwYQYY/SEbBcYkGYNlq/li/qnS7mAsSbhiRNTeufThOpfxdwEui78BqvKysaXazfD7OTvOxeMmmwjXUsc9lCyRgG+IlNEA4fgkqe7je+4CrzG9oNa9uJ45FVX1kGqpJ3h90VwNAtc9QZtTOR/UQolLrkuN3wrkbCymkMi1BO1dAf5EL/ykeYJBbwzzK6hr1D1xG62BojqlB9Cgd/4c5ysvKOaVvUD6SCtY60Gfgiw0d+e3HlemyRxyOhj7G/T66rE7KCqyLalYyNPzXGd6U6g3SeGVJatbaOdK79N40osYNC4Z3dOOlMSJ2uzuRMUwAK7npB6bn7WJB8Xv65VaVdLYgy88z1t+GtzU5gH90OI8XdWJBTBGXZ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5152.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(346002)(376002)(366004)(396003)(39860400002)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(26005)(66946007)(66476007)(66556008)(86362001)(38350700005)(36756003)(6666004)(83380400001)(6506007)(2616005)(6512007)(1076003)(52116002)(316002)(2906002)(478600001)(6486002)(5660300002)(8676002)(4326008)(38100700002)(41300700001)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: SlnvxMBLroK1WIwYmoyKfgiREdWqY+yi/7ncu1tZvkyn/a8jaQDdmz5EwRhQ3gxiaBh5Exe7sAOjWXZfGZENAVr58wrzQ7UtaaErINme2H+GJRaEz7AUmgPNDTb0yIoMmHAsjdcXudzhbVaoqfbBUDt1UP2mhXlgarUs0SHcyeJ/hKMCiCchTAGuslcLWYWtHV41Pq8rZ346fkwdbVrHOAwUsmvuh6i4Bhi3gtZFTNVidakxvJc7yMaljnZOjGfSDXfs67l5MtjuVmHPNHV8+pFjizYrzZ8GNBcwqm4pkXkxzhMR05ufb/N7fpR/lI2oBw//nLqaHZcaPqN2sJ4u8RDEMnGNW7hIHJe8UteyeBprurW/ilkhhuDyHImAlC16JOG5COG87tlM5Ne4/K6jvUEyehdZoqiL9CqguBHE235D+4/2HVnejtOHj4sBZpRPrZ1DvZVuhb5QjqFrTfZGBUinFhXW2n4Jb+JDbLPj1qRwiRFOj1+iI/q93XiMCo7e/Bmh7uujpdZ3I5aIbLxMfpcLFyOicGZHfkA1R3l0KoH8iZF2frHBAaZBn7lYbpkAxTmDPhyCBTng5hoRitVqZVOdeWRQrs70F3/68IKKixXGSD/T/ajCOWCV95EBhfAzrd7jkJJ3A7urzgq/JXD5C0CKwhc65uSsS28Q2zChtxpEyQnNwhClzvx4iJuIza/v/8rve9M7iC6C0BL6r4fus/frORPpPLNa1gElkCtjKLKkGttOyqNWeHdzNFcJaOqqzuCy4SqO8rNF/f/q3tVzAeZzCOOqMaMpfWcYKx8OlzMSHm3bU4T8mgRGpiaprFHirjsKnH0DLysba+zDTMM6cDmKohlmcxDukVZwNfj0MHIVGbK9X/IcFwtYlMsEKkvxkz44Feu8r7rQiGaYrCGxZPXmaDQrZr27NoRLGYAWYeBVKB8mBBLT7VpApKixyAg5RoWZ+VAYIhL5/IwPRcSnkmpccsJqwgHRsGAeFJtdoO5xGLeWthkxAOFbFM3rFBIMokC3DzobMI+oug+xg4IezNu72u61+taRb6ngdkRyw8bKaXe3EdggUdx48OvFK1dqBJW58kT8UsvKQ8WFAj/v+jwP8YeqN072v8TG3QpfKHIm4aG6hFzYgHM2eFyjGzkluvqAdNIDPAAvgh6cQwysBsLX2N7IE2ln2KFUNFWwqILRQTqMD0h6aP3f5gForZxVe10bA82L6ZzXK1FxeFdZabjJ22N10Zo1T5q7cpy54m3Ecj1kUE767bDdMGyyPYu+WoIFVXBj3dbzJ60wYJreNsfRyYIJoz/cyLR4bDOhOLbqBdFWlBBQCUf33/6yDIIQjj5TWJckOdbKPSSuuuXJlJSqrYBq0fEXVjreULg6ekloPc0XqTJQXLnBnK4rm3sxBk39B5Jm69rWzQ/95G8Vb7a7wSnQsevYuIfhNrVR8ze7E7HAsNxAq6Zpw+CalSqoumDthlhc0pFucZeEnnjHqRqXGqYsjJjfAwgayneQtdIsiKqdnSsU1PZRzoGaB9Nw86B5gcGG/BR/MxbPCQ0+7Gr0ob97fjPzFXTCkdtGU55f5WcBbJkwhIgLR0hAcUZF X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: de551c79-548d-4049-d449-08dbfc9675cf X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5152.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2023 11:18:55.7076 (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: mk0tRlSzBNbC6ZACQx6GqdG0gzE6fhvhxZDq+slFvT6CX69Jrr0C0kTYhFsaImYVB9qWbwhZXxisj9gjHVTj9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7880 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231214_031900_705738_9E52BF4F X-CRM114-Status: UNSURE ( 8.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There are 2 USB controllers on i.MX93. Add them. Signed-off-by: Xu Yang --- arch/arm64/boot/dts/freescale/imx93.dtsi | 58 ++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 34c0540276d1..bcf4861cfede 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -171,6 +171,20 @@ cm33: remoteproc-cm33 { status = "disabled"; }; + usbphynop1: usbphynop1 { + #phy-cells = <0>; + compatible = "usb-nop-xceiv"; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + + usbphynop2: usbphynop2 { + #phy-cells = <0>; + compatible = "usb-nop-xceiv"; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + soc@0 { compatible = "simple-bus"; #address-cells = <1>; @@ -1059,5 +1073,49 @@ ddr-pmu@4e300dc0 { reg = <0x4e300dc0 0x200>; interrupts = ; }; + + usbotg1: usb@4c100000 { + compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x4c100000 0x200>; + interrupts = ; + clocks = <&clk IMX93_CLK_USB_CONTROLLER_GATE>, + <&clk IMX93_CLK_HSIO_32K_GATE>; + clock-names = "usb_ctrl_root_clk", "usb_wakeup_clk"; + assigned-clocks = <&clk IMX93_CLK_HSIO>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <133000000>; + fsl,usbphy = <&usbphynop1>; + fsl,usbmisc = <&usbmisc1 0>; + status = "disabled"; + }; + + usbmisc1: usbmisc@4c100200 { + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x4c100200 0x200>; + }; + + usbotg2: usb@4c200000 { + compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x4c200000 0x200>; + interrupts = ; + clocks = <&clk IMX93_CLK_USB_CONTROLLER_GATE>, + <&clk IMX93_CLK_HSIO_32K_GATE>; + clock-names = "usb_ctrl_root_clk", "usb_wakeup_clk"; + assigned-clocks = <&clk IMX93_CLK_HSIO>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <133000000>; + fsl,usbphy = <&usbphynop2>; + fsl,usbmisc = <&usbmisc2 0>; + status = "disabled"; + }; + + usbmisc2: usbmisc@4c200200 { + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x4c200200 0x200>; + }; }; }; From patchwork Thu Dec 14 11:24:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13492832 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D08FEC4332F for ; Thu, 14 Dec 2023 11:19:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+eNYfBjio2cpVC7zGCGIvCgyeX+reosLh4hobgMTHsw=; b=WisvgKNvv2u7Gt JzKoNC1fpPPV2cKbcTqUFGsV62gNVBTqAWdMeYzGU2D/sG+s00YONma/rUzIoCYN24u+T6O/WA9VA n72oyLZ4/5XIvd3YEbuO1RlYENiZk5iI8ThG1zGMhut9gZaZhrO4hEIfqsdKx+eS7blpAeay/lBPN ND8KtyMc1MIUOk1VozL45ErKSt9S6E1lgY3YERTyYFIj2kDHJEHAt4pYjvokUUSSVUpZG9CLPLIr5 gYehuexzPRw7UddvG12gAHSPcjKmRIqYVfHtaVIWn0yu8mMHPfUPMIhjTTQrUcixqOZ8NSW5FileT 3wMrFKrVScJu8hJotNYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDjkH-0001PS-0U; Thu, 14 Dec 2023 11:19:13 +0000 Received: from mail-am6eur05on20601.outbound.protection.outlook.com ([2a01:111:f403:2612::601] helo=outbound.mail.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDjk6-0001He-1f for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 11:19:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gnJNaAF2IOPfLu/aEEl9ChBjFoaKHPCP6Eg2ijRcwsi6YtThu9NobiDssYN7s5TSmi8E7FQzEi3B+4Hd89T+t8o5Xrbo9tRNQ2EGGsfkJpG1SW5pHjQYeNMwrhRu6ncSSP7QedePwNoRgmS4KoNV8SnlmQ/C6hHB1BYGDwivWZefSOQog2s4OS473OHM7u9GAUxqy8qvgqcoL9abII8J8QTP04AAnwD2Ay1B28n95aotDiEcCEq8c3UImTYolr1V0ByNGLIsnDT2LqO6vytUNLV5f5dJfv+Pxoe7SzdB9/XjDCcF1+e/iBUcynuMar8yil3ECfK3P0AcuiNTV1iomw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kyXa0gNHC1OzIGbwEgbl2sbSkcJ/Dy/RmYYafvbtHxk=; b=n0iX2KvpZho3RFl33jcvKkUsQnD8aVZnWF++9vmZMhjM9j/hY3KaOf92ts2xH59aa2KeeRkmgz71dnGKJJrcIw19h2hAabahWGBpMWeyBmnjk85eISFt+sh/Vero1q3ETl26JAe10By+yrU0j8HHnNuDaohl/vNlFwKEQTWh5fkHHSuwjVl+oh1HoCj8g+WYMF0fWGJ0n3T3aYmxDFkwk397XkbckBICtN/Fw9e2aCeQg6UVbuUJJYLHtNkKZTzj+LVvSmmjn5FLbZ10MmVWTq5IBs7wTfPqerZKGx3g/NIpEKD9GAC1g4+rM1jqy7NGqUja+OXFM6yUR/LSQM0uvA== 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=kyXa0gNHC1OzIGbwEgbl2sbSkcJ/Dy/RmYYafvbtHxk=; b=h5hXGS6MtcGXdJ1wP9+/UonXHKaGlkDoFqJZ0vYtTF+8fhaqiVWTOe+wmz+xC027CI6oj/6G8UuGLLsq+MLeeC7sPwMoW+xKI7l2tHJFJM/Jrz+xveY/it0YPCfz1FilelHkH2y4NK0hEQih+BgsxbXAlSyig8/dbtPSLfrvyYI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5152.eurprd04.prod.outlook.com (2603:10a6:803:5b::13) by AS8PR04MB7880.eurprd04.prod.outlook.com (2603:10a6:20b:2a5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26; Thu, 14 Dec 2023 11:18:59 +0000 Received: from VI1PR04MB5152.eurprd04.prod.outlook.com ([fe80::577e:f2c6:9d67:f89f]) by VI1PR04MB5152.eurprd04.prod.outlook.com ([fe80::577e:f2c6:9d67:f89f%7]) with mapi id 15.20.7068.033; Thu, 14 Dec 2023 11:18:59 +0000 From: Xu Yang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Thu, 14 Dec 2023 19:24:42 +0800 Message-Id: <20231214112442.2412079-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231214112442.2412079-1-xu.yang_2@nxp.com> References: <20231214112442.2412079-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SGXP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::19) To VI1PR04MB5152.eurprd04.prod.outlook.com (2603:10a6:803:5b::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB5152:EE_|AS8PR04MB7880:EE_ X-MS-Office365-Filtering-Correlation-Id: c59de6d5-f730-4a10-a7f9-08dbfc9677cb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XiPEnUmIr7AQFL1XSoxdlfRUW1pYtbAn3jnhK92nf+wvJR6vyZNiN8IbnjvolKewEL9QOjj8vzFV/6dBY0QiEsz7oZF5UJCFml2JLiCvoeBYJmDUJXFRWsIB4+Qq4lXBWAP2Ny1HsXA0eK31GzD17lQby+2aHKrf7TOgDu+sx+LDLf4xp/ttnAeBIzZntoDFZ3Q6AK3AUiF56Bzy00/8T3mc0I4mD5puwM8JFNW3345DQCgHXRBmxUABTEjpqNBKc+s6Qyl16yYSWhnT8x1W0we3asNd023tf6caqMTjNm1s6uGjPKTgJaNg8dUkn9rUbfVo2tZB00xAE2dvccLby6lvj9QGoiYZNxfsV4TCQCsJp1yuaPRBzG9cIRzeGgdgtXmQGZwHNzkPDWanUiguTwrvHn98Rj1Pq+YE8y2Feadtr7vE6cVvENdoyESP3Ds5RfDL0CPJCjhyIfioRA0oIlvksiyDRjrFPRJoV80ABmt00ZRNkPJyPC17/l3dNgf+xOVpVnpu3BFXTpjS5b3UFblwqmTsz10jExp2NOLayJ8no0Ny5a5q19mFyFKUxEmUDbwC53v2a/Wd4vL9Bz2341oDdKZzaXpA3cxnq2UUPSir8iAXOr4mEXyXup+spBGRHlaQPNBXHa+DEVvntINOdg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5152.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(346002)(376002)(366004)(396003)(39860400002)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(26005)(66946007)(66476007)(66556008)(86362001)(38350700005)(36756003)(6666004)(83380400001)(6506007)(2616005)(6512007)(1076003)(52116002)(316002)(2906002)(478600001)(6486002)(5660300002)(8676002)(4326008)(38100700002)(41300700001)(8936002)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PAqQWtT6gtfvNV4rmirD5xMZ0glQa1mJ0x8wMrO3x7QV0eq9V3AIl3QjwFuX/Vq8VIktM8rohbLkf94lcwQCHo1SM8RdSYQJG1zpvNwcbudhezdT+lxQHaUf2O/h+xqe0Mwos7pf1RbS8oB7R8lH1Er3qIEP1gJvXPXTWnCaa1fbGXhoDq4qftJFNbTy9tWBFYoITug2TvzK6YU7RuyQgAkRbNdgFqRuiJ2P+Pa9TCkD89L3dUWGfOe2YXq7JwJ5Zs9s7niVfpd7P8ldSZrxjupQ2JOCNkiVS8T81k65wCx+7QKJMZtzWODuVVVWlQ61nMjBOIFeYZsAqlTJQ6WpHsB3qjm2LIR08g4GNl4K0cWldLPq2kPeX9MMv9NubJjwhvIt4VzsjrnU2Q4eHeZN5uMK3uh0v1GY60g59X+s48us2TuUxl5xKG+325FcDckzvW9lnLhZDZVRghAMrONN7MeXa0GLqqRHITVdtCKuOvACfofnIfi6TDY2U+NfL5B3+pCofhX/djSdtP1rT3PeI2to7C7VT/10xQtiPCfW15Czk+MCTo983KpJzsJTbDWw6kJxX+WaM9rR7YzUh7z86C5/11gfaQ86ul4EFML9iG6i0PPihpN0A2yiOZV5MnpFq/vKH8ICGYTIo0Zc0iDWuNLvPN1ZdGFjq6K/G0qmMqgPQXS5qnE5FdzCigkKDvlHMd/MkZ+ya611ERfQcud3x7sIfLm/mTJKlyCIMmKvyHh8v1+qNyGmn5B51sbZtSHfC9m2mpaboidvxMUrKDeh/mKKDzeU/NWn3Sykp1H3GLcE/u2aq6kCYuK2iJC/gV2dVP5x4oUW+WVmdLJ52ctdONJoPQv+qEiptlFEHJTvcbJe1NyqrpAg7F6Vk5OwpINsPdaOWl7HugVpnwq//w+ZllwSuBVjuxbM/G7Vw0uDA5j9YlCzWJFZGAsRdkQ5UXhJdQ9a8GcmIFKwgpqx8ui7MiJ/8pN6QNdLVwy7NRHkwgKp0L8T0w+AcQGf2L8KHvCGt+Kf+p0IX1BXFjeTBfT2JU6fe6LgN5tJD6R3/S3VU93HAOEVnzZQi+jNdxHzQK2+OeqMhkQ+13BQl6a5Y0dJ/wcgFaDxe9ZXMTj4OQhj4x5d9yLxX50gkQTKDSgHDnm6BYZ0S/iQwRioqyCsO9DB4/djx3TPqw7St4VjUDMdaBNetLW8lJongxkDdyrbplJmT/zr7OhGJ0YX9MuNpstnjQI85hrzkIsLzjUiyQm/gdMcnHJt0M+u3t7u6C6h6umioUcirEROn/fsO1DaaEDw9gTlwWSlbh+xatbWXMIjRU9ust3HmVvvRNlLMEN/OHUJhkmNT7Gja40mQ8zcKWWmTQ023LYyE/yichKvpoyqg5ZUX8y66JPZ2iB5cRKaKExFTFYw6Py2weqEQ8gbykSbQJoKHKCQKWr9Po3dwtNce9RR9azMgpKMuOEkrd0BDoLSLIQAw08XwSN9kYCbGMVpSNaf0pH1vp8ucuFmyCIomxexhrJuGiuRwH2Quh+8RfsglF4kIG7tfZPEZ7pWsAEIZuFl4tPyYgIs3UL3tlgulkd/gVdbSvS4pafQSIxnMeBr X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c59de6d5-f730-4a10-a7f9-08dbfc9677cb X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5152.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2023 11:18:59.0377 (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: nI9v/0kZURpBpj5fB4tr8ej+dkaxQhN4tc5PrVXwjpQe1ruQiYMwDNI4UEPrs8InLiEX/xtEGFYf8mu2mtCMmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7880 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231214_031902_557882_6E53A051 X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There are 2 Type-C ports and 2 USB controllers on i.MX93. Enable them. Signed-off-by: Xu Yang --- .../boot/dts/freescale/imx93-11x11-evk.dts | 108 ++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 2b9d47716f75..42b1ea7d5220 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include "imx93.dtsi" / { @@ -103,6 +104,70 @@ &mu2 { status = "okay"; }; +&lpi2c3 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <400000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_lpi2c3>; + pinctrl-1 = <&pinctrl_lpi2c3>; + status = "okay"; + + ptn5110: tcpc@50 { + compatible = "nxp,ptn5110"; + reg = <0x50>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + status = "okay"; + + port { + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; + }; + + typec1_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <15000000>; + self-powered; + }; + }; + + ptn5110_2: tcpc@51 { + compatible = "nxp,ptn5110"; + reg = <0x51>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + status = "okay"; + + port { + typec2_dr_sw: endpoint { + remote-endpoint = <&usb2_drd_sw>; + }; + }; + + typec2_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <15000000>; + self-powered; + }; + }; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; @@ -155,6 +220,42 @@ &lpuart5 { status = "okay"; }; +&usbotg1 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb1_drd_sw: endpoint { + remote-endpoint = <&typec1_dr_sw>; + }; + }; +}; + +&usbotg2 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb2_drd_sw: endpoint { + remote-endpoint = <&typec2_dr_sw>; + }; + }; +}; + &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -221,6 +322,13 @@ MX93_PAD_ENET2_TX_CTL__ENET1_RGMII_TX_CTL 0x57e >; }; + pinctrl_lpi2c3: lpi2c3grp { + fsl,pins = < + MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x40000b9e + MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e