From patchwork Wed Sep 11 06:17:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13799726 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 38055EE020F for ; Wed, 11 Sep 2024 06:19:49 +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=IfXkDRB95O+m/UXkYLQVURmapRfGSmyt6gdKe/s/+3w=; b=GdybM35TaoVjRa v7+YmcdOOh2KOxrMJ0lAi7abCSrgBUp1U3i1p/aeXsWhWFkalgzMYI7M9i6e+pkLeHCiMHaX722sV wgqyRvwFQEV9IfgKi32/3arcjAWT1nnienGcon/cremDoKMR3HfqonKDZj0ydtrL24t910nkuraBo uvDzrDIHbO0xUDp9j+W5t+mQlK10+kQU4mvxffjFz7dWKxfFfmXKdhzQkffG9mXHWhazr44amI8MP YlCC4HbRbaW76sstxMw1xoXp3oFNohDo/NcnvErz658pJ8QGg6gUon/RR53nySzslCNFUfZDT34WE 8+3lt8wo63GXmbstodgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soGhg-00000008Fc0-383z; Wed, 11 Sep 2024 06:19:48 +0000 Received: from mail-vi1eur02on20629.outbound.protection.outlook.com ([2a01:111:f403:2607::629] helo=EUR02-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soGes-00000008FFV-1sXs; Wed, 11 Sep 2024 06:16:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xATseL4/tp6ucWSDSIWVceFGhYIJgUl6ZF4J6iMxDaKAkTp8hHTWfCdFzwOOvMeJ4fMfYTTr1e9igAc8I9IjlKdjqEP1Xxus/Cfhf2ne9/AtWOgo4O4l6yTWH78DrPR3FO3bBljty/Cpkbpb3WDc2JxQssB7UgMDNQpNh8TPL76NYi5RG3m0Iunh4KQ9470SSECSFcWCUF8XdGMS59M8XA3cdKh1QNnrkvroJnuoT6EswNEWC9QAABev5VO0uzqbor1p/2+PDspK+6qw/P7Lf5fm6ucbGuBSsfLCXnwje5t7ZB3vvfgul4v5byDN7grJ0jSnFg5BKTGcnrGs1nJ/Vg== 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=SfHQ2Leyuf8f+f78gKVAKywXXSn/RtpZFypjBT4h2rE=; b=fqUb3mVwN0IqmZ9h+r3Xv0lQyR+ImxQ9dkHCXBz0UlQfq0k7uIXK3BhuNF3hiF4nRROupc6qz5YIAyXL1mR4GcszjIBtZHu1LC/VZvbKDRMRUko0Ym6VrcabnBg3rYuCvJDgMEaDcVVmY5Nf35l6QDBgGM3rtZ9ME2VH+Y3EsTiD92TtT+W62wD6u5iRt/SW523H2xW0IUvV+l+HSkghuXLEkdNw7qamAyXrZIWqvhBcPdBm2PtLXN7dNT0Jp2rwKHStiSApc26n3omzyn1qIYSjaFtk3M2+zRi1YjsG/JQ7ga54RHUOu7vuz6K0yIkLCVAVNFudEUvQwQY+4PKXYg== 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=SfHQ2Leyuf8f+f78gKVAKywXXSn/RtpZFypjBT4h2rE=; b=YAsQHIWyQ0VjsRVPFcRftqHo1pL830D2V9xDkq7iiz18Oz/wAUNza8meIE9ac1EKVwFgIL5HhXeny4z1SUbPf+UmTvBUSkEXZ2e/C84kIa576Uy0Y/SbMbiPYTRouEDMCoEY0uJ8ZrLch1H9Hx8LJpungd8y6Ag6Z+0NyAKwlvjRkiYWHx0EniJIIOg4S2PrPho8ie6cSNeFuDpg8e0ZV4wjjBoohJLQRTIhfHRQF1sOOhrkS/pUkOpDjn/fKt/PxizLAgUPhCG6Bgy/IXrzc97uDg3HwPnqrmLnOFPX8y1jnymYE2LkBmWBOU8/FzqW50LvhyD/Ew1qyt4PsD/uKQ== 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 VI1PR04MB6878.eurprd04.prod.outlook.com (2603:10a6:803:12f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.17; Wed, 11 Sep 2024 06:16:50 +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.7918.024; Wed, 11 Sep 2024 06:16:50 +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 v5 4/5] arm64: dts: imx95: add usb3 related nodes Date: Wed, 11 Sep 2024 14:17:19 +0800 Message-Id: <20240911061720.495606-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240911061720.495606-1-xu.yang_2@nxp.com> References: <20240911061720.495606-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR02CA0033.apcprd02.prod.outlook.com (2603:1096:4:195::20) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|VI1PR04MB6878:EE_ X-MS-Office365-Filtering-Correlation-Id: 2de58b5a-6253-44c0-e5d5-08dcd2295295 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|1800799024|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: 2sx1JJLMaKB83QOWOVt32ccPGP23gVrAsyIFor/jCt2BxTt0DBQ4crq9w00Ya4hoEWm7WJ0pXxN1ECRwUm7eZ4HHeNLfVIPcVYtQhFKFTngnQ4z3dOL9ElBKZIlXH5WLwOrpv6yX6JZetqL5vF59A7tPZv8VrYlgBbR2Hve0BrNEn2j39CK2+rB+WkOKv3IJg/OWcnN9Ex4inJ8jFStkTOAmhqr52fQKoOI5mugC2+6GSyoS1OFT8mPUiZFO9coB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uS0xBe/p32dZbos/a6wMNicSTAvfshaMJw7tDKcW+uMKa2chdEAggHwHITZOHLnzNUMhb7yxCfoK4LLd9hQFrJTHfg6mdePhuFL/ARlf5SmxqOuI0F4UbI= 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)(376014)(7416014)(366016)(1800799024)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BjLhx0vxr7PLJDCor9r4o+S+Ae5LSZamI9102+oK6o16+psfoAfEi4LggWrFWMbxo8DE+tieus8TKxEBBvx7nyzQSXpkaIhU0O7nBZjBVR+XKpxCQMJT0+n57KGbMEZcVb/pe8MiFuraFDgpaggsb6T8TszXNeb1jfq2VlmX7kqR6QrLj4Xaf0GKhHADNxhdbcirc1D4N7NZrfZy1CPQ08HEQEd5mJ7mN/R/t749brC9ZbNfH8vEjbDgHkFWidZ7SYWR+5kwheO2g0jZYm5rlkfjQhHNUsuo2Jjmt0Ogk5ZVhnaZGjF/VPhJO3WMy8s07E1Ud8Z5HAsTpPs/cfV3RSqmHvQ/IkFh5Y7yEleJFqUyA5eyhX4+BHP2pav1i34O87qnqec5NFr9B76HDkyYO+8XcKSFu2jOipllHOZhkSvEIIomQTSwDu7Y/CTyLiUNVeIE6qJiUC/f/AImriOldq0bdPCdnKW8jVCBCiBj7UdAoXuPMzAfW1F6TpJRxclFqVigV+bxBrS2e3Xw1OreOGE2XZxQpQg4ccxZCfVoYxL+077lhhkquUrCVSZNd0yESzw34P2UZdHxAOwCDDyadU/1uV7iWl7mkmLQnhwY609RPaoXdjc177ZlmXUWPFVk/M3IZezDbieaz1jdhNsqC8dNF4B/PTnGSB9gQEeowGnUimVN30EzQUJVTs4b52TDwpVgOFZF5KPFp8JDbAVwhME4cX1n9XkN1y/jHpL4nI2ueGrVFYUSt1VROe8r7RJcTfp1ScFrtjFDtgSSC9H2sk2l1k/AKWeZ5u/siZ7wDyMEbsIEry7f4/Akq1zqWNvpuisjDTtjhvAzsmhw4eJR4gwy6QAJQuE6TQa4DkMckirrvaLLkEuc3K0SHiE5sScCbMqa8Qhvw6KmAXhYpxvl8yv6FKT0XuKhC0AzLjx6Hd1X516nDX8C37Z4TcqMhiOKhjFG7LIbS/uAmDNw9Y6rqdjmSVgbzewkwkcUbRNZI7R/1PDiFZbkiklfBN/G/BTvAbzub9+Qy18BdHYD6j1UzTYbDYznzluaO6Tp1UTSMryvM3Zdfh6TH56jrQB04h4iDcVKqTqeWGO6DL8EHPcjO9z9I7Iu5E5stvkO00RETMoHMDSPWRWVUo7RrddEmVyBn5k9c1z0k5TLtun0OGcAR8NdfW6tU1g4hK6TLgSJydTkUjILSbBvzqwW4aTsLwR2W0mQ7sx8P2xxbPanzfRD4RcGI3WbYM2Hp0T8PtbDALQV9kq4KzeE0n/Kh1lQRuXGmdPqBmZrqSBJE5GrTHYASTfhsFyNMTsYUFUGR91fX9oyLSuyqykMtuaos11SwPaSipBD7lO5Ts8UXn5e8BrFzkW2LUKo55BR+XwWtUxJ6h+ghiGSUcrdbphUyTf80SJsnDqxutfnxU1Z3wccmZfzBu8PPJkKzNDCOfygMH1vNn1mItKETAP0DMwINYkI+T93zOxfg/b0Tr0vMsi4f6arYfzhtjuLE4ODu29ivAp7BXloJUVhoHgyTvc6f9bsxW8Cclcwj2ltgsilvfEDKIL2YKxb5FfHI8oNBs4mLMukClwmVb5ECSgk2zgwOajQOERn X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2de58b5a-6253-44c0-e5d5-08dcd2295295 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2024 06:16:50.2793 (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: XlkNN9lwaljZnDf0vqRo4m1Tobx041dUWEu42dPwOUtppCXpJCQWZ9hzAGXt+DTssUXX3hnel0pWBhbpk8MJKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6878 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240910_231654_515642_A1E83CBB X-CRM114-Status: GOOD ( 10.34 ) 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 Changes in v3: - no changes Changes in v4: - reorder nodes Changes in v5: - 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 425272aa5a81..2377b3ade95a 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: 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"; + }; }; };