From patchwork Fri Mar 15 07:24:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593117 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 9DD98C54E66 for ; Fri, 15 Mar 2024 07:25:10 +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=VmIwf54C95DMZWFcIcnCTNxmJ8+G0iRvunq5yiT92iA=; b=v60kZGPIoBL5RE tpjJHVgzWIwWGTZ/opRoNeMOrqQwPYpVAId6elrntO5VLC3Z0Uc6Y2R3ZVXSIuYCw3Lg99Kz88/CH R1QttKiVfDkx0HfDZK5m1W2qpFQ1xmF3Jqnoy5q1mfJaymmUG1vNm9g25p5DUx6Wl1/1zoJIbwJaW OYRfLK1fG1PtVkFuaQFYyFU5o572u4zGZzo3WJnqHGiwIFezpoWUglWuHo/mV2A/Dv+CYqxrnktnA WM33l9FH/sHgVcQygwR0NhHO4bYyJVC7Fk0kPRNbRANsOZmvtkvGOSsW4/tsM3/sL5MXlXikBbKsi 5RlppHASJcZwZWAm2c6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl1w4-0000000GxhG-1ENB; Fri, 15 Mar 2024 07:25:00 +0000 Received: from mail-db3eur04on0600.outbound.protection.outlook.com ([2a01:111:f400:fe0c::600] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl1vx-0000000GxdH-2JKr for linux-arm-kernel@lists.infradead.org; Fri, 15 Mar 2024 07:24:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dlwS+xptDb6s0kA1jQLWqBts/+RfyDuVN+NMX9fOalpD2y30912Pg6m3yyMCfzcRt80FigZ6O+CMHXeMTyeub3F3C6DgCOSQN4ZpM1qEP+yiSjQZDSqak+lvSwPfon/EqxjJYop44u+aijA0W59LTC6WWrI0mg48UBkm6yewOS4vq/H+1FOzG8LByIcBS53D6nbHLccMLieHBNBLcZRHTVfY83/4FSQJb49JV5OCkQfEdu2ecegXNmfcO+j1gtu5xFvww3zHdFPIDGTKSbcsS53iK6m1sG0VPn33MLHfy2u5EMU6OyDMVJulxF4kFYR8e2OvA6WLXDFbosl0r7nOfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=3s269dwNzt7fupNaWDyLDBy2xhA0wi7ImfCd0uGQlHo=; b=jJa1CCKTyqrzINTCPQCG73lk7UyzH5An24XJ3CB8skYq5SQHB5ly6NFchASHsfPR7kYTDR/v/mYVKhGMHEUncdcYRKLgWS0IaGfA9HyPUxhReEjrxbrwHPJOjJjlorbSYHpoUuHhso/T05lqjU1PQQO/pOEAD7vIU0UBpJ4epnj+RUW1gl81BxsLIE4Zc4M7KTW9f4tfegHoOAuxggAqpsd6ix/GMDJHccAbrYsnq2kVrkoA5GHvZ79hTpB1LTJBRYPpinrvdhkHSIQajg/Qli6LG5zRHpHGHfd4SsfF4m10NDsycsKcwCbk5u7IkioU3YwdcXjWocoOG5bYI9+9zQ== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3s269dwNzt7fupNaWDyLDBy2xhA0wi7ImfCd0uGQlHo=; b=Ay3JPXtHBmQAaXNcMKcCaVTUVMFqvzsXYGhyd2YrQkgsr67COXG8j2+/3xeJxM4/jM8BtvJvJQv7ik0wgRhC27ubyl3m6M5t19Of1Pq3b8QW/VeuKoX6yyzmnJWxX9HD+7l1S+5/HpQbOJWgZgSflTamAEchn88+vDHxgN3agwQ= 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 DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:24:48 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:24:48 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 02/11] arm64: dts: imx8ulp: add usb nodes Date: Fri, 15 Mar 2024 15:24:46 +0800 Message-Id: <20240315072455.2481613-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: 85bbd7b7-3691-4c3d-d567-08dc44c0fece X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JHdrBhHXYO5Q+BYw8CZePJac/Bn3mD/W/98XHeKJoz+I2IWj+I0juuwVG9MtbGAPTptR2qw+HY5Uvojh9frVRIOciWVQe6agPpKJAdsGBt1sOuYTkRMqjz/h2Az2gB7fqpKhfKILROdBhxpAlxwodTK1LqVKNlmRRD4CSWbxesGncLxgYr0dPWwKpaBMHN1vpaZKsV1ZttQV0MIhgiKLmbGt/+rxvxYqlSbFkeC6rrAMxUtxWTbuemfvYy7Tds6yZVa91iUUVDf95Dd55OvB4yIfMTos5FSoTbChk+FMWObp180vhoz4QGw+2zBRmd+nL07/QDyC9ZhmrAoq8Q5h2lTpfe0WCuXkj2526p0xDoMAkGe3l6YTFVHi7Fx5Uc7DK71wjWwmshSVqNKuv0UVkkwKUVf/VU2blzBjelAbeqBDLFQLdHGxxckw7vP55OAtqnj/85DyO5HEg49vl+clqNy0+4ue/1h/2U0ChORnWKntMOGct8zX7BCIprZJ0yGu5O8e1DzbAzCyEBxeoAeeSzmuo5egyOTQzkoK5r8nvTDcinNpHpsd831D3IMG3Jx6W7SxciVDOOhpwsHs8NG9ojOUcSuCWrCsb/SDqkgJza2N7sn4pcK7kLp6jgd/jvyocsHfgqXZ79YRiQrnp7TjePP3Jq06hz13q98OvFZLY9OZjWaC2CYx38944QMCcKuEN41JUPigFUUailRBMbYpLg== 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:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bbAxpbugvjNr2cRB26/QUInq6+6lVRJyr3i9dV8ZAboOaUQdDuzrw0EitCtv0aHJlGe2gPpdz8YjhptgvtlC3EEUdkd1hFS5t5skwW+E4PsQ/MKiZUW+8+aKGIKdfAQQlq88g1TDcgI+duYEAx2V+qKpavLXLUxCxJaPffz6AF+foAJeqUX5OIx9lOevEMS3AjX5+8PL6L8x4tsykv41oM+dIjM8Ibd4KAziqkKw3I4hhaKALJfvjgc/D9/RD9FooFRSW5ARrFifUD9OHaJthZi2NEf8zd9cArd7F9xwf3eFNOZkjrNOsOrHmSlI+80gjLWJlgiqgCH54MsmqIaKpRYeqbdpf5Odsg3U6zTY9+OEk0NYaPP6T9U94yqm5QxiR9fc9l71/nO07IJhyoNrhRK57Ly5PtB56ZZds92oyi2g57aBHI3UM/RxPjuQPFyZScup5oVQzmGpzuHKqzJzUgGPB7Tuw2SlW5LiSx/63hpgH9JflrTiKSvR8/rEGHg8XuvuRBk30HzjdXv6e3GaYzKYE7d+z2GmrNgxDV5baxQstcTTaj0aVCnYjCRUB/VeK2Uf4YO7z1ursw1nRxqhj0yFTA3U+LvVuzrIaQ6VN13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-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:24:48.0819 (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: 4IFtP7iBggUEKCRwV0HQeHTk9zaIfuQ+F0JdrGm/01BYJFELExwue4wNnEUiSr6ourmGTgNssiqNPb+y/J3bZw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240315_002453_614554_B8049A2C X-CRM114-Status: UNSURE ( 9.63 ) 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 USB nodes on i.MX8ULP platform which has 2 USB controllers. Signed-off-by: Xu Yang --- Changes in v2: - no changes Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes Changes in v6: - drop usbphy aliases Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - no changes --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index c4a0082f30d3..7da9461a5745 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -472,6 +472,68 @@ usdhc2: mmc@298f0000 { status = "disabled"; }; + usbotg1: usb@29900000 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; + reg = <0x29900000 0x200>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB0>; + power-domains = <&scmi_devpd IMX8ULP_PD_USB0>; + phys = <&usbphy1>; + fsl,usbmisc = <&usbmisc1 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x8>; + rx-burst-size-dword = <0x8>; + status = "disabled"; + }; + + usbmisc1: usbmisc@29900200 { + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x29900200 0x200>; + status = "disabled"; + }; + + usbphy1: usb-phy@29910000 { + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x29910000 0x10000>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB0_PHY>; + #phy-cells = <0>; + status = "disabled"; + }; + + usbotg2: usb@29920000 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; + reg = <0x29920000 0x200>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB1>; + power-domains = <&scmi_devpd IMX8ULP_PD_USDHC2_USB1>; + phys = <&usbphy2>; + fsl,usbmisc = <&usbmisc2 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x8>; + rx-burst-size-dword = <0x8>; + status = "disabled"; + }; + + usbmisc2: usbmisc@29920200 { + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x29920200 0x200>; + status = "disabled"; + }; + + usbphy2: usb-phy@29930000 { + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x29930000 0x10000>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB1_PHY>; + #phy-cells = <0>; + status = "disabled"; + }; + fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec", "fsl,imx6q-fec"; reg = <0x29950000 0x10000>;