From patchwork Wed Feb 28 11:29:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13575278 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 8278AC5478C for ; Wed, 28 Feb 2024 11:34:01 +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=uSd0nDSOqSLN7dmmtYAvqrLKmRfBcd0JM71RhbWs3WA=; b=Bxbs8B8F/AWjsY URGqHx9vLzNFn7UbXm3u6tN/x3nou8qXBibTlgP4d7Su9akLjBqKBqXmVJOTdu03x/g+ezIXplRp0 Ru8JA33HNnumWM72rufEu3d1l4xgbvSTBaXRLETr2y1D9Es8qqJ+xrmTh5GtCcd+qOT2gTHIf6/gU pRTzGFFOiBEWIUAlz/nZo1+ItXw2oN9YocwWTj8KEWsIAuJWIoEJ9yvji589QE18RtC8OB4+Gl2Bd LIpx8GmFabC3pg57g1CMfQ0RLurpv/0WtwPJnkvPc68QCX8SsBLV/yHhWXelLEKnk2v8EKxfp5tSj vITs61+DExjxGm9ckynw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfIBw-0000000913S-0J7f; Wed, 28 Feb 2024 11:33:40 +0000 Received: from mail-db3eur04on060f.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60f] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfI8t-00000008zcL-3zih for linux-arm-kernel@lists.infradead.org; Wed, 28 Feb 2024 11:30:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aWFEumjmiIOe/qLguvkfkgSyAlqeJpoSVwWWtV/zPbXj5V9Jhje4B/Lx8/k2q8GS98X65h47TM2zT31Y5YGeXBcncrNI4Uq1U8D7o9NcVkXJ/3yMf8Tl8nerwLwG5JcgKecdjYo+liFsZ3A+9iYiQNI/BFlSoaC5QZqon6ZxeFdNkFpvon8a6+hlOYP39BsXw3LwDOoMOpsfX2YwM5iRyYiw9VHfWOxU9rrZRnNJlOlEFOa4Rg3vmg4BZPLUzqGcrHt63vfnjkQaA1W5EG1KQ2OU3OqbeBe+mABZomQjIR47JwJVaV0u8iFE5T0RRhrV01Zg51g3xhvfBxUy0XNgxg== 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=MzNpfvCydXD3YzV7OuaUoExT9tNFkJ9sNYHtQ0atk20=; b=fI5KfpFYjqGvibVG+7asHsnVrB5xh/QeVGdzGIhKHFKprXoDYBWbbhsNmFbxayhyTo/sW/FRxXG+GvO9SsyoyGDAiH9rILGJxy3I2/B5JUgVKbLWyj4i7/2w8f9uxK2cYVlqtt1/g20sSGkVoYHMEHQQpeluGeF+mZoWDBHu88z6IGGV4gQm255KQSpOAveqGQqypmWCk0wo5+v0jUBQczqpY6c1IqoxeFCVBky/HQSg8GnfEyoiG6voyXzbUSnltcbW97ZWQgdyyMymMRWFzJGbEj1+wqXQJmuN3o+6A8fav78hDPu+YuSBq3JhKLiBdR6GiaXX/QfUZSviJtWKgA== 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=MzNpfvCydXD3YzV7OuaUoExT9tNFkJ9sNYHtQ0atk20=; b=Mo/MS2s95qX8qKra0oNFsD1KxTUxlqNNxTfRsiAmLeKzE8KpYa13wifx9zlkPg8KU/07TEthEL5kQ0cS45w5CFg7p98kM6GmS2XZjp2ppX72EzSXiO1DsK3fGTg3mNfiLfXYl0tssw4d4ZA1hg60nFxSAra4iS7FtDa0sfFQ8ZM= 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 DB9PR04MB9332.eurprd04.prod.outlook.com (2603:10a6:10:36c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Wed, 28 Feb 2024 11:30:15 +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.7316.034; Wed, 28 Feb 2024 11:30:09 +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, linux-kernel@vger.kernel.org Subject: [PATCH v7 02/11] arm64: dts: imx8ulp: add usb nodes Date: Wed, 28 Feb 2024 19:29:55 +0800 Message-Id: <20240228113004.918205-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240228113004.918205-1-xu.yang_2@nxp.com> References: <20240228113004.918205-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR06CA0185.apcprd06.prod.outlook.com (2603:1096:4:1::17) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB9332:EE_ X-MS-Office365-Filtering-Correlation-Id: e004a189-4575-418c-1b74-08dc38509ef4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: btNDV21Z1BzCV/u39unAcpfwZovPUvnEgQ+8hMosre46VToutJ0sT43HeGbaXdZmdsS7Wo3hCwrHdrXkeUewfAGS10VLn89EnjbqLjxirW5KiReWOCdTEIE1vaG9WyxhtYw/4SS0ZTRsfWdbNXo3PhYgFVbpmN4Ejp+aXA9B5CkE4CDTUEll6YVr5yvK58qv+4WSMLpntTgtiKUdUW1B+Fcriq6coYpqxGp+T+diOvozAKvdolH/55UAKfJ1UUSXbbBHoJ/VUSWWdleB0ho+8sNGAsTzDHFbfQ4KOUIZFLEucuUaxOVciZx4Um2Hn7z4LdiPqDz9502ofsAY2Ede2XxtFWyj8KjGCoysirrDPau6Bb3qFnDdpbis9fgX344/db4Dtm6iKf9CyW/j64HbbAlZpnGG2zoNvdZh55+jqP1N/IvAsB2PTDDUDr4afM0xzupnORLic0FgMCmPeCVt4qMEhy49BBurYcwg5+nCY/VbrRLQK723/ACel0AhBGusl+z2FzxlLExPpDlbfBMwWM7/ICpxnwiR8TVj+9Mh1km4DJjDz1aphVjgB20EENgf+o4rV8Zr6aOE1PcDRaKUkt+/ekmzViAdUUbjvgQT/Ih8Kcti2APKQOlUEiPaFL7Y7SwUcVk7HfmCLhXPZKmGD0OYGcCR4i3zGQ8CfsjfCA4l5y2+xAHTEb4/O+w6vsdey5zuxs2KIm6X7JNrjnt+mw== 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)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BSxCsSNj65wcfh3MFzCsBGZEI5yWHtItagZhX+kBLSRzy8ZMZNvG+ToFkyCJVCZrlG7Jdg5EEOvKB8+4HlTXyubHVT1wvktuQnzkSs6tcJxxWJ8Yi4/2SuZ9re0nO8IirYvuNQ9bYJJF0fjLpL97VN8kfOP9ctSNZM5nAV+GYGHcTV5p0GorqglXviKVxFkksGMwQLD9+1tgxy9rXAMKoDYgXQiFu/Q8EXo05GHKpomlSjlJDnuV1SmpET4h9onDAH+O8TeM4RGvEgQXRMUTlXgZyfdpKBx/9r2i5PLRXI14WrIyYZA1Fnx0y4pK2GJWyoD7f3Al53t02yYrm92IXV+wB2xcoLYOKnQS+L4Qr4MP0A3Dkb5VqUNDJjkdRCuyinIWyGXm0EjRtrQWDGorPlO4pz9iaZdzZ7fSbU37FLcYprXP/hQq0cCj75b/lyjS9vcDjDV6/bUf20iN3R6CiaVfH6GNazayRvXH40BEUtajfqzvhFeGH6hbvpr3zncXJtJR5K7HeTcW0wWGV5GgIWkJ3OVtLk0AZaWcqoKU4pgDLSpdGHebcmH2zl6OVO+F2dlLYX3+R8xHrqMzvJ+3Q1abxvUkzSIV6goWKfwUfcpykOyHGFFu/Off6T6eEaqmO2xQG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prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 11:30:09.7618 (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: 5Z0A3gUmwiw7l8phVC1u+p0KhRYc8kZaWr3M3wRzFHUXQksLNhDOCJ3xztwn5F5aKl+TdB4Pxjz0wUpuARrahA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9332 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240228_033032_291636_AB532690 X-CRM114-Status: GOOD ( 10.14 ) 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 --- 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>;