From patchwork Tue Oct 8 06:27:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13825679 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2084.outbound.protection.outlook.com [40.107.20.84]) (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 D4BEA1DED57 for ; Tue, 8 Oct 2024 06:26:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.84 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728368807; cv=fail; b=HHg9tt3GGIJ67g04zlwDOFkLiaJGQPSd9pokI2SHR35G54M1pmy47+90JpGj0xJmWvqIeYO3JfZBQqNvA3QzuKMi9cWlraPJoOP0XZ5fCTtxEnI28v8PVuLat/8c0KOyjbvtghydroC0A5qmZmetUyaN3u5vSqClr8H0ep3IXZY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728368807; c=relaxed/simple; bh=UhnJQn9CmXoSKNl6vM0JUXoT+jsxD7LqKcvUkPH78HE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=erddQsNAHQpTxHqpQL+UX/wnjY6v2HdVAM2o6XrvznDQFyRtYlRinravAziPeBdaH1kMhd09P6T3wew8YXuL03qLI2AwCZvu9oaHY9Ivow8lby6+xv+1QQhjxa7DThj3hKJY/mY+Fc2ORKvQetG6lJBF2niFRc2XXrWmjGbxO2A= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=H7SY2Aup; arc=fail smtp.client-ip=40.107.20.84 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="H7SY2Aup" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OAE6tP/gLxTXLNd3vqRlAp5wmLTey3TljktwNUoGZEnTJj2yPx+Z/1NS+9zHfg65fw+wTAmIbibVi6TVcWRdZp8UXoY8PFq4lBoQz2BqBgpTrOad4mA947p61uMQcEIcOlsk2CzhR2vjkTFYYb+ItTKeVrqH6DTpUl6K6ERy1v7k0lDseT3mPvMNIeLwBFvj7DOehFe507zV8g9wHetzVFodOul3cWVKagtyq1Ut8hYKVdQ/6oCEK1jKGeWGVXS8nfbfSHcwkD0WouQNXlpOG6qI0fvUVdSq984ORVFCgkdKFNJVZ29ZKtDrjEeXkxgOkHgtvVl9sVk79RKsN2uC3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=+nhbXMRL+m9n7Ok7CgcCcKU1Qo/wi171E7jYWa5X8t8=; b=ZymVKNf31DCKwLsb0+KFjKsSL5diSQko2gAzYlpJMTR+RY1ck01PwImyZlAdX/KINuOh2z9qrHLPmTjc2ANXb0wXjZWu0hUl4X4R18RrtUGnIlirx00Ff/f8In6WkDfq39AOPnB2c/9wF0GeXPTKo09O8cN2iJCQX3kgkTZrqt1eE29RsxQ+q+ZUEIprT8cPMQrl4z454CdYAmaLiH6nw9+o4xc6uyjKplxmr6RiUZ5gAEYw5HZ+qIa/+Z4vB8V6q24ug+1c5eRA5hVAIp2OWnx8exUobrkPLSIfv2dnND+xeMXGPZjSDwtxgcioAio1aP57E2NxXmXQ0kBk4Nh0hQ== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+nhbXMRL+m9n7Ok7CgcCcKU1Qo/wi171E7jYWa5X8t8=; b=H7SY2AuppdKYM4nVUaqCjSd11YJQSKSvh9tpTpXUFrVPI1HCzvariaSEXCvz8HJKfDkqrb98h2nnNpo+eVCNET+dtjbtsM/spRfJKbv4FNkgBJmWVec9BzXnsa9a/DktwMgCzicYzB3T8EA/YLykfo+P4S5kmndQssXhb5qA3ITEAz0fEusHUzZ3hiAvBBEvIHrab/A9OplktUurQxqcnqquAHED9EnO9JtgVazoeCtdTpyg3PhHRlo3Le8a2QyZHAIx8zkahE0YNmzSkcgAGVEJ7T3LUDxBSLQ7mRYCesOkZaP2OxVQuuzmQ/tvzA5JT3ixRo6MNH37hYoztCW9ZA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB8PR04MB6956.eurprd04.prod.outlook.com (2603:10a6:10:11b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.24; Tue, 8 Oct 2024 06:26:43 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::4e24:c2c7:bd58:c5c7]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::4e24:c2c7:bd58:c5c7%4]) with mapi id 15.20.8026.020; Tue, 8 Oct 2024 06:26:43 +0000 From: Xu Yang To: vkoul@kernel.org, kishon@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, gregkh@linuxfoundation.org, peter.chen@kernel.org, herve.codina@bootlin.com Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, jun.li@nxp.com Subject: [PATCH v6 2/3] arm64: dts: imx95: add usb3 related nodes Date: Tue, 8 Oct 2024 14:27:43 +0800 Message-Id: <20241008062744.2211539-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241008062744.2211539-1-xu.yang_2@nxp.com> References: <20241008062744.2211539-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SGBP274CA0017.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::29) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB8PR04MB6956:EE_ X-MS-Office365-Filtering-Correlation-Id: f1097933-6bb1-468e-7391-08dce7622d3d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|7416014|52116014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: 72OqlD3BTzeaxs/FaLRkocy1Cz0Ugo+AgaLp0mMOiP5TdBkSvsHPvXu46IFlfZl+CrM25i3iWTU6O5DRwERhp23RiFczDc1NNj2RMBkexNDS1Wk9SOCzd696EDlvFXPZhwfqtlrhXRu7WhWzvivoUBEdhpzvYBxP5TeH2FuOkWBgYerU/0dZukXBBscYPp3MSwBcJvrqCYn/ISEnuLH38aCcD0SSA0e/mrKsrE892zfrE74WnXGZ1zfw3bHDOhO6Ug3plf1T5EyNmngUN3LG0V8TMEr6X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/UtpewOM1GIvRdfb4B17v41zY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(7416014)(52116014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: z61WIhwo2/ZQy8CaTe5JAZ+Y5V1VpmgP8GloR4VoeljNPRIphajNbwMmf4d9JK58R5wyor+t/xS/W+a0SffrnxbipcpmAaK2ITt5yEKrFMG11hNsjCbRunF+qgU5dF0KL/VQV+iVG8l3dK2ly6zYnawwfw+4FNcMAho0muQ0t88DGAytK+S3QJv3QkLQbqDvKKDhLbxK16d7XkjO4m0+8rSOW7GVK8HYjl45b3YnbjPD5n4tPeVW2tG0vtfvHns03p6jC9O9RdO1msluao5MfJcPalc2SvrfTExae5DE8D8ujHVGF117fXhW0RE+e9MQLnr2EavTRBT89JuQQ3L/w3kJ+FrIcfAZyIBCsuQ8PWMPjWwcIGXP08j8HP/ZncN5qJLZor8fKaO0uph7S+pXdbv8lWoEILjfu76P0SGl0Yoh3pdLKe3kpgPrHpRpsLJQ4MNaWklR9GzVZ6iljx/w3aUAy0UHslJ+qZjF6Mi69LzwNXmcZEm8cUP5HGpdEPSedkaHNQqAc52yMaYW0tH4U3MkL+IZK/Kx52FvJiZguLaCmAzVrj+Hq2/DSkYrp4VVSIN+RSA138UqU0AUc4ZvGh+QHGAAkxE28IGFgVT0Tn3JgKKIFPD15/2K0rfr1Kc/h9pG3CMTb/LyB24mGfaGxR1DFSvcF2dSWPSrjUBJavQb/MxaJD8uvsyOyq6QyPuuJuz0n6KLLa0dIND1/pBd+1KH97JaUYfYjEtqBG8XPWFCio6ppktndygBRMZ7iuwCbz9nvOPA0eRAc9Ug/SBM535eunWuwu6KS84XIRfIEycD1/J3nGOMUp8dVQEPlTjmEg3+LTn4GXix1aoPmbx/dmVvlS8oGUV5KTvTfP1wKlXy6GMCZJIsCLH69IbRWQUR7RB/8QHeq5+NqvvETVj7i0Av7YBgpSExue8t+L+jxw3gEhPwcn36qDUHCdSGYb+lP7DUTOvbn3bVDP9aL6HqE8LZpVtruzCzgSQqA55UwUnL6HJ7lsaV2vjxkoasvoyD57uDnQD0m2+PIZ41PqjILkQk+woTbn3udBYXhRwIncnRfuzkZBqlj25vIYvWvD9IZ/+BlviAVDzXsRcdlCxzYDN0W7Z6B0Z4S1P7ziPQTmbkc2TD6AYt1Q886eqpiNZBeyMX7PevovEsoe4ep/7rE4nhnMtA/v7xTBvmeR+JwBSJsDAkFgqiYkjvR2wl/wEJKQbnY1doRtwBt56OJYtDU3EBt9Uk3td1Yf2c7La68+qNje6OHyIT31AjWURuOeO7ZhcKKFuSJmv5EvzhO6IN/6ACWd2xDR0PxaqdLl5ply4FP6G8BtyegU6pGwquyZw0ghZpuF8IO+PJeajIBX3fha1YW/duC9X+RYD4beBPHXTBTd0xDZHrGZmCHMcalSRBjNLw9AQ12W7U0ClN8+iemW2b8Hgr9IqALftpBT5EwguJxmkw177WYZJY4cGPUW/F2YMq6estUVQr0Kl8EKsBBDxrvDsrdmxIGleeTi6C5nG6XLdgIEd4x0OQ9vPTrW/3PE+bEA/SVN3cRbP0xSxcokUDVIJZFYAKjWdAobmJ+9SV121xZ7wH3xLvK09rR6vl X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1097933-6bb1-468e-7391-08dce7622d3d X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2024 06:26:43.4531 (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: +Y3z3tGyuScv3danpbgc0i3lQB0/LsvvA9y7tP3w3M8F6XP5lKj3I4APQqx4FAHZnx2408GyHAYsWZSuIgV/iA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6956 Add usb3 phy and controller nodes for imx95. Signed-off-by: Xu Yang --- Changes in v2: - no changes Changes in v3: - no changes Changes in v4: - reorder nodes Changes in v5: - no changes Changes in v6: - rebase to latest --- arch/arm64/boot/dts/freescale/imx95.dtsi | 43 ++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index 03661e76550f..e3faa8462759 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -1473,6 +1473,49 @@ smmu: iommu@490d0000 { }; }; + usb3: usb@4c010010 { + compatible = "fsl,imx95-dwc3", "fsl,imx8mp-dwc3"; + reg = <0x0 0x4c010010 0x0 0x04>, + <0x0 0x4c1f0000 0x0 0x20>; + clocks = <&scmi_clk IMX95_CLK_HSIO>, + <&scmi_clk IMX95_CLK_32K>; + clock-names = "hsio", "suspend"; + interrupts = ; + #address-cells = <2>; + #size-cells = <2>; + ranges; + power-domains = <&scmi_devpd IMX95_PD_HSIO_TOP>; + dma-ranges = <0x0 0x0 0x0 0x0 0x10 0x0>; + status = "disabled"; + + usb3_dwc3: usb@4c100000 { + compatible = "snps,dwc3"; + reg = <0x0 0x4c100000 0x0 0x10000>; + clocks = <&scmi_clk IMX95_CLK_HSIO>, + <&scmi_clk IMX95_CLK_24M>, + <&scmi_clk IMX95_CLK_32K>; + clock-names = "bus_early", "ref", "suspend"; + interrupts = ; + phys = <&usb3_phy>, <&usb3_phy>; + phy-names = "usb2-phy", "usb3-phy"; + snps,gfladj-refclk-lpm-sel-quirk; + snps,parkmode-disable-ss-quirk; + iommus = <&smmu 0xe>; + }; + }; + + usb3_phy: phy@4c1f0040 { + compatible = "fsl,imx95-usb-phy", "fsl,imx8mp-usb-phy"; + reg = <0x0 0x4c1f0040 0x0 0x40>, + <0x0 0x4c1fc000 0x0 0x100>; + clocks = <&scmi_clk IMX95_CLK_HSIO>; + clock-names = "phy"; + #phy-cells = <0>; + power-domains = <&scmi_devpd IMX95_PD_HSIO_TOP>; + orientation-switch; + status = "disabled"; + }; + pcie0: pcie@4c300000 { compatible = "fsl,imx95-pcie"; reg = <0 0x4c300000 0 0x10000>,