From patchwork Wed Dec 4 05:09:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13893228 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 AD64BE7716B for ; Wed, 4 Dec 2024 05:11:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=vLSNYD6wGueMZiNlElmaTZbyxnQf35pRSotaDxam2yY=; b=ecDIBXnw9AzcXSC5t6XHO59GIT crCUdV2Wp1n/7Y64LDYF05ecSLnubXjO19Q3ZZBsYfx7SvMRw4SQcZBhjk8G1uL6V+Zpn5SB4p4At F+rCxWvcKj/xx8ziwk1X/nQUwLwu/ZQW8MIFUUtpmaYnBe/9CuCK74cRDzk1zp14eCNtttMcPMAh9 W1dQPE6FVhfMVqg2O97fW2mpl2DKcqjSOKrkInW5JGDpvcfb0w5IYzR4nzfHVdbrWLCuTnA3reBzM IdqmTjn1MB84sLZzUCeOsZrLoBOE+tQbzdnMwW1WZ0R7Lz+rcbUkfBOREKpJJj/3DzKP5uMwvjmWH U2CzhGvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tIhfQ-0000000BVdN-0ZNr; Wed, 04 Dec 2024 05:11:16 +0000 Received: from mail-vi1eur05on20626.outbound.protection.outlook.com ([2a01:111:f403:2613::626] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tIhdS-0000000BVBl-3ELu; Wed, 04 Dec 2024 05:09:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fbUv1JoRYdeCVRg5Qok69yVY8yvkoATWTweyOhRsGz7keIQfmXASivGpoacSueJuQ+no0OjX0TmAScimdEJ5j9LfImhmY/aRieCTKcCrKxTHX1Hdts/Awrp4/Ls3KAPv3TXkuqBGXhOk+VeJlvezWdEFN6xYFuQkC/eeaNQs7Q2kkZtfTz9APffEUzMAJ/y3vhmgWRtb6Edj4fPtHyX4F2OtWd/S839/e4l2jDI95YUbZOWAG0AMX8zBYKfhFdJ3Suk9BX4pcAk4mFw/dD9GkBIn5tIDfkDcZX0uPh25M/uurTNfbZ8l8hCx/vuMX/tX5EFVqEPi5aUapn085lkRwg== 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=vLSNYD6wGueMZiNlElmaTZbyxnQf35pRSotaDxam2yY=; b=s21b8pZZn0KvE9+rt9vj3k3PrZi+oi2/5cLEqvcJaeGrIP0jD6JK6uYg0IwZuaiaPSRX1O7xyTlc9ZDO8J0qQyJIorCyXwdgmNr8yXu7Hi7WyAngymNk4aaFcq6X3LNcko40RCNwGPh84794fvdyqbTGNxyGJCAQhXlOunIVkyTvTU0E4tH5ld8laVUYjCUbDPBs836c2AgYGY0jpR6Zi1lH2fiM5ZBBuq4OINvO97wnu3l63+dsm4oY3Mchr5BnExubOoY3oIorkPGlomSK59bJxuUfv6UaEQhCOcyOlbgo3gFSDEwjaLO9SWHXfDMXxMmfd7VSclDokXP1sAN+Ng== 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=vLSNYD6wGueMZiNlElmaTZbyxnQf35pRSotaDxam2yY=; b=h+ntihaSuDbOmmeDJZhYnF9Vvw9VRmUsTzUyootNM74lOvAbaEjy5vp6WQaU08eQKkXZ1cJfuYGGZkpmlP9SraQmPiA1qbznAHC9AiZjRvQXX7vk/+AppB9W15k1TTrb3+GeOcv0lHE5SfkMDnzy8ldccebMz5TDDLs5tnShmIYgfuY1PDOvvkB+k4epB/ftTF+DxhX6Ezku7HLoOcejPCL1TWYtANcc2l3GwAIqQio9uWGna3KVRQ/LvdX6S7x0SyFbYP7LmKrcM3aN0YFFUbkua1lmKnPbsx3+CLjqfegfk4uWccJDDz/JNSuxsslA2qjy/bvyR7DPcgFaCDQGEQ== 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 DU4PR04MB10435.eurprd04.prod.outlook.com (2603:10a6:10:568::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.19; Wed, 4 Dec 2024 05:09:11 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::4e24:c2c7:bd58:c5c7]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::4e24:c2c7:bd58:c5c7%6]) with mapi id 15.20.8207.017; Wed, 4 Dec 2024 05:09:11 +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, jun.li@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 v11 2/3] arm64: dts: imx95: add usb3 related nodes Date: Wed, 4 Dec 2024 13:09:06 +0800 Message-Id: <20241204050907.1081781-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241204050907.1081781-1-xu.yang_2@nxp.com> References: <20241204050907.1081781-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR06CA0235.apcprd06.prod.outlook.com (2603:1096:4:ac::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DU4PR04MB10435:EE_ X-MS-Office365-Filtering-Correlation-Id: 58f0fb8f-69e3-4505-8c04-08dd1421c9cc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|366016|52116014|1800799024|376014|38350700014|921020; X-Microsoft-Antispam-Message-Info: TMcgUK7i0vX1YUv7Q87lx94ILzmIayfjIOnkTyb7UfIfQnD42SXrnJbKkcA3or3jcpSQZpjB5m3MwR9t1KYZw2wmdWfS/GVMxU1EeLr8afQxJy4c1x0GtHGq0FZdCxa8qWJ6v9dD1rTbmDCc1DiPCbE8BW8tyXU28rBXGxwUtFndkPKv/FTsDJO37yKvtMwdOK8B8C7aBuT8kW8VYkNFcQyd/oOJFDY55fP/2XnhzKSHVJAJeIA0QE2yemtqSRqvzSDAFshfEbIYXSC5vXCJTEStxwUt+u4s/AM4VO9u6zBDMVV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ODTF6uu37isVBe8WiCoqwmKN9PLoB9rYynFO14aztsL2JKnkVk= 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)(7416014)(366016)(52116014)(1800799024)(376014)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2Y1UDEGHFFITEIY5QGd6/e5JfquOKgI7uKcVLem+rU0L8u88wsTn85nSEBpr/lRm9zslqgr/g+IigDEZcVZFNsHsxzW6gIDjLPdNydxJaIugB28UnRmGVi75GcMmX2rQl/IZ16eXQOe2UYYAhMLUxygo2gKOOywl3fb9eq36fUOe6GvTDkBnnsDK2Y+MnyiDq/CZdOKvlNAsueOX7rMPnoAipYmUhXol0O4BRj87yHUQ+r0VsM5fKQpIqQENad/qyR9Rq0P+3PsjMsBYCWc9AWEZcwVCX2oW9Amu9Zd9Z4WpOjSNIogRa2hbTuYZmURnUlgz+vmxgrhc/1fg2Uz1uRALmJri/rPtgqD7dyQ4qwPUlzVoBR9RyjoJUVz+M9gD+6ngWFPpcvJCqYZ02L4gL/iNErgeAS7yxAq9fseHSEG9mtTb3zyZr+h3B7eOkad4G21276ql+eKPpxvpKtt6syWxd6xHM8ix7eyfWkLKChORqZ3l2ewXbKbSzaKuSTF9chzD1B3t9Dnaz4uQk6fxGKatVTZdiXR7pwceESsf3NbEdLIGdKKAuhRNZ/FMmqRXrjDH+UMbs8aRisaP3NlI2LUbm7jXKZ6QMqqK6HqLpMRmj6kyZ+Rir1/QeoZKAGexuHQzVYJ8nnjm/s48uEZiSxNnbWEmKFvs+DTDP8r2fek9SR2Nv4KntSk3OV2Y6ZKr3RqD4Lm2FJFHT2P38viVdh2PBLvxh2+Uv2BILkaIAW9+kG3A2bOHcIg8S0W33Rh7NgZsWSuAyP9uwG0b9tMfAFiN/FcBbaCKIBRSa6UNv56zzdFrvno85YpsgHs6PGzIysT+lSa5bGOUPhIUr+1GTZ9AG8D+HkfQCQKyGO+gMuuf/0BIw2QALi20iOegpGmos2eDvHjI3N1woc3+IKsXbfuzTXA/dcVugEg4tJfzaQalVq6pwwua5jk+xLUvIsSs8LMt6Jwj+G9aEJ/WHT0/m1VnHtn6fHpvtHPtJez9N4Hd3ZLSv8SFeMFG7dnfTIB2UlUJtIZbzK/UvMFkfqbsgMctxAhmYuQ3tWvEznV3Wa5BZu/zGDVY0wnZJYSwxeUn636zlCCo4n7FXuu+MCNxcTwvVaZlmxd1wkIGpxp4z1MNygk3VJrR17tGEzD7DJjBFqY44Y6eQvVwNbEDriI3y00J9fFDyaJ8r6Ms/BLeuM1IQ6aErfJk2XLEivPdr/MHcn8WbD89QrohV7eDLjmXEzqqbTr3g/Smucu0A4lPoZxZGKDol5y9Ws969elAhjj4ihBBrkRXcfMs8sn6Lxq1dOw2ZwTvU1Zt/FABQW1TlcGnmg9SU0ig1fnCXG5dhUO5pV288xjg6NUVlEHPe0TNfo6k7vqXvDsFMw994RFTRrL9CyGX4QL7qLu+eXGd/1rg0Kzn7W/ETbzbK80RUwS57wd1ejrGFaEHdEgSw5KNlv4iS/tncgKhRkTb3DEgAn09XJe7FTaKCyGta8HNpNExkJSnqDPubSrIgTaMG/Ko+KBrpEveU/9fcoCzhQblRsKO1TPhOUoRh0LVFPcrDNH7qBpZmd0IpysdJFgQdy9ZceDVSeuxINBuDedLk6ySjkeg X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58f0fb8f-69e3-4505-8c04-08dd1421c9cc X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2024 05:09:11.2044 (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: q8cX/Daekds3hpQnVYB31lh7mhA2k7dovTzBOy9ArGh7pZb7iFUJ3NnNBZtBxrtavXJ77/Q3ZxGSCypXoTVE9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU4PR04MB10435 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241203_210914_812016_34EEC0B2 X-CRM114-Status: GOOD ( 10.58 ) 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 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 Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - no changes Changes in v10: - move orientation-switch to dts - rebase to latest Changes in v11: - no changes --- arch/arm64/boot/dts/freescale/imx95.dtsi | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index d10f62eacfe0..facdfa37073e 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -1537,6 +1537,48 @@ 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>; + status = "disabled"; + }; + pcie0: pcie@4c300000 { compatible = "fsl,imx95-pcie"; reg = <0 0x4c300000 0 0x10000>,