From patchwork Tue Aug 6 05:06:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13754457 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 3D521C3DA64 for ; Tue, 6 Aug 2024 05:08:33 +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=e58Hgpo1cny8KvFSVvNjFkOVyfkdKFPk+H1yYkiQgKU=; b=t5tIjR9OnJB6Eo IZePz2GOMHu0zejPuIjCyi7L8PAtLLfoN+/W/48XcF/V95tE/R9MpvE9LFrfLkAYB6Jb0QA2S3AWP ZpJ/eBY9ZGK4ElVKSBI8xx5r9gSjDS6t5+/9SZCHMcHhGkXICbdY6Gqw6fr55b4Mcjs79P0hpPZWQ a4nn3MXMfrpI6GRkzH4qFJHhrlz8024bwJYEmjT/Y7Uy65oaVepR5rjSE10wHwL30q4lRgLdWf5Kx KHv6W2bLrax2/y0wjxNv6f5XhRTUMn5gcuIPeAPfO53wtZ824aOrxBe1RmZ04c29YYpVlq6SXALuB C11KKvvjVfjLEjorKtvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbCQy-00000000Y83-416D; Tue, 06 Aug 2024 05:08:32 +0000 Received: from mail-northeuropeazlp170130004.outbound.protection.outlook.com ([2a01:111:f403:c200::4] helo=DUZPR83CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbCP7-00000000Xi3-3yde; Tue, 06 Aug 2024 05:06:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hNXbTmCY7C3+M1TLjdoJy6qSLbTFngpcOleq4eyaq9IZd1zLb5QlIFdI1THOI+UtZTgs+pbNSAnMUYQJpnzyNl/yvYxTbBAnTqI8p4HiYSC/UwSf3C8fx7vBXOz2pA+JJshMDIg8Alxy3CyEm7GAtP7SuN2I5rQZge7VQRJGhX8YtzO+CT/YHyv380eSe5hPBdsnvUi6y+Ug97Ent5U6sHkYStsd2mX436RB2d/EQpKXSLMpbVMI6BBgvCHNfjevxFOj2UHR+pw9HdMBuWXSkKNy8On7ad8ez/vqPx+vNN1pZgQ/kcKsTUffAZS4ZAQy+WeABgqdjSXY2n95smNC3g== 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=u3ZCDYxchFU+3m+x5vJxpoZ+0Wmvrk70e/lGAVRCxKk=; b=vgb4Fofhc/zE34Mr5dSdbnZpCEtmA/9VWBJ8dfqs3c65HNwNempN0cv9G2SpH48/rpGoJ85Um975azFIJwZwn9cecOrzQk5Z4lrgHp4tDFlZCGyZBaom7B6nyWW+zqMxiu5VLhFLpWc8XMGDQSVJquDmuuL4wdo/B79u2aXkDxmhALopFlKBwrGMSGELaGwb7FrVA4n5ldv9usOT9wWD2ApFSA4LW+3yWiB2ZXZ4MFJzjpgZp/JiSl0+Dzxu/XdfsdvgLdhZ1McKK9+nui8qowLmdsz/meRBQw6wodM27C486/H5vzSKNlD+NifJlZkej0V/h2OrPi3GNQ5tVpbr4A== 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=u3ZCDYxchFU+3m+x5vJxpoZ+0Wmvrk70e/lGAVRCxKk=; b=RjIVLWQSHp/9dts/H725zn3pqbFwFvi+8b7eBDgD7/LStvJ5OSY2UFrBMcPlXOXkXwo9PA+lBpBLrITjqlzMOOKPLJ+OyOTXbsy5K7Bf3nfkFEIqAEcfwUgzOuoCWC4BEjsBZF5QKGWkubMCTX0TdSFzq4KooO+YRerwNHbIW0R21NqZ29FfbwSpmJREzJsS1NLjQz3V1QoHYx1RWDaaMwv/cUjvd0pD7DV8+uHAwtpRfQFbx3rfBeh82yF0PZp9ZrzSnTBAwOkNIPpfkTYkuH6Onv9Vnfv7qqkoDhx5GbXd6YeBloRoHyGrk8XRDOPUcTlqWZCR8bA+5mNVsw4wzA== 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 VI0PR04MB10211.eurprd04.prod.outlook.com (2603:10a6:800:240::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26; Tue, 6 Aug 2024 05:06:35 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::4e24:c2c7:bd58:c5c7]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::4e24:c2c7:bd58:c5c7%5]) with mapi id 15.20.7828.023; Tue, 6 Aug 2024 05:06:35 +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, Frank.Li@nxp.com, jun.li@nxp.com, l.stach@pengutronix.de, aford173@gmail.com, hongxing.zhu@nxp.com, alexander.stein@ew.tq-group.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 Subject: [PATCH v2 4/5] arm64: dts: imx95: add usb3 related nodes Date: Tue, 6 Aug 2024 13:06:38 +0800 Message-Id: <20240806050639.1013152-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240806050639.1013152-1-xu.yang_2@nxp.com> References: <20240806050639.1013152-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SGXP274CA0021.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::33) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|VI0PR04MB10211:EE_ X-MS-Office365-Filtering-Correlation-Id: 239b6e73-abb5-4bcb-8c64-08dcb5d58b4b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|7416014|376014|921020|38350700014; X-Microsoft-Antispam-Message-Info: G4wTo5xUhu9GXgoJYL2c4+eGoIpyKKkSSdqQQ3Soe37NFDxYn9RGBhjapLhwxQnMqvzRHu0TkzgbkdqdXPA6HMZ1ViZgpFe5FXQ7g49wZSy2rMfqu1ZJUNtbNemAQuu0W697Cr2rP9WksMQhKWusruNGSEuVaWmQlc7U1pBG9p6yHsN5Mbww/psIcoJsdSrQLvZmMB/YYEDWH4WelhEPzB318R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4MknB7i4mLoYZgSjGJt6DBlwCdIeN1XIsJfVF85dWVaIkXpGw5sg57bWDxdk6EYq3gY0xujTiafMOozFt8BLVxW7Ra6zYSPXHzz2KbgJqh1VsNZlfQTCukSkK44BBN46+Y6S1mY2xfPRTI/NR3JkOD5XZI9kSFDC+8= 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)(366016)(1800799024)(52116014)(7416014)(376014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: V17wAxIyeT81vxR1a3d7ASt/KBQh1/x28VCLfUJMgPzmzkQRrZsPu0zw6566EskCf2EY4+DIiIR3NBVS/D+FtRW6+hdeO9fKxSTbdYXQtgGz8jeahrFbPqoels8TOKpJWf/DhzEhOus4gPzrunYlFBxQXwSQ6INyuuW1D+nUCn7oAMGT6STSCoZLFM48DrGipGaBE4aHbra4gFOqfYiE156B6EonxJL+KOvmTvQv7rqa0eKl84YKqUbahz64jA2IIxp+tYrNXfeSWUHVhid4A1BoWx2iIWIgrYFdNTSBCMH/eooYuO7kE6qcHdD3ZQ+nOxlkhCVD4HdNvn5h9XtDRHmv0/38J5iw5arx+dNBTjRNB8Zt1eow91ZnSYxVoRgirxocABTJ0bT/NlBVT7cu9p2rEV8GGahTvtXG4vaLbacSjtiNkymQvZYdyKzyF+N/5dG0Iz+FI+bTJMpmQGwQG7MxBiEizP5oMxDcuUV+QHUhbzlUgMm/Qywf7cQUdcsH9qDq8Cj3AA7onqsnDScG1PHDavAUt0PNGbkDLLVzkxYDwKfAWvOtmuZewBSxPOeUtWyiyMnHXxbTGJjJLpVOdMqvwQZmwmSv/x/GL/nTz8ldAzpfrCJwFBJvuyEHCqu5SKgGIJ0I/xMVbh097PecXqYP9usSQtEGVJd2nbiC7h7Kqmk3P7mTCourujwggD/C8olZE14T0qivTLkApRZ8uUmpfBzOpkSE1/CgfqB+TvQAZf5YKmduiktVZsyEjLBmne4FR3vXNqeIQ3jWzGv6eCay+2q/aZkSwD5S1Hi/HkObtxFbY+i8SwNbHTLqSRlATCRLBCQHcJJcWGgYS7xnLh4nWa/c5QjmoN+g+30PrNhOXmoBP3v+GTMaAUEg4J5KLs6bvzPG45dra9BGVISbPoTwqDmNmYBFz1cDbvi21R+8eI/JQN4H3Q3f322vyjujJ+TNa3QA4MSZd12hzFkLDfHwhbHP22BrbVodKQWlXFJPJyKzWBvyyjOBQ2G4w01Sb2KkcwvbsKvPfovTxPoKnYItY0ITbRlgRpEPRtLbgb6iiMtU4B3p6mbZxiz8lJ9wPk0clG37nEO/+xRfkg6ZBjbXsrXJ830ytz3Si3p6HYs6dqiJmHwPBMzuPBeSjR0Q+5Ao8avrsz7pRdFj53sEyXh/OzkNlCRU5Mddf8kvbJmZxxzLfQ89yUJgvD2CTVENKszpNol/WPOspnMHBch63mEMNTnrYJbVv7rP3BfYWe2f+XpBbLrhRAzaepEIk1Tyyzl5sF5EcNNTKYrfIbLfiwGXiuze+OaszbbcfDgKMZtaMptThLoEq+DTuuodsTEEJg+RmqQpue5GdkhG6IgUWVdC9nacRPN0pxeKshXSmdVVrel7JcgN9Th1g1H1Ruz8NU9tQesCFZNohqpqIKD85GBq2N7rE0P9OfzbYd18g73UkukJx/yIMEFywqQKgDKordgQord4HE2OEMt+xtJ3u54heK5t9zFkiZ3xjiIDBps5cOP3IWoAdT9S5M5lqJQO/N4/9qXNYQkQ1yt4m2x+IDG8TarnJZ6EXCOl8SovJqfHlaec3d1ULnQqfa1yCHru X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 239b6e73-abb5-4bcb-8c64-08dcb5d58b4b X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 05:06:35.1267 (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: XvxIBF8o8ro5rN2eWuby7waALUaOL/Vgy/DD4FXqO/HwwqGDwjtz2LDXAvmJgSOWRiL5xuz9MsnAAYGRkcJh9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10211 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240805_220638_009590_05E6B5D6 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Add usb3 phy and controller nodes for imx95. Signed-off-by: Xu Yang --- Changes in v2: - no changes --- 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 1bbf9a0468f6..06a7c2f1e211 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -1188,5 +1188,48 @@ pcie1_ep: pcie-ep@4c380000 { power-domains = <&scmi_devpd IMX95_PD_HSIO_TOP>; status = "disabled"; }; + + 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"; + }; + + 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>; + }; + }; }; };