Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp930782lql; Tue, 12 Mar 2024 02:17:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUc7b4+f2Cj3E0IODPakykmT4Q8qkEQdMz4JOYVOj+4y5eZttV/1sd6W9wfMZcycsKknUvfV9Vl5LFIGyIfCU2fO39D7wVTdWsHWlCZxQ== X-Google-Smtp-Source: AGHT+IG2uZW7/pJi0bchmrzJT3B/pzOeOUWEwpW26nzIzkFxPIl1XFvTlg2yes4+9wpXEWZ5gtt3 X-Received: by 2002:a50:875e:0:b0:567:6a66:d0fd with SMTP id 30-20020a50875e000000b005676a66d0fdmr6747091edv.0.1710235051405; Tue, 12 Mar 2024 02:17:31 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id b5-20020a50ccc5000000b005686561b1ddsi1296551edj.335.2024.03.12.02.17.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 02:17:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99998-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=dNM5EUXn; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-99998-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0059B1F22E00 for ; Tue, 12 Mar 2024 09:17:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9812E78292; Tue, 12 Mar 2024 09:17:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="dNM5EUXn" Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2082.outbound.protection.outlook.com [40.107.105.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 801217827C; Tue, 12 Mar 2024 09:17:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.82 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710235025; cv=fail; b=NCCfE5/31N+x+cEL/iQlX3VBZObMaLuhqM/ow/5L+F24wm0Dm72Mvq8xYV7P4ONJ9X7OtsySVlr3te1iDzpY+E2neeM47DFiu1aVOl8Nj2BDyMl6qJrnHM1JFFQc5a99GYD0dvqS2PWyUHzuxr0OVGOGKrxT2EmTGwpZJgRViNY= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710235025; c=relaxed/simple; bh=1Si9JFBytoNvebS6tAMt8fwgkW+y7pZnCoDtS2Oh2b4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=NIu7d7K5VrD9eRyXlxft3ZTyulD04MJwZibhaznluDIcWv9LZkLSTGTTIT2XX8N5nhsoamhQLzDlgF9Ev/+WouV6Uh6ZTVXK58gjyZrAPfvBjN/2klusVlOD6qvy3+2VZ+S701p2XQsrIlt1Bo/BAqf5NYmnP96dNiJHzaxDtto= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=dNM5EUXn; arc=fail smtp.client-ip=40.107.105.82 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EQHvaQwX7yot5sFDbQjvq5AsizPBwgI4aw/kUJxTyKLGvZta0xVyJ343RF/iXA0eeCsmCEDEMvU//SpQhDA5nXyw+2uUfIKSFv1Bt3S6tc5j6WWITNnHBjf47OsiHibobhWUtLP484Log5X01rNGOipOg78i+2mIHyTmtR6JUxRa1WsQgKrCPitnrubpTPSsavxFy89/GOVvcPXHaXNOlDsCq++MORrRi1PtSsOOXeB33ztbP9Pot9Ue2yN6rBXuHXQW9V+ei4VTFHita9rq6FuD+9i+f95kSTIMcjlGaskXpnFTdQj9svohVCRiWFcI0XwFOlOl1B9RgewvKt+Jww== 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=v082gcxvW+qP4A5BsUxk1jySg8Js4VXKgkC/SS2pKa8=; b=DhPGK2zMDU5WZQT9YV964AjkVE+vrxx5PRDlmuirn4V45xVHrPDzwHhOcVuG1pSy9NIKQ5a5C7kd/kozO0jElCZrhz0NP8MfbmJuoAa00Hte8mDW4rykaOWMaP2IpMQVYrq5m4vcNdpqs6VZ8Y7TiHWbXQfnVAx4kVYoxwFvXUdC8dkxJJMCDrA7zTgic2pmUaHiSVVCtxUEgtsUFhaLcN9BSYH9sgktDOQUdWk3wUk7uiotZR8LbV82qO0OzD0LRho2CINZl0+T4PetawcQAn5pglTEg0Jekqp71cii1rJlnad7j1EgrTq6+WlsEisZZsefq0qpl6+CVfGUZNOi7A== 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=v082gcxvW+qP4A5BsUxk1jySg8Js4VXKgkC/SS2pKa8=; b=dNM5EUXnIdcRDpgMmnIte0rZuvac7/GfcCkj0i3a3QrOYaZvf9JgH7s+Ci4cO2m0TpS0Mook3+53YQ3YzI9GgGK4s33WZnQ96Dm+dV1G9afb9OzqaSxk5HsX1lCQLBb9XlgbI1boI0VIqCLzCR8UdbJ5EOHnejq341GrZPoXd4g= 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 AM8PR04MB7876.eurprd04.prod.outlook.com (2603:10a6:20b:240::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.18; Tue, 12 Mar 2024 09:17:00 +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.7362.035; Tue, 12 Mar 2024 09:17:00 +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 v8 02/10] arm64: dts: imx8ulp: add usb nodes Date: Tue, 12 Mar 2024 17:16:55 +0800 Message-Id: <20240312091703.1220649-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240312091703.1220649-1-xu.yang_2@nxp.com> References: <20240312091703.1220649-1-xu.yang_2@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0026.apcprd02.prod.outlook.com (2603:1096:4:195::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AM8PR04MB7876:EE_ X-MS-Office365-Filtering-Correlation-Id: c7571ff1-3c55-414f-17a1-08dc42752c8f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9xw0TV6avj9ZhgRlGCs/eb0Olm4p0JR7ljBCmPoBbtOXIAtoLH+Wug5+8X3sRVXmMo9zOrfSsgbagjZLMG9CJ3FLW4F8hCewsL1xssaK+lAOE3S1a3dEY7dxmvkwOuByYUfzSKcsryYp+9+d4XHBTdLRSHnCBhIIkFXZL8m05zkBY8g9ApSDwxNRsXa7qiCftUat3cwls+D8Q9mqVLl5Q9OpHdGwQgkrFuheXLZGzpaC1McZ0qnEt1FxVHSzDKMSacZoel2ccxcotXdBIT0icYpOleqOvrB7l6GZ4TuwvEy/w+sKIoQqjQ8Y8RZohokg6FwVv35/uJHoa/2R0HL9xg0UAHWEYmDMQzQ4w2n9YG0ZWC+Sqnp3iH5/OOTE0fqF2eVOCSMmnGXEb/ihFQOIM9OfE6uC1nvHl2yizJPoeatkrkGql4QHLr2JfEUozSnE3ut052bDDn3lshjXU83iBcSIr/bBN3Ox4EzigNHkxGJZFt8yg+h7tME3xq7lLKp69Ihg95TgwRwN3yc1YzNtFahCtA0XW58I/7BAMIQZJkU01e9E751l8qVxjApVqi79LDNMxnQBFWxbMsTlNvDBbXR9GKPxmqm+nr1kBizhip+IbwdmaSNrRSwYrqnHWyka1zJlF0sKVgr34mmyU3J+pUzrFDtYlOFn+zQGE8K3Z4E2rCAjg4T/VQd5WHuPB30hT69hS6o6Xaadu1UNmziS3g== 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)(7416005)(376005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?vGBpBVr6zDyd2UaFdtyQwqlrIbIS5fBhI3e0yJ5B8qmClMXTxSNquirKtnfu?= =?us-ascii?Q?uGyILzxNR0V0cPXRr71orGItUVEtwZE7sL7U717OFtsXk42Eyk9SEd89OKgd?= =?us-ascii?Q?HbmEJHTjnwVbJwU7sYXT9zGuhkyHkgIv/0QL3kKZcfcWL4UqGBowbkclsdHq?= =?us-ascii?Q?PipsTnwmWHFe57hp0zCcfjhV1MSRu0SbKQbmiL1e109oRLhROEyM+PfJI9vU?= =?us-ascii?Q?Elj4ajC3J19EQGp3A4/dk2vPx2BUGPWbj2KZkNW9rh5ZEfWUbaQZNGLsj+/G?= =?us-ascii?Q?pumK/8kXHrTweFEKGbvGI/Z8kUrDqEQ+WFZwkonxHczFFUwvXqN6NAaUAv1/?= =?us-ascii?Q?kq7Cm3oZwFQNoUMAM8bMPI+1l1E69jP1iIg2T0GLKCyNqSWSrql2JagueLbr?= =?us-ascii?Q?rBjT3kvA+TitfHap4BDDXKeCVYl+LX/xSy/GHgFqyHJ1qE4zE/5gtk6kxI2R?= =?us-ascii?Q?ubf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d7nYIPKdYRVfQ?= =?us-ascii?Q?WJWSWvy/BTFHC8isYcCv8/DrgpclJ54JLzy+r4otXiEx+w5uDOBAAtXxTLJi?= =?us-ascii?Q?H/gOH3qvFImGwFAFwt+mqtYKGo0gLM96X4U8Gxi2CaPy/9mrsNqezayD26HO?= =?us-ascii?Q?XRq41mX+ylT68rbxcOLPGao6LWJ8eTD+7LfVvxCJ5MRo1tOD9CDJj205PVLq?= =?us-ascii?Q?AkAzEZ1aG+tZHmgAEWM5aQLbxBudAHsjfDXQjRWU?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7571ff1-3c55-414f-17a1-08dc42752c8f X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 09:17:00.7614 (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: 9Ego2HDGU11uVCN+z1ZGnRw20NMXr2QCA9l0vrK54VwSLJRzs/WYMBnMndxq5Pa98vSnFAPtKw+Np2i3S3ggTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7876 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 --- 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>; -- 2.34.1