From patchwork Mon Aug 26 07:08:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13777300 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 BAE9AC5321D for ; Mon, 26 Aug 2024 07:14:48 +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=cGHiZ+fydGFVJytAyg5aNfOBoJVRhwyBXS1VCC9o5nY=; b=bOFwnSnoqKORCk4Ovto8Sc/wgg k1hUNJDQOKm1+1alucfYuBu92+ZDj+KteDwBGlNA6cPsQQMiEa15zQ5dKiopYdjyfbXeSNxpBQsCA 4OFyrGLD8BhmOKWrPDQIlxQCszGFyT02ylCpXxTLkiFEukrjKo3OD4b40XCnWGoWUp2hFb8Vok6gr YYWhGeTKBY9sdBNgUSMnXdcNcqW7cM8VBRjNoqRUehMRCZiYjQMqL/T5E3TeOdnAE8kyoazKVS+yB mgOZlMdZQRQlYMa8hjImgepFkX+smWUGnQLDpiGR1Gwv2hJ8Gyvmc8RCUjWM4Qd5PEFArNSdzkviK T+Tw0QQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siTvv-00000006Dt4-3vLt; Mon, 26 Aug 2024 07:14:35 +0000 Received: from mail-dbaeur03on2048.outbound.protection.outlook.com ([40.107.104.48] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siTqI-00000006CjV-0021; Mon, 26 Aug 2024 07:08:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mGZsI75GZP7YXzI75vi6ylO290cwZmdrmFwz/KHgLQmgrwJDmVgiULIQeicQRSdiztyVuHOJaxwGsThWj+ecU34+xha0UhorsJN9h+HsGWLTVORoq5KKamU1BiFjyACM1qyOFXiVuSwJ1lQvWh82Jxnus+Xf7aMZGGfl2MGDJ4Zfc60vvTVvLmYxmNId0ocutGlbAlWsZPFmTyDcIH/2u8vyCDHRqxz+Tbzq3+0hzVkiNuw/Ks4rTrvfJcLtGtCBqV6qSvXSoxnNDWayVFn8kx/DsT4KfdCd8+OI6b62sqXITYGJkDi7cFNX0lOFd+2nBhjAqOHEO3NSmd2+AhYAGA== 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=cGHiZ+fydGFVJytAyg5aNfOBoJVRhwyBXS1VCC9o5nY=; b=xnAbykQt48xgULnwHkxQEkIIDFtc3QP4vNG5RQuc8MhoqZvh5KmTMkZ6kYeCqNtstgfXrmn+0WtLcN79flGSXsT3g63u+CL4q7RU1Yp33BIclHZgnprwCNOW1iDBb1PMLpuQJDEFsipIgvdtfqWU3Gw9roRPlnAIjjr/GAuLWNA8EN5G5rr45xNFaFFWJ09IBAqnPwItm1AeAfKZ3xMaczNuX4W0qOpWA7BUXU4fDgTFP0S0DcFh+TsdOXkNuRNkSyXjPtpzdI/tbHW7/LWERCHEjzkue9Vo8eMV2qNbQkTM93tQDJJrBqZ+NRRhWmwrGMOG/YKXOBXSFBL8pKBGDA== 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=cGHiZ+fydGFVJytAyg5aNfOBoJVRhwyBXS1VCC9o5nY=; b=JtJmTQ/18EQ/iuXiVgQAY5HaAIzgovkeWd4d1zPfbJ1WlhzBmdLVkst+DmmSRnn3SFSUDhM5bEJ40J69KduMyk0DYTmuJBuqhsDlAGNzt/+VxXhrF/UQsM4xhO+b2JcikFbptRW7yQI59ppmGMHJNneS6p78EiDqObia6vZqOBLnL8F8U258knIKzX2lDfL+1Ve3YYISQ4TTWQbalW8uBU5ovHAoEGIPZtSvFv9YCPowZZ9pa8qQ33HLYfo0NAD5I5fReQaKt3nZo7VrD+Sr0UdMlckRay70AsxvHj8tebX9xxNrw3OjlF4OEFh1JA0473qjOkPFv/N0ToVjmmW9FQ== 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 PA4PR04MB9637.eurprd04.prod.outlook.com (2603:10a6:102:272::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 07:08:42 +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.7897.021; Mon, 26 Aug 2024 07:08:42 +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 v3 4/5] arm64: dts: imx95: add usb3 related nodes Date: Mon, 26 Aug 2024 15:08:53 +0800 Message-Id: <20240826070854.1948347-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826070854.1948347-1-xu.yang_2@nxp.com> References: <20240826070854.1948347-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR01CA0194.apcprd01.prod.exchangelabs.com (2603:1096:4:189::22) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PA4PR04MB9637:EE_ X-MS-Office365-Filtering-Correlation-Id: 163f7166-bbec-4972-f072-08dcc59deb0b 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: Yfu0k8w/uz8Knt8dcTB0dESwMXkOW70vpdhWHk4Z6CenuVUR2b2H2UV21fYiUUNuU1d18MUi/SY0754JnbnjRrHCB6xVsOBoEYdfk3d7WDjNopJWEJ4W+AQD0sGuZgiPCNx+19Wl+sNSbhAPtN0qLi7mAkdeAAXWGWzJpaUs7CWVyVWaYuMnRznC9RFyLfXjmGuGlKsGYlyjFFL7o1GBhtw8v0UZkWlnqTgAjhXfmS+4PWX+x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9gjuh2qzQ3tM/8UPu/GDR2/yuji+vXGK+7VmH03T+qfRnsVV8hEO5QPGx9N7hrqcLhPpBcPrU808SwQGxUr4uoDg1/kuvJClhQZ0= 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: wj4xc2Rsdl5DaG69ycOUuXIyvONmFoYCbDhbLY19EvLtXunqHr7W7y8ca8lyy5mQQlWzvHRdVEeZ93/gjlEXbmXBKaT0Emf7oydgbgcHtmujaLmTHOaJSoNfxp13nWl9lIU970SNm7fbQeUNtRLrG00s4c5n0CN7CF+yWpfVK+UOtH/pb7W7UWM4mI2iMeexnl24XKzqCPH/az9w0e2b0qIQ/LgyedXnjNQmSBRvRaN+hwWiitkHlgzvGCwh04lxAKhgUqTDZ1E25ruvnRNzTbEe8sXSAVSjbB865xso4mjcup6ecL3ZXPHaaTHW9pTE5u+7bUeWlxks8pSmiX55amj2Hhfe1/P/NglpNBJ0m1RccH1AIHTokOZpRzZvc16Hp9KtNFonrMz/8HW8mMfI/1I+CNXIWDlO9UPXJxZCq5NS+HeiMzLZ8gTB9Deff1MQTmsOkdk/9mYjqaAhPvHdZ3VIM79V2Z3B/9kJVSvpOdzDmBEXaUQCRYox7O9ejBgsuALofJANW7Iju0s0oK4Wn+MWJjsasaXFnkSLbliEDlJdbuWpywAcWfcb0QfcCJ+so7fTgXzk7rWjuKQVMMdIt3MH2qj317IqilSOx365FXtnTYCLnet7AHVyvcRyubdOYxym4pJ8TEfQV8Brq5LsYNPMe96WXUPdrReC3mYx5YQawLCnHSIYIJHK9ONKCvcnTglCxq69t7s7iZzWZAFNWq+loPkZsh9ESUpSM2DAVj+X9Ml4gCIBLOkLK8HeXR6WhsK9JgWTd8jBANUG4l2oD965w5qw4Uhyufd0EuqJefZqkz/w2sIi+KYSjYuVconoz5x7sFYTScRBiREa9Icgfz9KD5NLRA0WNnOBwbICAAFXuOKVN4lstNz9SoGC1R+Z6xwZJMGDdfqzyfxd5I2kelKDjRzf9zFtbsviFqiP112v7Py7KC1JWxiljBrOl/4qM1RO0bm/5fSsTuzp6aoQxXL2vzDYZ7B70TIdb642QyIjjHUOY3EUZ3HdTVK1tYlQ/vxUmgMGEbX3mzjzCrlaNC5q0WZ2DiQ1L5VyQ4aJ9yENnYf6V8o2SR4QPsiLbVDShNQJ65sTXTXn9Wm+IM2jmlMl0UNxjkdqVEidUYBtNseB/doVNhvWhoGxBbaH+4hl8Pg+d4et36dltXATvk+o1n8Lfu18xUowBC4crrA6I0t6MaUE999/cVaY799h2R/GM2nwCSu8CYjcc22uQsMvm8dyrVj4Lc3gI45NupUWjrfE8ofIcqm54J5f6zFcY5DLAllltWIR5znkrfVW1p2yQJJdT3HU97xy6DDYvL4rlgz2p0ihatOEyG+yzahX4zKMBVVhp7tsLDoMvjt2tgW+Due+Woe68633+Rjuhs77pe0JcwLKkIdVkut8if0sjIOcdqJFgnVJ+jN2jHsRfgF0kfbQ4/jsqwuEdd+qnnwXPBgtmzvoUJc84tYY/BYHuuWedSxfdbQbNPe1bKefMF4/sHYMFLQaCEUcFMKDVf2Q0Hs6em51EHB8ERq8jWQHkB0p+a4jUS6phhS1HcL1tyKrKgQ6mihWK7Jp5fCt7CgXOabl1sFSvHeurHsM7aPki2Zb X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 163f7166-bbec-4972-f072-08dcc59deb0b X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 07:08:42.5048 (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: +N+AxUwRcLsJ44qjJSj6i1lmC/MtKQbU4PnTJz5yS9Xp3v2ud5xlOTD0gzK+ziRfR0qx1yLTiFzyX9fA7u7PKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9637 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_000846_066421_3E61E2D2 X-CRM114-Status: UNSURE ( 9.87 ) 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 usb3 phy and controller nodes for imx95. Signed-off-by: Xu Yang --- Changes in v2: - no changes Changes in v3: - 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>; + }; + }; }; };