From patchwork Wed Nov 13 08:07:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13873273 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 0C215D41C13 for ; Wed, 13 Nov 2024 08:12:08 +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=vfQ2UyccLwHjq1v3mhNUcte08TZc799gkBsNZi2FYPI=; b=aUELCXX+t3VC3TieQqK1fLJRN/ J3RMA+VEAffWq884jnjjxlKHjNp039fNSncEEldyqeqhcoxaCvkoCG+jHXwbZqEB1wngJ+muc2W6r LbaLhPwbpMKbaftKf45KGuYSjkY6d2Gsf+OoIWWnl9xTA/uhj/0Mu2PTdR5HGUR38Y7UfEB5WbyOC Cf2eTpo5uca9OfyskfQLc6olRCxzDRfVR0FcET8jCAEaZCbs235I4irDeCrI2N++cj41dFxga1Nkl btmzxiFkdpKCBcelRUy6OQliXCp4QcYyWDQrBjnVyxYBF8+Ej4CKnzowIltXOwWFYfKjRtXI8PpKz VOSG5HAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tB8Tk-000000064Ay-0ld0; Wed, 13 Nov 2024 08:11:56 +0000 Received: from mail-am0eur02on2061a.outbound.protection.outlook.com ([2a01:111:f403:2606::61a] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tB8QC-000000063jc-1ajM; Wed, 13 Nov 2024 08:08:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lWEgt117S9IP5l1WPLZ7JrLKKFRKxyujNq3tIrGJYwhVnIbD2z9zIrACanfXjkknpJ5LHUs+DR7sVzDFvnMDolgLzaM5HIGRI/CpAf0B7ohXvXkmPYOz8xCI+Bqq1P1nGa6AXGbZO63pUAmk63sIMWhG5gX1woubnNlutjbKoiHVHQp/9s/7e/hHKEFMng62Kt+ZQn8f640BMs7Tr4WRYVUWbuT+15xTzrESxlQ9J1Ni36wIH/4PGoe9Ao5xZ1JCBX3X0DHygyaTBLOC/SCn8GXnpl0waKz1AFa0LtCZQO2XHJjd1qvjuoqo1JOvYH8+PWdOSVIr+HyNapH0l8rq6A== 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=vfQ2UyccLwHjq1v3mhNUcte08TZc799gkBsNZi2FYPI=; b=WW+IfJ36P7peHKovnMesjOzIYAxspPaoTDkMfo/Eu3rVTpyvDK0RtEruRpbx8MUuUMKb+ya0U2tVyqyFyO8ni/bDQpEjZrNoEGIMq+Mqzn6O369DhlzvHz/bH0hsTjpId/iONhO/mcl4s8MLh1iEQoPdcXBpqz9riciIyRZUFBK0L4QqUJjNCI8u6DRyS5iO5m28pv2M0EnoJBrLXaaqBCzNFx8kxOQvT3WpxNiHiUyco7vKyISp26beqW7jSodWdAY74HReAQydaFoKIimvv50NO7Q6Ouwh/H/XwnfmUWa5xj5zIsAFMbXw+EWXslF3HchJg+1yMmsmKX8OUXcWAA== 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=vfQ2UyccLwHjq1v3mhNUcte08TZc799gkBsNZi2FYPI=; b=FWgtDPqSOtFj3zym8WQcoV4SM1LFT4mwY0Sah3K1hmj6M2hC+Fentq9imMgO02Mw1lsN3P/0ckrhGouv41PCyRiwalNijon0JINvmqIW4FTfQyU6VI0ARpYF9OhA60wRbfDosY0bfJPqkkkcdboHalS1NybO3RIg6Do09UcaOYbqgmvvxdsPDCwVXaF9R53eWY6B684LT63q+K623fja57GfF/zNHP0VTMirCEde99euMB6fIF7+o6e4uwt4LmSTNoKAsMEQKClImkabfXTAX2tmPWW0+O/vck92u7+HVLmPkuyc/e3kezCSK/seuQPbekRhMU2/+M5nCq7hzvbcKQ== 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 VI0PR04MB10928.eurprd04.prod.outlook.com (2603:10a6:800:261::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28; Wed, 13 Nov 2024 08:08:14 +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.8158.013; Wed, 13 Nov 2024 08:08:14 +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 v9 2/3] arm64: dts: imx95: add usb3 related nodes Date: Wed, 13 Nov 2024 16:07:44 +0800 Message-Id: <20241113080745.2300915-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241113080745.2300915-1-xu.yang_2@nxp.com> References: <20241113080745.2300915-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI1PR02CA0033.apcprd02.prod.outlook.com (2603:1096:4:1f6::14) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|VI0PR04MB10928:EE_ X-MS-Office365-Filtering-Correlation-Id: 3f93179b-065d-4b99-74f1-08dd03ba524c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|52116014|376014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: skzZaLFGSwlqp8jIVWsyijaPCqU0xVRoEc7V2oPVH11t0B07Zn4/U8dEalVjgW3Z0ILPs/L2MZyhvEgtCF+QUrDOnpqRKIHx6oESvmUD2qihyVq4y1N2dSkPhclT8tfPYZTkFAlWnFlurqnqq4RlxYKq5qdzK3SBVU4lZJ0taM/g+U6dSrFZjG84Ihq6T3YWlFYi+53r6rFOZxMhJ4EWTM4isFYs0snCcI2PBYK3jljUwD5fIpPbUFdm1edc9UJisDsnoYJWPuFF4nycK8qoN1VHul23TsK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okd1d2mqLNBmj+9P8SxJNEAltaMDmH00SR95i7ZEMwarq1Q0dZuq 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)(7416014)(52116014)(376014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hCirrexMltcl+3dU7YyHUvKNcQZRqwIXwLHLYVPfeSLeLJQX+PNqsvoe2Jz20Mq1iAGSVEdJwkO+tjhhseUcMwxk9LHiahAOqp6XzgVIz+i0txBGwihXEvun2SE3OdGHZV/RCMP4mKEJaz3aCuQjsB+cUJAp7AfIwB2bbAhoEpv5ey3ImubBVPgKaCWQom7FFskR24KrUCodFhzV1p3YSpmeCYlS+MlQ0J0EuEkwu3sDNV78LJFGC+fqGTvK8AI0frD5dVuXt5XPGIAa6Ngq19twQOkrjuJZK2oHz6iKbWA14xp6i7jL5NU93biF/5XWFi7MGMs2B0iNUIZQgSJ1XoGP/SEvE94N3vbRAlOzGplgJf+FDbj3XqY6vRKNuwqy0Su24ePvHhHZIiLemFE/WK+QoQt3OizVv19Aq5IirK3lUkFu+ab2pW+u13F20Ri/8rx3wCmAjsFGhGdvNYnWB4wclqTK7XBeFZdpxD4xDSK2LsLglVC4k5LuefwMKU6X9q//ujDE8RaNgZAasJP6JAwNvULZa65iRZNMWMlr/RRH9vybj7nJiA6yL+y3Uhal+V7k/4cz5B+WW4DkuOAbCWoGSdNlf8o0wf1gbY+yL3M/cHjrxeb0MnsQhkxwtvDI24pDDFxqyYx+QmKZ9M6asiDMe1mID2J54SLpdXpGNcw7x1Iwuf/7SrbiySrR21Ed0RLMhXg5hsSjlatBZ/NGnYAPLjz9x1EIQ9oBeCiQjyuJB/5fIt4DlCYicyJHx00jcE87ePaSg72pYmFNoK8lxT8dPzJn+ViE3SNfVGAcohGzIEKMlgsLb/UJAn28CpXjsshVt/8nTeqnMPnnyS3JxZV9p5O7wtOFWMDqUyYXPZ0gRIKzU8FL3bOydMQCiOLThqTyiNcAojp2LlrZSCpW4oM1Si+/enP/cdQSgh8CATBjSrb/ndggfhXDeFuYOoy6XO9cMYzZ7luciC7Ghf0it8mo+Kh17rws76TUPDEDOVtE6Nyogp8fWKChqlJsvKhimlqlTr0vC0S4HLOtDY+R+0TDcfMmpu7cLMcLOv4A4JegxyOn0EzIhBK/Fuf2Y7kwpvuxVNpoBExS9B0g80CHHyZ7d5fZl/XWjDb/LMMD2n9WPsAwPOWWRcdLsg26kPWhSmuMiOhDKHja1FaIbFwiJPE/z6394CulPnk88MFpia/ITChX+62Fma+lO7E3jb/pXffmEb49k0ldK8srpnQZi0EY/lPKYqCBwfjtxMPJOt7VjBmp1H+rajFDwkdjlus45JEi+adklihuqiF0MYbit9JGJQdE+R0Ovh8SU12cGxWgjQGKbTVPJOoLD7XXQ+s7HA6m4KlS0JwmJoaOcG7pPViHCkPYjhv6v0VSLpPBr034gxRc7AMFU9LyCiedf1QdFf5CsI1EONDvsywuYbFkY7Q9JJCqv4LE+OU0HInx9pCn0Lt/H3sbC2CZC3IyjSBBHKhI8pCEXqzHrFWRjneKocndCEvnTgmKmxo72iJzKhYwrMzaNW7PAXndU7sIbUw14ouk8GwhGU0/SX49wBSzpT6fVSfowNwy40Y4wOnMD6i8c9I1+8okFKikqyjZwkJR X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f93179b-065d-4b99-74f1-08dd03ba524c X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2024 08:08:14.6917 (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: PLVw/DKcrwE1CKT6rk5c/dEcsffWVzuOcBzCFWu1mIpjni02O/EZ5OwphJPz3YtDDymLNmaJEBRbRaeB7dsi2g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10928 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241113_000816_444831_FF47F0BB X-CRM114-Status: UNSURE ( 9.90 ) 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 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 --- 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>,