From patchwork Fri Nov 15 09:33:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13876027 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 EE112D6DDEA for ; Fri, 15 Nov 2024 09:52:05 +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=KYenWmawjJWEwkMEAcvWABiVtm9vLPiNtmr5bz1j3ck=; b=aPzF5CMiWaII0E1isNEobLY72j tVV2uZGRlUFX7ZQZ2VXq7MTjXcwG77aUGebA875UzP5MK23vCKV3YsJM+EHvZKZgkKdYnn6sQeHT+ I1O0Q2llphkSR20O70EDShn88zQbPLB7Ftw6CYPdSIHvOkjyx/wPlifpwY/WVxwWjIB4jIRgIuiw9 CBq1UokaOSLGcU3DlGDMljRHkloYSOCyoPbr2lJDyIgBBRQaeQ2qbuBJ1FRMHT4lwjHJbopwPO0tO mdO4GnBvJzN6FRaWIrPcprVqfQb70Tg320yk0gLUKISgkgMp9C1ewqshYDPsplQlHhfgG9DsKFePG kMGK85CA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBszZ-00000002FlU-3zxt; Fri, 15 Nov 2024 09:51:53 +0000 Received: from mail-am6eur05on2060c.outbound.protection.outlook.com ([2a01:111:f403:2612::60c] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBsxS-00000002FHe-07fb; Fri, 15 Nov 2024 09:49:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pBmPBhBR67b8p0tZHYO4aYeCKuNFyXVehlgpGmZAHa6jGh6d4mTOGkw/KCPYmt4Tp/btwa2GbGkLTJ8+y/VTnkWxYRGIM7qogvCaeiLghHMQYnn2dTt63tH6fO5j+aQRPVTK2mZTlFzEYKYBVgtT4WLizxIqaukyH08cJ2Mr0UDLSAriZWkDE5NK6cLXWsh80qRAuonVEZ8fCJOi/eHDChWeiXOb7M0UW9FelW2WcaYZ2RRst4tLmiQApAvt8t2lajv967jKKpANihIBLEbnkhtMvgUwd9PJyOlaSNpMBT0yOkaqoG+5nrl/EMk+3mlLxja2v6TgICfogk82RfglcA== 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=KYenWmawjJWEwkMEAcvWABiVtm9vLPiNtmr5bz1j3ck=; b=VaCJak5pQOZFcAA4RcXiu0FVjdqfsYKsP9kCnkO4F/nz+BtugNzV7g0dGDHk1GmVHWfRk3N61n4uCuKv1XLaE68MMiLUFBIHldSvAV+Za853t2XRzfLx1SwWFe2mNv5GIhVsFkgUebxe26aUaftmGt2YszXIPCgrlAveD6DJf1UnCNa3XCA+Q4qrhea8qUkcxnhQyhDff0OtgE5P414FWsyAv6TEsUTK6LDGWWiAQLpX5/lBJvhdmSj1jEV/0C/Vec+ekjDF2+wfyW+sqA1JUoKDXWMmowQLLyhhVMs8hEfdfHlGTZ8pxrwL2kTKHAkUmNp8snBiJXdtd9mYFKq4Bg== 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=KYenWmawjJWEwkMEAcvWABiVtm9vLPiNtmr5bz1j3ck=; b=GNZvULCmQcRYF4FV/zqN0CtsDLRMBFs/ApsCpn/k3IUsKkdx39t345Nnxddy1J6ChcqEL9w64o5JzA9HG8JQkvld58UvCTeQ06d2tOKhvU+ZzYvJ1MCIcuon1KqWeMnpVD+mY/QpLRootyUC1xupjbLj4D2dRACjnTp9jCOIr5yfFk/IZw7nZ0e7U9vQ6aD8yRqJUpzRAoUkxpqK64sAGgxsZ70IKtDlIxHSynw5YzV78GxoUBGuq97zmaM5l8g5D4+Qplw9UpklkLT9K2+CSmideORiwdhfI22e7+h4QdslvMZLj6UIwY1OFEuJ5g3oU0cQswajAFBKeL5U56knLg== 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 PAWPR04MB9743.eurprd04.prod.outlook.com (2603:10a6:102:384::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.20; Fri, 15 Nov 2024 09:33:52 +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.017; Fri, 15 Nov 2024 09:33:52 +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 v10 2/3] arm64: dts: imx95: add usb3 related nodes Date: Fri, 15 Nov 2024 17:33:11 +0800 Message-Id: <20241115093312.3407815-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241115093312.3407815-1-xu.yang_2@nxp.com> References: <20241115093312.3407815-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR03CA0116.apcprd03.prod.outlook.com (2603:1096:4:91::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_|PAWPR04MB9743:EE_ X-MS-Office365-Filtering-Correlation-Id: 6957ed30-ed5d-4b46-66fb-08dd05589e1e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: qi785WuZAJJoPl8S/NFfifbHA/gQFy/CSK73/wTAngYfCG0maoMx7VsMli0dGYxiIXLGjguwh1gtc9PLINTOCIwkfdIeFM15pRN73hZYYCTZpbg0p/u8TpNPnEGbv0R9R9X1MBAT3KmJzwMgkC2wxSxWJAmAKDoTsWAs3n/3Uhmlt6+o8aO2FnHd2pS5nuMxiy5/7VM5JKeNB2didIC1ITEj1L3ju7qH89i69WJOvgs6CgQYGtWw3+5RFIW6fqODEkS1/NgVO6cdn/Z+iIQmWvauhcWcriUCSQ+28wJ5ajbT7uBjihWhvnNycWgHoxmqxTeveluqr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am-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)(366016)(376014)(7416014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5p0TigxTbpqyk0avt220p2rjDsK3y+cT41Gp2n69k+0WCdHeKsuThH/GlODlngrKG7tj0nzn7U1iDNqbNXcSfy27bN7/bIjl5dLZS+s0J7izVPocK2kL1DdDNb2r2NMQMdlsDPt4z3wcR5xhftTOOLIt/7opru8xkLM/gyyxqoidx6D9RlvYWXZcxR9bpv/5+ChWhOzdj+kdSgBNPs/AxpjGqdMPdjVz0T4gKo+kvDJ2t8w2M20TDioZ0rXeQar4i+73xGKnRRWwpWk1HvIjXQroa+70cEOUoWk4lOOEoYS2LrjCoyHyxlNgbdPahKMmzDprbqnf+xWTZ9sIi8KebMv4xsSF/ELNRHpj6YuZxIt3HdawzAI2ValxuWky/EwcSW8IB7XrCn1fvPsxU+BFtMoApIjtVYvFgsNIOFGfcksmJqg+ht6ZleghQ+ypMrJOJKqKisRJ39Nunknq1/mldO5b8iipQOQsUnVRsMGQw3w7JnSARnp7Xz36+NzIFnn/7qc/I2qxd0rAT8croAKUbZDo4vsiEC3tqgHNVF2SDAzVv8+oFt4m3DCrf75mw6auhIr/SNRX8gzWK29cuXWss3eRRSJbKs7B3qFpNk+e9VLGC6tm7dtJecO5suy+/z5k21uH0LC6Mclm8NsJz2Z+3Xoo+P2YnMQer2RmoRYp/aa+rXBr4Rg/1Qer3xlRzju8KF9d7GLEX22woitRKq1anHQtTZggyOqkHz4uI4lbPec+mD8+Rf7WkOcnzBO8BW35Ulz8meoFnKAkc7Lj5imry7KefJlS2cZyiL7i9jO5uZ9KUYzHqQGuI43ttzOp0vwsth6HCKkhwlchimVp1inRlTpbBjTQwb0trJhnLHJrgKjwHoN2DBPIDaW5gKPH5Rw0t1XUiDn+pqAqYaCQ+1kW0r0eUIT7Ddz8BMUSmw1iCi701q9ETz2SALiXirrKN9RvvtDsY2ONrV01W0/CO/2A+A5QPdjJnJUWECAq5GGolapBranOSuLF69j7kObSERbnsqhJhtz/kkJF166CZGyN5QbWT/eEFFUav2xyDE7Oh9ztFJ2s52esr49NSY0VImRu9s+R9FA5YLhNh4EU1YUPK93ArMN6NVrmdPkYZu352GV6GEF9n1N1dImv16oWjc9+WXBbF2I4iAkyLSuw5hg4OcjSkyk8hsP935zN2Kh6xQwIeCg7t9t9wRLpQFq5mhRzGc1pxrT90waVO66y4HPck1Z+0SuBkW4/kysu53gziH7ZPbHQWd1fPkKeSw0CuM9GLYDSrX4tIt6UPqTOtzkluXK0KeoI0Iar1IwYAY3/mMDDj4PrmuJOqQEqJ5lTY7XROuR4NMupRRY1/YYjyfjtW4OzZYaNAx6xxg42omhwJ44IQIQHmPv5HxopXTyz03KxQkNY5VSmfsvajvd1ij0pDAsNlzs3pl3R9DCsZ72g9OE8RjyMPwU+bgPDpcuN9cFaiaR5fne8dGHr94T1uvpMpufamvV0w8Vs0QE8heSDkyYHmiDYoo96R2QIy9Fy5CSon1rAnBcQzDFBWKMPDhqQIM+jpdDGKb4OD3eFP3IMbbf9Tg6f9kgG5hmfHxtUVuJH X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6957ed30-ed5d-4b46-66fb-08dd05589e1e X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2024 09:33:52.7525 (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: ewVvjZErNIGutpTHxnSDDykFt5Ez/7zoy3BySDs/9cFpDskm+6MeZcHOSdRzWvf83NagBIbB7Yv6hMC5vdaZ6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR04MB9743 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241115_014942_061646_6ED68ADD X-CRM114-Status: UNSURE ( 9.78 ) 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 Changes in v10: - move orientation-switch to dts - rebase to latest --- 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>,