From patchwork Mon Dec 18 08:54:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13496393 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2058.outbound.protection.outlook.com [40.107.105.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57E52101D3; Mon, 18 Dec 2023 08:49:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="KGukwZqr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WGkizVtKkEYmFhTCF+/U74DpkliOKNmtfkLNJblQizBku+izjVHFhjiFkpTOLeCI9/7rNivalSp86wH5OAgSA71j9H6ZxLIYSNyfhqQMoXqLglWoJ3I5L8DpP36UjHOEqhkIuGSt4AZHfTph/m2QoAsRtT266Szi8BWQXpzmCFereGqdpkGn2p6fgfRDWXtVOa+fhglh7uZy6604420hVg1Q/ppqOiu8y4m5XMRa0eUfTDh4Rh0/uGI2Pa1l4BLP2+MFUcmC3M8fhl3C7xn8ZtRSNvGUFc4x9WC7eppG8Dbifm/GWIy8Qxj4jW/VzBfWHBMSj1SjuomdxKBa74sAGA== 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=oFg4H94pHd95T8ohAvWMuEjFvzu9CL1+5JDwRuWNXtQ=; b=M8H3YWHcERf8Xx3p7f2jwP8FBdoh+KCsl++e7NvezuBdSJSxZMpCl+QyAKGF4cDwXbt2naVQx29i/5zoY76eR4WDfznZtONYmeCYMKNaB99/Xz1CaoTkk7IZsdjK0DhpQLCW5Y+IRM9W50mdAIQDtI0y/gtPFC+BPiX2W29a0Umxp2oqiqhgItw7PHDc7A3NqoiKK/X5qjJFSlUnz7brNFeNfsNDaqu4GPN3qI7oqpcGpPQ31A39lkIh4mW4kHdI239w58Uy4hlBA7X1GqKNsp66+cC3XKS7bBaooBM9T3mkkw9/dFYYlhGQbZkhHtpsEHFm1KyrdzImF1G+E7A5/Q== 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=oFg4H94pHd95T8ohAvWMuEjFvzu9CL1+5JDwRuWNXtQ=; b=KGukwZqrbeZ4wsL5jsYk8rc8gHii5exqnMgAx7NZDTX0ym9nEOm1+JZx+1knfsbRaarzKMOdt/oApp9GJLPOMPg9b9nefZrRPBwQwLQREk626LIqPYuyuqkXvVaXueFFP4s4LKkKb5LGpcxG8ICUjjFyJCI2LDSZz/55KsrCAT4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) by GVXPR04MB9803.eurprd04.prod.outlook.com (2603:10a6:150:111::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.37; Mon, 18 Dec 2023 08:49:06 +0000 Received: from DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30]) by DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30%7]) with mapi id 15.20.7091.034; Mon, 18 Dec 2023 08:49:06 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, 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, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v2 1/5] arm64: dts: imx8ulp: add usb nodes Date: Mon, 18 Dec 2023 16:54:52 +0800 Message-Id: <20231218085456.3962720-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2PR01CA0189.apcprd01.prod.exchangelabs.com (2603:1096:4:189::15) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|GVXPR04MB9803:EE_ X-MS-Office365-Filtering-Correlation-Id: 65c29989-dd84-4057-2efe-08dbffa6316f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 52pHH35fhr+rqaTV+FDBrxegFAYBqSNCnE+LE/kvJo8ddYS13vKa1qvnTkTQRqwYue6eKp/Asg/TT2QOGXglIvd79ewPiypw9G1UjTduOfC6hPhOWnOyWNxBRUlEnlSqyuKODurN0tDEK9AUx8jUeyVqFqiATrd7JXnqv9FuBlnaSJvBFreGaCqEjUzFu4RQeqUpB54AkZVejXlb17t/a5VDpMAz7SJRNFcLNhFvztqawnkGPE7FtMFFnoRZdPGIU4G1Ca5WNIscjs0yQ16hpyP4xWvP/6O62ER/KMmYupR3NJ9k/DVYBbcCgvhD4DXpXx48bOw8Wt2m6NB0XRnIYGOHweHsgtppNturCrnanK2A58/K+m+peaGBdBsZNgIVmE2b6PLCgiNG5p9nbPw+fFWvF+auyTjLZ9z9f5ftNUJKkD6I7Wb+ghyKnGiJOgcw8SYnC+71ONGJ6JPABoHieRLr6wuje5h/dgjZY1WEKzVm9w+K3yjYJyzwtDp9UNgEJ5btsGiG67sukzHEuuhDjGWEb4MD4iKVljFuvsMApC/M+LkV1dhvzQExwF5TPCVSEYuix9GPBKCRJW/4LGVhtS9O8EcncIPEy4oeUEuGXdk31i/oVE5zLoBYYsC9ijJMLmiaOuPusjKbs+4Jvqvo3Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR04MB5146.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(39860400002)(346002)(366004)(136003)(396003)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(6486002)(6666004)(8936002)(8676002)(4326008)(1076003)(26005)(2616005)(478600001)(86362001)(83380400001)(6512007)(52116002)(66476007)(316002)(66556008)(66946007)(5660300002)(6506007)(38100700002)(7416002)(36756003)(38350700005)(41300700001)(2906002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oUmkK/GkzvTMuS+tfczAz++ZiFtOjim3+OayKXv5sqlH9o8O0T1KYhXRfm73OfzLusEc7NamI+w6/tqQYMnIHx+GgiwYz95+p/vFlRAiz+SIJhaWMcbWGVOj6aIt9XZ2cmSwOwHgDc4gqkhMSFUHpwSFwgm/uNhtvzIsS+diMgPqEQpDDoOfrwhs5iuKO2dbb7Lk540WVIQNihu74rRQUV2Kp13yzzuuzXiKimn7qsZo8O3MmRM2arW092nOx/vZtwTLqRkm0Zv8c3Dh6E65D+92SJIReb/6/aU5nzL5MQAPkI+OqoH4EvciH1/378rZk7jB5cPNwljSGJ6wP1R7dgVfzCj20NhwnlUFD05zu5U3uDHvDXuIwitdf4Qw+yKMlbM7lAtXVUbq6UJFn/O7EcFZiMcH+6MQWBo15Dkj4QQtxCYN0ldLOQAzSa0wg/pUNi3sBWwcZBba0VPTQ2OGKFLKMIslyd+BYDLvNX3E6LhkLdXMbu2Jcy3vKKa6sHK4NUrpYaSjvSzLX3KPire6qi0DI8FVIGOimlTNGPezFQx8nJtQ8YmxgTRuRiOW5TkStO4EJ+00jBV4dG4/oO37S3SoMxfl0SYCvHdtv0/udPIUC9eeKrGASs276QXYckYYl9IQoIpI3OCQf2UQ2dVSM6Fgwt/ltmk6xXMqlv+kwfoCLyfT9bvORGerC/2bDLrWZMDiIOcXr60OTyVLfI5m3rEAQDbSoGxj+0ZLBmpZ4WQnCUmYkR6vY58VOxY77pZN6KDI1XF++kndV35aD2Q1ftS0AQz5Fc/ELfR2NHz3w/yRbtJpq95ZOp89O4W+m6bhwlXIHOF0fjivdkT33WycRnKORax2D59pDcJLeIJ1qh0qTD1ZC0VfjSf9RAi64aRQPjEHrpBz9rLRU1hb/H+wlZmeZziEhvQq8G6rCh8OpsTqSxjrQHKdNZXNB7kw+Cu9Zt4bAIlhZUK/5V1PB1kZ0eAIIB59M0pIS/L+DPGlniCz6DMpC52gPgQz/iyGuk5lKfXfwYNEMls+shAnzYO3m+Gklv/aEozDZZCJAQ1o8/5kGbftfPLCbM2wnIat+ziKOQvqozZcRLxkhSClHsj8VJLMKR9WqWAiv65ULQ3mYNqxbiHHYwbtT3vCK7V+J6FV9R6eIFRnz4qfCKHIbieiHYwATtIGPbI4bhfT1agTvGZcoVDZ5e+5Moc6YDTJhVls8/vRIgm9OKOltsV3nhI9dG3pm/4MnteZfMGs62v1ZEP18Bw11HagSdC8F/loG1++lqNzZXGoSmLg8A+hPJw5K6bI9/geChOsnonheTFjLWvrnH5jHn8OYgM40G7TuZi1fFIHHt1CQNozURn1LsEkZwAtKa9gCDfMBCZObbtTaezor6UF8hOP4eqo6AIdaYM/tXCKc0dnrFd7jNhrYY1qbGejHLuIMY85MkUgQKeLlFU0PK1r89R5bGkdif2s/8951oEaJPWyvmJ+QRxzQ3MZNESvWUwwc8c/yMRqufjA5kiy9f61mFKWRXAY80jMionZIihFN/8zPs1++J6GI77rqG36urPZHL050/uOfrO70GRfgzqxZ3gibj5AfL9+iOC4 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65c29989-dd84-4057-2efe-08dbffa6316f X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2023 08:49:06.4816 (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: PhU3x4D2xQQ/4Z1Pig1KfGU4wJEnzInTBeDGwl05Z4azDXzERepfACv61r6Ri5uIpLKfo+DSjngq8Y76TxnUkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9803 Add USB nodes on i.MX8ULP platform which has 2 USB controllers. Signed-off-by: Xu Yang --- Changes in v2: - no changes --- 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 Mon Dec 18 08:54:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13496394 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2058.outbound.protection.outlook.com [40.107.105.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F269010945; Mon, 18 Dec 2023 08:49:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ctqR+raa" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZgytHd1fnJxLNyCIcdXJr4LX0sJwcenJvk959lnfJgJVdxcsk7i3waQDkRXrDEIvzN53/LRR6xxKuRQaWNq3vKI8C1eB4KbS/3S0PROKtv52JdU/UqLRBS0606rLP3bpsEm7858HfsUSh8xQEXqZ+iSisw4r6NRd8OVbvx7bNfdrNi2ZMjotm+xzaRQ6zYTass8wLUZ2RqjPN+BjRsh+0Nd3DNEVGpM4P57EoU84Nmlry7oNzEKxPtciKBr0nD+mfNb77tK6NKZ3UmM8dQnJse1QQcE5IT1fpKVW4xI5I41Eb9I/4d12liuJwhaFyV5NA2CizFkvJkxsnTsIgRvvCQ== 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=jRrYZbH1/b1Im/s7G6R6eYdCwduO9PBuIxDPdz7B3Hc=; b=VthIwRAL6i1A3qgVwCgDpw7EeXGd8F5sdtygEHGH11ASD+VqEPFkeL6GAHwjkot7TU6R17e6tHA1Zczqaslm1mPQrtrCokNeNHJW/fFSOYtzytbZ5vyetnr7BTBqAIi/etGPyxpMjP5K+fXXNB704ymYmCQJT3tIPHgOTnPTeRnMsJ0pL6S/Y3dncidOI6wLbbnxgwetgkbc+cs7xTe65CzaNG0qAAQRRcHQTXksMXPutjn6FHmdc2rI8BkJmVSuYbOpwccCqGxOrQjWBfXP4UgZ0lEv3VMw8ulX9bbUc+czVyL9AxcQWrwYT44LbnNLo86vk2jgmGKvqHqZ4GCWCQ== 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=jRrYZbH1/b1Im/s7G6R6eYdCwduO9PBuIxDPdz7B3Hc=; b=ctqR+raa0NYo/F5H5MR+erUImzCiSi1rX9I1UbRWT6vPBV2b+cUNrDo3/Tx25KrFE5mGAD5+ypU3gjrD6MkZNQUN6oPgUBloaFlLzqKrquR1eHajDjlF+3PhH1Fw//eifDSooI2t7ATYXy2fz+StZ3Us6mYRHBrKhgvuCKZ7Lvc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) by GVXPR04MB9803.eurprd04.prod.outlook.com (2603:10a6:150:111::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.37; Mon, 18 Dec 2023 08:49:10 +0000 Received: from DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30]) by DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30%7]) with mapi id 15.20.7091.034; Mon, 18 Dec 2023 08:49:10 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, 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, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v2 2/5] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Date: Mon, 18 Dec 2023 16:54:53 +0800 Message-Id: <20231218085456.3962720-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218085456.3962720-1-xu.yang_2@nxp.com> References: <20231218085456.3962720-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR01CA0189.apcprd01.prod.exchangelabs.com (2603:1096:4:189::15) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|GVXPR04MB9803:EE_ X-MS-Office365-Filtering-Correlation-Id: 7938dcd6-045d-40f2-6006-08dbffa633e9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: O6Uvz+6YUJNNt/DGOCATZQAjuMJSmV57LNRCKwJS/46M29PS5gGE5Uoeh5zQttr+d2d9ofy9FxpsQgePcDtf0ll10BimRiewOG6yd7DOPHZTi3OymSMRxWNeSnICBGrdVYwJdP3bZCnzrFhR3tXmvwM3jWwAIOJ6v9oFNTaRtv9RMA+h7YYkgrS6BxcHOFy6SRG+DMm9Ov8BIcU/3fdsZqWhLQcVVAevx7s9bUQesPgiZSIegc3gR1nbxYIEZTRDoM1Ba1GYRL2iWvaVdVP+3P0bC5NGBO8zDDPM38r+0fswMbQk072KBcqL7Col6C2LO6OUV7iOVEZ7FHiJx5nISCAWG45GbVJJOjcCLaSjDLbEcz+zqgEENOVu3oaGUGb8ISuwQ6Ly0it3BdV4imJbmHxpsUDyBgYqQQ/b5pBSlosBFw3jMBjUEA52Wzs+pF2y+3qd8okEXG+NNV0Yu+lcKXTwmqRiIDj780p8OpEkSX3wSX92KvfkK1whrVmF80wbJfhzElhPXFYaQ97o/gd3lBhkvCatKg4TwHNeLFK5ges9E1ka/Usetxu7Tpqz3lNts7iz0NWjEK2chtufy0FTrsDlEbvpS90WioqcHD1xLQsEM8dQXFfSOg1irHUXf7PAbPvr5zeRG1oR/i60W5bF9Dg/GxyTu25yIk6QWttp1M6XWmQ70X1pQR++VIJeyncI45WQe0NULR6fVVnIK8PX+Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR04MB5146.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(39860400002)(346002)(366004)(136003)(396003)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(6486002)(6666004)(8936002)(8676002)(4326008)(1076003)(26005)(2616005)(478600001)(86362001)(83380400001)(6512007)(52116002)(66476007)(316002)(66556008)(66946007)(5660300002)(6506007)(38100700002)(7416002)(36756003)(38350700005)(41300700001)(2906002)(32563001)(414714003)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eBuzrFhnLl+0QnQZPEq8Ic/IYXyAsNC8QuaG3uZwUfbuy7/efN+sk8SbYjI/2Y+dxjeuX7CNKXlb1FKuv6FkvHX1Q58lR2grcUJhwM1OskHT4qe6FNBbBeyUEHSGh1e09H5VX5JILnLtnQffvAGYNXEmS0aLgpZ4Qa7c4EXxud0q9vBMGQNcZ7uvWiVl+en8//8vjeUbzcbg6deXq8EYhGnTFlg0AXhjMnR0Avupb3WoxOIVdZEt4OGzSf8NW1hVswNR02/fXWS2rBdyzJ+4IuuoDG3+9M6yVZ7WAwHR3veaaBwP7rmlonl0dWyykM+b7SEP59KJ1BwXqDYcwuJvtogd4M6ipGs3DdXE2hII+sWOl7YFgbD2NpSx3EVFcMEz1JMWYzFK4YPF2RQ56wEzveePWSOUNIxCoYhz6bNHAoh/neKb4ptut2B4bXd8aogPf0/+0tsgftFXaF72WXFuEt2ZNa6RqFceNa6QNw9dplkUPl73zyhMMZhKb3aFyeNK4677XgsOb2uqWmhvOHhvLqCNcl3dVo9yRpCL6KDofTuFxzbQSP/xMtwdKec92IG3M2TJ0+O5Y6Xdby3QWAcmK7YLxsbSsv4/YaHegO03PZCPEehgQgZJYpWg78Gzoo+hnGesMSBVrgvhhAZ5tdKj/ClTfzs7qk8Mtaajlkwr8FeEC311TbAT4X2xomBt9jdotI8kyRjOTBCasmab/8ecP5Q8dhiKcnF1jVJ7T+aDkE6n98ibrK4QFfVxN5ca+cVxWTHIUsOowBSuWdvRDaWsFWBrsIAEoIw9kElTZrwdkFl4+EXt89q18MZzfwMk3xQTzqWUiA+DuM9Kr1lKqgUlUpveB8eQV4yEkKsjVsbRPQWKBQM5hdYH582JPgShEt0D3ucA7hMecFNO8TESmmeyNw+WRShTpTSOa73ohX5a0LUcOj0JuzZWOgPjT/NW3hqvqbVwpstue3WRyUt1j7Yab9G3Ne7p6E2xae5PMFMuiZSXaknocbZHcW86672yfrMZboQffR98yAge9zE+fI4mjO91XUpfjS0qhKuBH+mnfpUE7F1KcUH60NRdXpz6CvyPkKJzf84Q392OXnbN2SI+rlw3nitr4Ga5JSejAG1JBBbBx9pvEfEycFnjk0WbRpBL2Sn72GBFyY2diIKUtdm+vt1Mbt8WjjOro2OmbxcCbSSGgGdq7eB4e1Pcq+i2ptiTNMN36KQMQ4a46hlbGuCo19lCmaMk35PU6VrcG4cTha5WJkqbM9uN2use0v2W8pEiAcxogSdxEpBLH/1zkZysk4zQB/CJx2keQ8dM2EH0vtWe9ynqKAguHTBPO0GwoLMJ33d0QdXaDHTv7Oc4T4sOihMzM/eL8pay9sbPfM14L7eQP3LyyeA34yc5O1hMjjcVsedPcvFzHMFw3ZAv0M6eDR/2M6A/olxGE3+ynz6BEJ+pUpvrD0tE9uNkZd7BezOS6fWvLfc1KA974dbg/6W+mVlnrPm+S3ZtduXLeWo+vbqhPhsx1+Ude6iOPjDeIz0HwWaH0/kFMM+MNpfkqOEsgjzMFKUMaktSEYxp/n3Ui/1JAZBfgD/keZvJG20Z1RXj X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7938dcd6-045d-40f2-6006-08dbffa633e9 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2023 08:49:10.5840 (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: 87rOOjaA3rczNrmH6KPbo2Cj4PmBV9j2JQqG4czMo81qy1c4FmhK+vqOTKG3QU7SNEulRGWb3mSULaobgDiVFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9803 Enable 2 USB nodes and add 2 PTN5150 nodes on i.MX8ULP evk board. Signed-off-by: Xu Yang --- Changes in v2: - fix format as suggusted by Fabio - add PTN5150 nodes --- arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts index 69dd8e31027c..bf418af31039 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts @@ -133,6 +133,64 @@ pcal6408: gpio@21 { gpio-controller; #gpio-cells = <2>; }; + + ptn5150_1: typec@1d { + compatible = "nxp,ptn5150"; + reg = <0x1d>; + int-gpios = <&gpiof 3 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_typec1>; + status = "disabled"; + }; + + ptn5150_2: typec@3d { + compatible = "nxp,ptn5150"; + reg = <0x3d>; + int-gpios = <&gpiof 5 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_typec2>; + status = "disabled"; + }; +}; + +&usbotg1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb1>; + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + over-current-active-low; + status = "okay"; +}; + +&usbphy1 { + fsl,tx-d-cal = <110>; + status = "okay"; +}; + +&usbmisc1 { + status = "okay"; +}; + +&usbotg2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb2>; + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + over-current-active-low; + status = "okay"; +}; + +&usbphy2 { + fsl,tx-d-cal = <110>; + status = "okay"; +}; + +&usbmisc2 { + status = "okay"; }; &usdhc0 { @@ -224,6 +282,32 @@ MX8ULP_PAD_PTE13__LPI2C7_SDA 0x20 >; }; + pinctrl_typec1: typec1grp { + fsl,pins = < + MX8ULP_PAD_PTF3__PTF3 0x3 + >; + }; + + pinctrl_typec2: typec2grp { + fsl,pins = < + MX8ULP_PAD_PTF5__PTF5 0x3 + >; + }; + + pinctrl_usb1: usb1grp { + fsl,pins = < + MX8ULP_PAD_PTF2__USB0_ID 0x10003 + MX8ULP_PAD_PTF4__USB0_OC 0x10003 + >; + }; + + pinctrl_usb2: 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 Mon Dec 18 08:54:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13496395 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2086.outbound.protection.outlook.com [40.107.105.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECE2710A07; Mon, 18 Dec 2023 08:49:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="lORdMNbp" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TkpyuGLqBeFhXqH2qJXcbvYrp7vTuTTYQt0QWRWwp5knpAsPda9932ORCFxcj5ELL1IGPAl5nSJJLik9v5xo6LZu9qdepj1yFVphk+yY5cMBWobiTD01zRGqYbAxGWIIgs14s6976dWAilShqMmnQPfP78BXfg/sd+2pWLn+Risuk95fqFdf7/XrAdWRlatNWLbe4KtVS8eRsaPrT1rN2wYw+CK6rgwcBxieIp68OPVv5MzPUGwcSh8/L6Yr1cV+a7uF5PeqZJ/2BRr59K11HzgvEVq3wM+9snyUNWafOiwJQki8eR3+La79Ta5mxvvOaPcFtE5HnVyNUAkpunqkwA== 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=fVvMQU2AJDFke2hX3E0OfW3xZpfm0b0NKLY7HtzRwEk=; b=IdWTXdiM5m79bBOrUvEk1bJNlACYaVv6IQDMFnoU+SjJIcfIbIJ2NHTGJpMSjFwh1wrd2qyR5VdpH3IgSjU+QMy+72l5DNKutT4drqSB7y80+YTvgmvNqBdSnqOBXbF0lu6OIbuiyp91F23GV4IJ8GOM0b3TRf/gapWJsIR34uUACO4NRwMcankj0XFjCYLt0VsR/Cgxz4cXrq9wOwlB6Y8AnYbp8z1d8NgNchLbR6dYnmjLo96HbUlIoO+w+nryW65FKee9aNBW/BdLdMXaS8iMpsiWRwDW+zbgLAsr4EmVYNC9rtGH3hZD1HPA/ayEoOVf05Ct6ME3tq2+IJzo7A== 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=fVvMQU2AJDFke2hX3E0OfW3xZpfm0b0NKLY7HtzRwEk=; b=lORdMNbpQpzhxA8/v9nWwVpMhwPvMnCREIvqkzJux+sRrLjC9oOeQmjcb9HXKjEmaa619gR6QuYr5Oaye3EAnPIQCrqZ6x+LXAeKSgMajWiwgRvZrIf6VSCSUw4euf32qN3fqt9Aa04ootBhjGyglwQ+nqHLNIYeUvmBvnDcMVc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) by GVXPR04MB9803.eurprd04.prod.outlook.com (2603:10a6:150:111::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.37; Mon, 18 Dec 2023 08:49:14 +0000 Received: from DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30]) by DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30%7]) with mapi id 15.20.7091.034; Mon, 18 Dec 2023 08:49:14 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, 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, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v2 3/5] dt-bindings: usb: ci-hdrc-usb2: add compatible and clock-names restriction for imx93 Date: Mon, 18 Dec 2023 16:54:54 +0800 Message-Id: <20231218085456.3962720-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218085456.3962720-1-xu.yang_2@nxp.com> References: <20231218085456.3962720-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR01CA0189.apcprd01.prod.exchangelabs.com (2603:1096:4:189::15) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|GVXPR04MB9803:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ec0f1c8-92b6-4b94-69cb-08dbffa6365c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fzirTo6bIogctVDidrtMHcguYZJ9oCqXU3lC7HAAowKVunRaIVSpDAcOon0UBi7rvpsWijMZp8J4YQGtdYt2VnDjCSOI9BVUGtlkOwK6CX7tUAliJOp8LQ3J0nE17lI2wKMJG3KHHQClMh2TssdPej7EFqJI/u0ZOHJhJrN23xb6xuF4NV2FSY4AZXMzl1+Hue/7W3sqNKm+r32Ghwf0kZZbBOftiTvaoLsEXcWFs5AXxZL1rMngC4Tw/GhgqBWoVzVGdhZln1uONm+5EOzMaBLQDGSCXi4Xso0HaLxAxha735AmgXvu0SBxFzkwMWo0beGbD6oi452A86JqakPHJmjP0jboZ4uWxOUP4kMpMzibuH7e8tparqM0ZfwF2Ive9zCfSeKUKz3G8DwGI5i4D0Ksnt+GWYDRxfJpKr+qRga8yj2Ua0Y7MDNy4bu72Tc559AmdgOHZsdN2HF1sC8715NdSe90LwEGlFydzBriS/wCsFR4mT+O+WpImDMbC/Bu4zuTo9DCq5syv/tTCYVwtLiErv3oc2lmwlEpsbRGzeW9y/oxYWBBzXGWIMMAvext3wqKq2Y3Hqn0y87s+pgdBkI1tOeLm8DDmgLJ8LKbF24Mfj9+z3bnkO4rwnSCqac4i4STa20hr1wBeL+5YzCUUC7BmDwuFTrhSSuJE1rgUeo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR04MB5146.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(39860400002)(346002)(366004)(136003)(396003)(230173577357003)(230922051799003)(230273577357003)(1800799012)(186009)(451199024)(64100799003)(6486002)(6666004)(8936002)(8676002)(4326008)(1076003)(26005)(2616005)(478600001)(86362001)(83380400001)(6512007)(52116002)(66476007)(316002)(66556008)(66946007)(5660300002)(6506007)(38100700002)(7416002)(36756003)(38350700005)(41300700001)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Ho9yCm6ZCRD3KmL5i3TtVrYbTaYFHBIfWswqLDJO2Il74esNYJXANcv08G9sBXeuvM0JiQvSNZuL7w2izHHxdGg0tKGZegLN1YPLHyE8pyjR5+U4LGgtzEUI6xZK+775BG1z7Z9XU5x7EHCUeXqE8/cb8krLBKRQdNMENPgvFuk2o/2O2Yu9YYJLoncvQLYZIk9Y4HzBvKd4HQNA8ddViaFL6Y2mammIUP89tY+4izSHbr0H3pT/beA5npiy9IMFOGWxMrM5W/DvZfn/BwfNYnynz+F6y6zZv2rsdRpqKMYPPcenfbb+2orUFl+OypCpAfFzVFaKKC95pB1JfIRu+7L1OTEqSJOOyZVz3+wARU3NJKDwEwmio/gCg712I5thhtCj7MEbrYxvA6vAu3/NkixPkRPPHDbRiLTSyxLA8sjAzZaFXB8Yg0HJoVbYknuJwwTt6RHozrSvEvg1SySWh6dwVA2wY6RCP7smQ8gJGtqdizATZLdsY971se18blcOfGOHUmPik4h0Gkx734BMs+S7FCG0XBwrStfg5t+f68z0xf8OztjXkZLLKJ3UBwql228b4ZHcrCHmJSc/p2W4HgEV3O6K4+0p/7w2JXGTa0ZHz//iPPfswy/TRUtpWVtgxLrklguN+H/iQGSo89cF2mkXgB3rhcAC775hzsUafGGxBellJh2KY+VdHSi74FvHWgRl5laju3SWUZtpVqEU+FpOXtLVHbswKGvvCyOQSRYEn37sROgsPOvRuDTEcohA/CeoNFo2JXbE1FJaq/ULeGSipTtKTWqJ5IGfa/o0fomSRtYMaRKyX5+ZZJtEo8TogP0G1IjQkY2MOR23zuTFQ1ZKqwGqRImFAN/0EDoZqp8aqL2V4XvNGNC2LIBocgt2pO87Q6E5wrwhV0Vub+cHSAHaBmKYAkiyCAyE3FFggk0E7XshQtH90FTpe+exOalPNpHCOPK06ycuzMWZWRRkGZ74OzKV7ScIIwFvQoPsgFodZFNbpIi9yjy1ivY+N6/FK6/R9jfXB+VBFXV2GuLuoL5bTxi/MsOVnh0BGLU5FPGyqvsJfrxeoi42hcplgAcE/BEhroG5k3vCJpEi0j2bBQ1FqhjbOCD5OuFvrqb185Uj32aKn/uBBPxGFR1LbXMcTr7FJI6eNyrqxQE20oUNrhUrM8VujP8OhP8FeNlNVFB+utLLyZc5c4YByNQCzjA6EZ+RbXmaBCLDe7qrGtA6nFslwejvQwY7R3cgpYo6znW/c648XRyO6GIB4P7KR4UWVz6cehAcXXyY297WE1c5fR99w0dAR8bwLInL4Sq+vtvPM86JnOvGtfts23FPwAIpdJ7vXO48oU4YVny2qL3aEx4TAqroia3W7NMsXWvD19rdbGbNMhJqZ6WwLMv7B5QH+Bocj2hm0qgwZOQX7D1Ikgn7id8RVnEieT2wi3N11ElpvpI4rRZcZIoKJ9eCKcZ+Jd6xLt4xEVfzcEfrzJhwe4YDgbQkoc9UbS56hI4P8BXGzKx1MEhZG7+dyBHKtwZBmao29bLJ4WYM4bAqrAI/wlycQJbNYxxcUk2CGs4gKobnWfzUvhnr4lJTF+WhhVbE X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ec0f1c8-92b6-4b94-69cb-08dbffa6365c X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2023 08:49:14.8569 (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: 6WESg6SG8OEzbocl1GA8u1TegOK1TE0lvOyEYuWf9SGypbqALyZbqxU/d2DBL9Pubci6Ik6YYqDc4MO51WvCdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9803 The i.MX93 needs a wakup clock to work properly. This will add compatible and restriction for i.MX93 platform. Signed-off-by: Xu Yang --- Changes in v2: - no changes --- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index b7e664f7395b..4e22b369e43f 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -57,6 +57,7 @@ properties: - enum: - fsl,imx8mm-usb - fsl,imx8mn-usb + - fsl,imx93-usb - const: fsl,imx7d-usb - const: fsl,imx27-usb - items: @@ -411,6 +412,17 @@ allOf: external-vbus-divider: false samsung,picophy-pre-emp-curr-control: false samsung,picophy-dc-vol-level-adjust: false + - if: + properties: + compatible: + contains: + const: fsl,imx93-usb + then: + properties: + clock-names: + items: + - const: usb_ctrl_root_clk + - const: usb_wakeup_clk unevaluatedProperties: false From patchwork Mon Dec 18 08:54:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13496396 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2040.outbound.protection.outlook.com [40.107.105.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 10DDA101D3; Mon, 18 Dec 2023 08:49:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Z0AxsWLZ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i7y5sVNuyrHzuIYvr2chorrcYJa05oxJziEgZa084OLwvUAN752H0ZvkABCQXvm+juCbhFV8STK2tXcA1S/4NyMqb3MLtrSg5hhtqr/Adbayapd9qK788KLz2j2mnB0jyfzCAr2Sl+KgTaufiXtXTUrNQLzxx2scL5rLJ/SHh0bojfJBaoUzpThYYCcXXBWUP3UtQZMQvfl/7jaaUi/2uRtw66r/JofwlviNRUzTFrwqc9LhGocVNqpsVmC38YURtRi/BidX1HuRv51oZ0qOdzT73ZS9lDRx/UiJ5rLgb529EIBWC+rZxELMA6nwmfQOTMPUrHNAsO/Wg5+fU5btvQ== 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=56VFFqxuWFjT8ZdSt1Xec0Jb00TF/4bmV9528WIcOuM=; b=ZY1w/5nZKcFPgr9ijZkIxG2r/R8tQxjc/jNtKJnlR+MDkPktQ62xtq7T8GkAyPjFgfk/9E6vYcS6m1ybsA4WpWpJHpExrNvrKIHsp9QOU7ruAFwL/EDf0RPenin2ddL74EYFirOnYgTvOy7gvGXghDvOimZDV+0Nm2VhVyLar19G/Z6aPZrV6EZe21O17D54JgI1Ids7PM0PKh+bIkFKukmHsnlCDT25/TV5iBlMmIyf/H0ITHjEWE04Aebar/ov3sLjHZ9VJnK72eSBg7kedvpovOfCWaR8qzt6P2iIFKIxBkDFQxnrzxyzOS/hFYhPD0FuNNUC9UCaHkBMJhmxzg== 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=56VFFqxuWFjT8ZdSt1Xec0Jb00TF/4bmV9528WIcOuM=; b=Z0AxsWLZN2u36co+n3PYNLBCK2zCblhoZqkLUtwDyBA4tKkNXM676t96JeNjEobwKVbAPfNPnYKdfaNfU0NTZVrDyfTo9Set8E2B78MNeohIk9gd3A09bfW80h8Q46W3HGgKAE7d19dE/OfeBvDBWcI3wjqG/cVJId+1fQA4Sbw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) by GVXPR04MB9803.eurprd04.prod.outlook.com (2603:10a6:150:111::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.37; Mon, 18 Dec 2023 08:49:19 +0000 Received: from DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30]) by DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30%7]) with mapi id 15.20.7091.034; Mon, 18 Dec 2023 08:49:19 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, 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, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v2 4/5] arm64: dts: imx93: add usb nodes Date: Mon, 18 Dec 2023 16:54:55 +0800 Message-Id: <20231218085456.3962720-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218085456.3962720-1-xu.yang_2@nxp.com> References: <20231218085456.3962720-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR01CA0189.apcprd01.prod.exchangelabs.com (2603:1096:4:189::15) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|GVXPR04MB9803:EE_ X-MS-Office365-Filtering-Correlation-Id: 994faf29-8d70-4621-ade2-08dbffa638e9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iEHEt9fYefl4oAUu/WMY0NE4OZjxzxCg+FlwkwTf2FFrpqd8W2gf8afCYOojcT7KBzKGT95qrymrhUJFCFxq+Mo/yJyyN0Iil68jFuc/u9/ln10VwgnpB2DPu4fSi+JUUE0sVylmtffcNrVFu7S0kgYf+oGQBeRuZY65LEatznSaZhKW23/modIguyCsA0kEIascYDqJSlcH8V95FzDq7q4jB5+T/Cmn2WbsTIyRnGL20yju0sj3P6gps1ti+UebYvvuNYHtStAaJnpc1Ez+1touIsHuLDj80jxos3F0xRa19JQ5Jhq6puuXWqLUc5SfvjbFZ1WswYR/mMwyrze/JYnA9VarsfHL7OEJqoShF6PnHSvDw6A8p5d7TaexH8+a0EtKn/DIm3Nmw0Hh42sXc2+EjxThJcd9UpRLhB3MmeVeXr3L88LWlWJwBq23AKiOBH2EW4rraRnVSfvQ6auNt6dQWJV9v0of4Aml8i+WwKNHg7kWZcbmPgbC33Z/eYVxPQ78FMRKESro2ANI2aDo2qYZ+Lm03CIx3a60hJENBeFQXLsY9uf8JDQrXKZlJtG0XzppooZOGvwe1Gtnuwm60+waox3NXlj5/wC7aPvGHo//XkfbIuGWIMit7zlcZX0J X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR04MB5146.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(39860400002)(346002)(366004)(136003)(396003)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(6486002)(6666004)(8936002)(8676002)(4326008)(1076003)(26005)(2616005)(478600001)(86362001)(83380400001)(6512007)(52116002)(66476007)(316002)(66556008)(66946007)(5660300002)(6506007)(38100700002)(7416002)(36756003)(38350700005)(41300700001)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jPfUaDVRbfI+t/O5KHVmaHuWdtvZROl0gtH4ublK2zg60TyMSY1ShF35t4FTBqn5fZAZDYe7vQnCFmritR4rwMO4fnp+zKvuuWftJkC7xUAr+LkrF55c6bo+Ugo0K0ewiL4sJUbTu9nIqKJKZI2jdXxQTi2x+jlCQ7nWMek2F3w5Sylh0/29ZhKpS9TWzR9rVxOBkl/99GKcB3Hl4TNG+7wPD989fzCx1o2VgVrwDXJ+MrDK7IphOjGWIrroNpsSK9Edc/r33Ba/adM1DRoXb6SXt/RaRo9wDq5u23g5+ISJpoxAmxYjXL3WtxEtz/XG1/A2F5d3uYR5BzlxPY8i+orDcYwh8JqwHE5V19v9WTZX8oehnM44uEHDFsr8UimEaLAMp476FWZGqqYeHFeHaomA4B2/sKNWZBI0I/BbiTJJtvSfzau4C3eiZCzNaQmj/oqqQ2HKuicLsrs4wRByVQWPBdyFjJs0r+fucjxJuFYQfbasSp720ukkqY6G+f5jcCwjspP/EK7Ch5roirkCLsKoiBm9VMxdPcUJrxnWIneIUj7aIqRRF7J3TOX0mpsZFN8tCrwGeNd/wml9lncXkZ0BcqWqmtGVa3QfAXX9haQE7q4iATQoHF9TSujJ63AT6R6YhQwtzd+5qd0eWXl1j7I6y8JFe1bRWbSLG01aCLNp3dlODUoYDc9maaJ+X/J4jxYqoBXAWK2tV3jux5yi6S2W7Cz8gYW/spVrSEmRQd6XB7FhSWQLNDYq/aPuXDggxP2kq7jAOFy+jMjzaAU1T/fFnK3Yi6jEOGDvOgxz0npI+SkUEoLIWRPN3DlgbuIXiOv/TdfkOI+Aps16yrs5A6WAJgP+eBJCKQvlSkNlSOxw8kpa/F0XgxVNokGtXNIIZMlEPI1Cw5rXVjRnJPC+BrwmZdqJtmJfFJUQFURe2/D4yqkwx8E9a9R0rIbWJc6dOSsxjMLnymmYww5t060qDEni2r5VwxNQTl70sSZqHcJqO0vLMypnQTo4fIT0YnQkCwisN+MT4rcPmpz48u4SM38/CmpmEOFDSpUddM9uCQ8laKczZ+6V0GgfKxloY3zEx61vdYiI/CfZaXb2VFfvmKEwDE92E11yjbEGLsFrBgXiXXysJa2mGSHecDfgVXeNg8U7gD5z8PNKZQXFT/tgHme/vN5MSkuvUbBe/3CNYLrTv6DXjq74QeMfkOCA/7fL+dpz3kJi+NxaD7CugHJZ6aCX2wEevroqDhhZHJpa5KbWKze2x/a1cEzXBz7mNdhntXSSyLv/fYntaKZ54rE81lIbhtS2CUDhMu0Y0ac9s/YWA6VdmDTmQmtQOp4PugporpnsM8eT8oJhou9QLF1+HG/hBldGNnGV2gK3plwL1RAyhx1H15aS7OtrnHhueT7VuPF3mV6x7QKXSpUU4iwB/+nUMfUx+/7Sca96Z2c/Pk1Z6ZI+5DxuvQZWkM9EPWW72kvqxu3xtD4wUREY+Dh/ktS8umgtg4cfaUwGK11y1aLIcQooxEFyaeXjH2XlYbq5eQJ/iWXe+V5qqZAreNfqpuyWG3kdc873+oMyE4W9Ll2DAylaRkkmWNLwBBgpC2Gr X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 994faf29-8d70-4621-ade2-08dbffa638e9 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2023 08:49:19.0449 (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: OI7UHYmbEn6FKDfH9bTyG+e/pE79i6C4eNYUPBflA/e44B4QExw8wn2ljf16ZINLfKTBqHZS51WE6RZbZjQT+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9803 There are 2 USB controllers on i.MX93. Add them. Signed-off-by: Xu Yang --- Changes in v2: - fix format as suggested by Alexander - change compatible from fsl,imx8mm-usb to fsl,imx93-usb --- 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..043ec8dc9aca 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 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + + usbphynop2: usbphynop2 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + 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,imx93-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"; + reg = <0x4c100200 0x200>; + #index-cells = <1>; + }; + + usbotg2: usb@4c200000 { + compatible = "fsl,imx93-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"; + reg = <0x4c200200 0x200>; + #index-cells = <1>; + }; }; }; From patchwork Mon Dec 18 08:54:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13496397 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2048.outbound.protection.outlook.com [40.107.105.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AAAE1118B; Mon, 18 Dec 2023 08:49:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="s0N8ddIr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yv0XIdZZ9E7efNGeU1S1gvr6DBIngyEOnOR8KzdmxHNWpyvgjg7kSUkmOrXejX4q+LPgdmNOZhFTl6txoko2D8FKiVt21Cp7UPx6idXWmQ6Jn2+6pf9nXPu0Z4A1mYQy6mL8wQ7rySgTcmLqkMU8rTiiETnECN7hQEAnsyytMRIlczg4JJN15bmYMS+JdUtxf9iSTcBpUQjxrcqzYNh0m3p5uQjQQqPCPWkVLbQR05D6a6C8ipL57wNlYG2ucGgq0NItKPr9q9lmYLSvf1nGhFqIjQFgwZwXVGWwA9Ny2az1CG5c1ZIQ0SYM1gSvnvHBoaiAZTj2QAAuIcboph/0FA== 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=HiBePQfElWtMmiU6rcmDdrc0VjXl6pR1IFiJB5RCGcU=; b=cwUPuEmCfXDqPGGJ8m8UzOus79k4OxHRHoZVfFf6E651jqvcXIhVdU13Ai0jWwsdTm8AgZCHrMD51mUeh0nOa3Grwgm1gPgwp0BS2KIsIsaDDoVW2ujnG9oJKVq/aScSEHTF4qVvmAWML7sq1eU+eG5jSR9uyao0/ePkpudYHqxV0t/K5hInqm5R+JunXVgZLBEHXc/qE4X7X4ixQ7N9CgDV9nM7TXouZAYybJtF0Ig8ZrQqaR7Tb8AvYtkPX3cy/s6umk9LsL+P/m4NikPjMog5MdjLsmBoN701uBwxprtHJFr3ShG7UJSALEY9RLJZqxLDzlgLYg+lb2qLJOD6sQ== 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=HiBePQfElWtMmiU6rcmDdrc0VjXl6pR1IFiJB5RCGcU=; b=s0N8ddIr9odS4KajfxvcLHJR6imsl9V17uFG2ycjJX+0KAF3TkOJwGRJOypSnG1ZrlN5Oo3JYyYMVLoIUDZlndSKceUNNg057GGszgM6ojREIbDYf71YzTFuSGjsRMxHqtfNQacVg/fxf4v/lYOh+y9/Btr170UWEPogQVnDJww= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) by GVXPR04MB9803.eurprd04.prod.outlook.com (2603:10a6:150:111::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.37; Mon, 18 Dec 2023 08:49:23 +0000 Received: from DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30]) by DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30%7]) with mapi id 15.20.7091.034; Mon, 18 Dec 2023 08:49:23 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, 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, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Mon, 18 Dec 2023 16:54:56 +0800 Message-Id: <20231218085456.3962720-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218085456.3962720-1-xu.yang_2@nxp.com> References: <20231218085456.3962720-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR01CA0189.apcprd01.prod.exchangelabs.com (2603:1096:4:189::15) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|GVXPR04MB9803:EE_ X-MS-Office365-Filtering-Correlation-Id: 454d1b41-bd87-401c-40da-08dbffa63b66 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 603TQZKcuF/0HoBFT9hYHLL67I//aH8bqkFRGP20YKEr+2ZPS0Y1S9S6H4Nzq+pvIJjYNhQIXaET+hgZfJOPSWpi3JZ/C35lZuyJOZwGDNcMYtvijKkL25mZ5BiIbDXem0FN36CppqBnAD8vkxs5i953544XpJOj8khFJZezRDNOX37AzRCewIRn5AsR02emOKHEyR9vGhYqkTGi4Iyh69EqJYspLjJCk6B4+iJ+5HltPxvIvQiE6m4DLIucheyMMbXhzpOpa+3cPxEae8dnnIZ8syY+/lJUNFIREVC6fsaQBCtbz/KWt3Il86wNEDBeUCFgxjUiredG82i8PoMPJtWh68BiJB2M3e/IfdheHM3+y82xXi9kpd99Aoze9Rv+zVFObAwS6Cix2kyPm1Rv6Xa743uI5KgD9n/+g0ufS0tiorQE2jf8tC2eFStY2QvcwDV1kET8X/EA4RefLqO3UHVqaAUbP073G7qq32tvyD7gGOXNBZuSFfFrYRP4X1Hhz7+ELc7TiI+toolLgt/hvbJsITDWUrf1VtcWB/I3joG9yYCHXQOVczmZta6LrxM4cw3fqSdcrdDap0fVraaCMtWYTgKag88mxASijNs9SB+711JKYZg3b2wxwO6w+gKAZJ5U+9RJ+WaRnTVjjscnZ3NgIjuAaxSQelPprxguFk/1l9t2o6opATPWo8hf6QZi X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR04MB5146.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(39860400002)(346002)(366004)(136003)(396003)(230173577357003)(230922051799003)(230273577357003)(1800799012)(186009)(451199024)(64100799003)(6486002)(6666004)(8936002)(8676002)(4326008)(1076003)(26005)(2616005)(478600001)(86362001)(83380400001)(6512007)(52116002)(66476007)(316002)(66556008)(66946007)(5660300002)(6506007)(38100700002)(7416002)(36756003)(38350700005)(41300700001)(2906002)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: htDPQosi4CRb+scJZAiaeR/kX14grlK6qStPXgkmCEv5Zl4FiH+3jHCyGSfVN/k3jFCiet4SjU1RUWe+gUV8KrwxK3gZAAKibjoJKo4rzs1R541Hh14Tnj/46CxpI9ScGqdNoPWlyAfnnZyVAH1bmNWnOUBWVZR/B6w+XrXd6Xfaz2XZLKkqB9NZlltWlcN0rO6eWmk++IAr8quL7CQlzUFhlrpNvE15fjltRA+fjAkgofb9zQqOwzGzyUkOqmhpShQW5AtwHN7yCq/7xXEsaVWbfFaAdUKCe5PrEhsow/+p9phkimtjG88mrfPcYen9CU9nVn+v7d5ezaeWMICkTELwTLSaDEzHjWxUcmFupDlBHjpJJSBnCx/bMQBAtVgggR5T0v9ZzKU/0nafVXpkYbYXfFJd3HpjVJMpFJZyRIVPkRwv61dTHkS1QMnk8p7Q7t4FzTNSmUKMhQeqKbsd2IFYZdzglFmvJqHKlZbZFMx9zHlH0zOvvXIWp5AFxBclfUNb9zrBxbYqEzx2z28gAqmETXEMxuBxdWVdh0dC3Y/w16d8tlVt3URZ9VgDIpOcHHcQxvl7D1BzbsiueqQjlctvyjr2Qs7YHcqbgpSv9MugFcNdIiFQxOYNK1Xc0PoRVfvEvw529FzNoCQRYe3ORslT8aCiWLWsFJ/GgTLMtmiFQMtxuAImJyWgmmiYRevXu90SFPW+NNoOBSh+ALBv4h+iynpm0PkZUq0qPDHLCLVrPjWpuoNNBIN3Nfec38vmf8jBcHgb6D9GXnwMNJNhcd6kWjUux+8xy0VaeOvRQVHx6QJ6jOCba273H7zc6wrZpPyLW7FxCaYKzizGvqwPpYwovr6+221Kf24tYYr4uljp0oursEOeBG1c5/u+sEpVXKsEQp8VDSLhchJphS5difyHa6HdMa1k+cxEVagBUVmZPEfs0an4awy2TlKr3CPjD+b2M/+rj4LSHUB/bmqjHjQ4ubFJ5GiFyKHQFI3OvDbvIYZgdUVx4ardEZ4gG//7JiX4gCUHcEvCAuzzDkWWnrCagKy/lcGWXCPix9E5JcQ73TrQpDdLTO5PSr0svmyQtXmLBGvJl3DKqc5Rcmh+dOoUkjXzmUitDmLhKHA2AQH4Xu65A+PniCb3BHtFlmVkZ+qR2igzJk++0gNUXmRsCQvi3ZJLsoYL2hqw/r/W5BXGoQzC7ajdaLian9SyLltLSi32DyxmMXQqb4ozqz2zhPSJVQdxw+m+r75XPgBppNNmQ5Vc0X2R/EvGyz87Jgn2YQoMj0cNSL0IjWwXlwsp+laoiLkXN1UnhtTOfLqGwaTo7cZmP2luhGio2fsGICSB+TVQQ6OfoGnhWp//nFcHO6WJ1ZWUXqeGEjkkeQ75o6GUXHQrIzT2+RR5MIqoT+1Ug2wTUEWlcb750cJL7VDw9jBMIpkOWKv5eothrnGqDAOhnz3lc1tU5VettlSladax1GWrscsxHXFWXX3u4M/RUwxVfTKAAa4Vdrl9LyeU1J9jeZSYrooEKBzyQOwoEwnfCkn/YcOREV4BGUEtpVNzoznafTMoaoY38EIV//nzMPxFkqMzTuXJOyqr+6/w1EYL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 454d1b41-bd87-401c-40da-08dbffa63b66 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2023 08:49:23.1137 (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: kg67pxiHSZlEDszwnr72qTVqSDqa4RLzjM6Eyu3zhjsjZXh4MPHorg/qwYBQmZ0I0HQBiwuG1O6E4m6Zu9WMjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9803 There are 2 Type-C ports and 2 USB controllers on i.MX93. Enable them. Signed-off-by: Xu Yang --- Changes in v2: - remove status property in ptn5110 nodes - fix dt-schema warnings --- .../boot/dts/freescale/imx93-11x11-evk.dts | 118 ++++++++++++++++++ 1 file changed, 118 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..87c7cfacdc7b 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,80 @@ &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>; + + 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; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; + }; + }; + }; + }; + + ptn5110_2: tcpc@51 { + compatible = "nxp,ptn5110"; + reg = <0x51>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + + 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; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec2_dr_sw: endpoint { + remote-endpoint = <&usb2_drd_sw>; + }; + }; + }; + }; + }; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; @@ -155,6 +230,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 +332,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