From patchwork Mon Dec 18 08:54:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 755881 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2058.outbound.protection.outlook.com [40.107.105.58]) (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 57E52101D3; Mon, 18 Dec 2023 08:49:10 +0000 (UTC) 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="KGukwZqr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WGkizVtKkEYmFhTCF+/U74DpkliOKNmtfkLNJblQizBku+izjVHFhjiFkpTOLeCI9/7rNivalSp86wH5OAgSA71j9H6ZxLIYSNyfhqQMoXqLglWoJ3I5L8DpP36UjHOEqhkIuGSt4AZHfTph/m2QoAsRtT266Szi8BWQXpzmCFereGqdpkGn2p6fgfRDWXtVOa+fhglh7uZy6604420hVg1Q/ppqOiu8y4m5XMRa0eUfTDh4Rh0/uGI2Pa1l4BLP2+MFUcmC3M8fhl3C7xn8ZtRSNvGUFc4x9WC7eppG8Dbifm/GWIy8Qxj4jW/VzBfWHBMSj1SjuomdxKBa74sAGA== 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=oFg4H94pHd95T8ohAvWMuEjFvzu9CL1+5JDwRuWNXtQ=; b=M8H3YWHcERf8Xx3p7f2jwP8FBdoh+KCsl++e7NvezuBdSJSxZMpCl+QyAKGF4cDwXbt2naVQx29i/5zoY76eR4WDfznZtONYmeCYMKNaB99/Xz1CaoTkk7IZsdjK0DhpQLCW5Y+IRM9W50mdAIQDtI0y/gtPFC+BPiX2W29a0Umxp2oqiqhgItw7PHDc7A3NqoiKK/X5qjJFSlUnz7brNFeNfsNDaqu4GPN3qI7oqpcGpPQ31A39lkIh4mW4kHdI239w58Uy4hlBA7X1GqKNsp66+cC3XKS7bBaooBM9T3mkkw9/dFYYlhGQbZkhHtpsEHFm1KyrdzImF1G+E7A5/Q== 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=oFg4H94pHd95T8ohAvWMuEjFvzu9CL1+5JDwRuWNXtQ=; b=KGukwZqrbeZ4wsL5jsYk8rc8gHii5exqnMgAx7NZDTX0ym9nEOm1+JZx+1knfsbRaarzKMOdt/oApp9GJLPOMPg9b9nefZrRPBwQwLQREk626LIqPYuyuqkXvVaXueFFP4s4LKkKb5LGpcxG8ICUjjFyJCI2LDSZz/55KsrCAT4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) by GVXPR04MB9803.eurprd04.prod.outlook.com (2603:10a6:150:111::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.37; Mon, 18 Dec 2023 08:49:06 +0000 Received: from DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30]) by DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30%7]) with mapi id 15.20.7091.034; Mon, 18 Dec 2023 08:49:06 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v2 1/5] arm64: dts: imx8ulp: add usb nodes Date: Mon, 18 Dec 2023 16:54:52 +0800 Message-Id: <20231218085456.3962720-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2PR01CA0189.apcprd01.prod.exchangelabs.com (2603:1096:4:189::15) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|GVXPR04MB9803:EE_ X-MS-Office365-Filtering-Correlation-Id: 65c29989-dd84-4057-2efe-08dbffa6316f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 52pHH35fhr+rqaTV+FDBrxegFAYBqSNCnE+LE/kvJo8ddYS13vKa1qvnTkTQRqwYue6eKp/Asg/TT2QOGXglIvd79ewPiypw9G1UjTduOfC6hPhOWnOyWNxBRUlEnlSqyuKODurN0tDEK9AUx8jUeyVqFqiATrd7JXnqv9FuBlnaSJvBFreGaCqEjUzFu4RQeqUpB54AkZVejXlb17t/a5VDpMAz7SJRNFcLNhFvztqawnkGPE7FtMFFnoRZdPGIU4G1Ca5WNIscjs0yQ16hpyP4xWvP/6O62ER/KMmYupR3NJ9k/DVYBbcCgvhD4DXpXx48bOw8Wt2m6NB0XRnIYGOHweHsgtppNturCrnanK2A58/K+m+peaGBdBsZNgIVmE2b6PLCgiNG5p9nbPw+fFWvF+auyTjLZ9z9f5ftNUJKkD6I7Wb+ghyKnGiJOgcw8SYnC+71ONGJ6JPABoHieRLr6wuje5h/dgjZY1WEKzVm9w+K3yjYJyzwtDp9UNgEJ5btsGiG67sukzHEuuhDjGWEb4MD4iKVljFuvsMApC/M+LkV1dhvzQExwF5TPCVSEYuix9GPBKCRJW/4LGVhtS9O8EcncIPEy4oeUEuGXdk31i/oVE5zLoBYYsC9ijJMLmiaOuPusjKbs+4Jvqvo3Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR04MB5146.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(39860400002)(346002)(366004)(136003)(396003)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(6486002)(6666004)(8936002)(8676002)(4326008)(1076003)(26005)(2616005)(478600001)(86362001)(83380400001)(6512007)(52116002)(66476007)(316002)(66556008)(66946007)(5660300002)(6506007)(38100700002)(7416002)(36756003)(38350700005)(41300700001)(2906002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oUmkK/GkzvTMuS+tfczAz++ZiFtOjim3+OayKXv5sqlH9o8O0T1KYhXRfm73OfzLusEc7NamI+w6/tqQYMnIHx+GgiwYz95+p/vFlRAiz+SIJhaWMcbWGVOj6aIt9XZ2cmSwOwHgDc4gqkhMSFUHpwSFwgm/uNhtvzIsS+diMgPqEQpDDoOfrwhs5iuKO2dbb7Lk540WVIQNihu74rRQUV2Kp13yzzuuzXiKimn7qsZo8O3MmRM2arW092nOx/vZtwTLqRkm0Zv8c3Dh6E65D+92SJIReb/6/aU5nzL5MQAPkI+OqoH4EvciH1/378rZk7jB5cPNwljSGJ6wP1R7dgVfzCj20NhwnlUFD05zu5U3uDHvDXuIwitdf4Qw+yKMlbM7lAtXVUbq6UJFn/O7EcFZiMcH+6MQWBo15Dkj4QQtxCYN0ldLOQAzSa0wg/pUNi3sBWwcZBba0VPTQ2OGKFLKMIslyd+BYDLvNX3E6LhkLdXMbu2Jcy3vKKa6sHK4NUrpYaSjvSzLX3KPire6qi0DI8FVIGOimlTNGPezFQx8nJtQ8YmxgTRuRiOW5TkStO4EJ+00jBV4dG4/oO37S3SoMxfl0SYCvHdtv0/udPIUC9eeKrGASs276QXYckYYl9IQoIpI3OCQf2UQ2dVSM6Fgwt/ltmk6xXMqlv+kwfoCLyfT9bvORGerC/2bDLrWZMDiIOcXr60OTyVLfI5m3rEAQDbSoGxj+0ZLBmpZ4WQnCUmYkR6vY58VOxY77pZN6KDI1XF++kndV35aD2Q1ftS0AQz5Fc/ELfR2NHz3w/yRbtJpq95ZOp89O4W+m6bhwlXIHOF0fjivdkT33WycRnKORax2D59pDcJLeIJ1qh0qTD1ZC0VfjSf9RAi64aRQPjEHrpBz9rLRU1hb/H+wlZmeZziEhvQq8G6rCh8OpsTqSxjrQHKdNZXNB7kw+Cu9Zt4bAIlhZUK/5V1PB1kZ0eAIIB59M0pIS/L+DPGlniCz6DMpC52gPgQz/iyGuk5lKfXfwYNEMls+shAnzYO3m+Gklv/aEozDZZCJAQ1o8/5kGbftfPLCbM2wnIat+ziKOQvqozZcRLxkhSClHsj8VJLMKR9WqWAiv65ULQ3mYNqxbiHHYwbtT3vCK7V+J6FV9R6eIFRnz4qfCKHIbieiHYwATtIGPbI4bhfT1agTvGZcoVDZ5e+5Moc6YDTJhVls8/vRIgm9OKOltsV3nhI9dG3pm/4MnteZfMGs62v1ZEP18Bw11HagSdC8F/loG1++lqNzZXGoSmLg8A+hPJw5K6bI9/geChOsnonheTFjLWvrnH5jHn8OYgM40G7TuZi1fFIHHt1CQNozURn1LsEkZwAtKa9gCDfMBCZObbtTaezor6UF8hOP4eqo6AIdaYM/tXCKc0dnrFd7jNhrYY1qbGejHLuIMY85MkUgQKeLlFU0PK1r89R5bGkdif2s/8951oEaJPWyvmJ+QRxzQ3MZNESvWUwwc8c/yMRqufjA5kiy9f61mFKWRXAY80jMionZIihFN/8zPs1++J6GI77rqG36urPZHL050/uOfrO70GRfgzqxZ3gibj5AfL9+iOC4 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65c29989-dd84-4057-2efe-08dbffa6316f X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2023 08:49:06.4816 (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: PhU3x4D2xQQ/4Z1Pig1KfGU4wJEnzInTBeDGwl05Z4azDXzERepfACv61r6Ri5uIpLKfo+DSjngq8Y76TxnUkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9803 Add USB nodes on i.MX8ULP platform which has 2 USB controllers. Signed-off-by: Xu Yang --- Changes in v2: - no changes --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index c4a0082f30d3..ead1f57e08ef 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -28,6 +28,8 @@ aliases { serial1 = &lpuart5; serial2 = &lpuart6; serial3 = &lpuart7; + usbphy0 = &usbphy1; + usbphy1 = &usbphy2; }; cpus { @@ -472,6 +474,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>; From patchwork Mon Dec 18 08:54:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 755880 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2086.outbound.protection.outlook.com [40.107.105.86]) (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 ECE2710A07; Mon, 18 Dec 2023 08:49:17 +0000 (UTC) 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="lORdMNbp" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TkpyuGLqBeFhXqH2qJXcbvYrp7vTuTTYQt0QWRWwp5knpAsPda9932ORCFxcj5ELL1IGPAl5nSJJLik9v5xo6LZu9qdepj1yFVphk+yY5cMBWobiTD01zRGqYbAxGWIIgs14s6976dWAilShqMmnQPfP78BXfg/sd+2pWLn+Risuk95fqFdf7/XrAdWRlatNWLbe4KtVS8eRsaPrT1rN2wYw+CK6rgwcBxieIp68OPVv5MzPUGwcSh8/L6Yr1cV+a7uF5PeqZJ/2BRr59K11HzgvEVq3wM+9snyUNWafOiwJQki8eR3+La79Ta5mxvvOaPcFtE5HnVyNUAkpunqkwA== 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=fVvMQU2AJDFke2hX3E0OfW3xZpfm0b0NKLY7HtzRwEk=; b=IdWTXdiM5m79bBOrUvEk1bJNlACYaVv6IQDMFnoU+SjJIcfIbIJ2NHTGJpMSjFwh1wrd2qyR5VdpH3IgSjU+QMy+72l5DNKutT4drqSB7y80+YTvgmvNqBdSnqOBXbF0lu6OIbuiyp91F23GV4IJ8GOM0b3TRf/gapWJsIR34uUACO4NRwMcankj0XFjCYLt0VsR/Cgxz4cXrq9wOwlB6Y8AnYbp8z1d8NgNchLbR6dYnmjLo96HbUlIoO+w+nryW65FKee9aNBW/BdLdMXaS8iMpsiWRwDW+zbgLAsr4EmVYNC9rtGH3hZD1HPA/ayEoOVf05Ct6ME3tq2+IJzo7A== 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=fVvMQU2AJDFke2hX3E0OfW3xZpfm0b0NKLY7HtzRwEk=; b=lORdMNbpQpzhxA8/v9nWwVpMhwPvMnCREIvqkzJux+sRrLjC9oOeQmjcb9HXKjEmaa619gR6QuYr5Oaye3EAnPIQCrqZ6x+LXAeKSgMajWiwgRvZrIf6VSCSUw4euf32qN3fqt9Aa04ootBhjGyglwQ+nqHLNIYeUvmBvnDcMVc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) by GVXPR04MB9803.eurprd04.prod.outlook.com (2603:10a6:150:111::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.37; Mon, 18 Dec 2023 08:49:14 +0000 Received: from DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30]) by DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30%7]) with mapi id 15.20.7091.034; Mon, 18 Dec 2023 08:49:14 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v2 3/5] dt-bindings: usb: ci-hdrc-usb2: add compatible and clock-names restriction for imx93 Date: Mon, 18 Dec 2023 16:54:54 +0800 Message-Id: <20231218085456.3962720-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218085456.3962720-1-xu.yang_2@nxp.com> References: <20231218085456.3962720-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR01CA0189.apcprd01.prod.exchangelabs.com (2603:1096:4:189::15) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|GVXPR04MB9803:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ec0f1c8-92b6-4b94-69cb-08dbffa6365c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fzirTo6bIogctVDidrtMHcguYZJ9oCqXU3lC7HAAowKVunRaIVSpDAcOon0UBi7rvpsWijMZp8J4YQGtdYt2VnDjCSOI9BVUGtlkOwK6CX7tUAliJOp8LQ3J0nE17lI2wKMJG3KHHQClMh2TssdPej7EFqJI/u0ZOHJhJrN23xb6xuF4NV2FSY4AZXMzl1+Hue/7W3sqNKm+r32Ghwf0kZZbBOftiTvaoLsEXcWFs5AXxZL1rMngC4Tw/GhgqBWoVzVGdhZln1uONm+5EOzMaBLQDGSCXi4Xso0HaLxAxha735AmgXvu0SBxFzkwMWo0beGbD6oi452A86JqakPHJmjP0jboZ4uWxOUP4kMpMzibuH7e8tparqM0ZfwF2Ive9zCfSeKUKz3G8DwGI5i4D0Ksnt+GWYDRxfJpKr+qRga8yj2Ua0Y7MDNy4bu72Tc559AmdgOHZsdN2HF1sC8715NdSe90LwEGlFydzBriS/wCsFR4mT+O+WpImDMbC/Bu4zuTo9DCq5syv/tTCYVwtLiErv3oc2lmwlEpsbRGzeW9y/oxYWBBzXGWIMMAvext3wqKq2Y3Hqn0y87s+pgdBkI1tOeLm8DDmgLJ8LKbF24Mfj9+z3bnkO4rwnSCqac4i4STa20hr1wBeL+5YzCUUC7BmDwuFTrhSSuJE1rgUeo= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR04MB5146.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(39860400002)(346002)(366004)(136003)(396003)(230173577357003)(230922051799003)(230273577357003)(1800799012)(186009)(451199024)(64100799003)(6486002)(6666004)(8936002)(8676002)(4326008)(1076003)(26005)(2616005)(478600001)(86362001)(83380400001)(6512007)(52116002)(66476007)(316002)(66556008)(66946007)(5660300002)(6506007)(38100700002)(7416002)(36756003)(38350700005)(41300700001)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Ho9yCm6ZCRD3KmL5i3TtVrYbTaYFHBIfWswqLDJO2Il74esNYJXANcv08G9sBXeuvM0JiQvSNZuL7w2izHHxdGg0tKGZegLN1YPLHyE8pyjR5+U4LGgtzEUI6xZK+775BG1z7Z9XU5x7EHCUeXqE8/cb8krLBKRQdNMENPgvFuk2o/2O2Yu9YYJLoncvQLYZIk9Y4HzBvKd4HQNA8ddViaFL6Y2mammIUP89tY+4izSHbr0H3pT/beA5npiy9IMFOGWxMrM5W/DvZfn/BwfNYnynz+F6y6zZv2rsdRpqKMYPPcenfbb+2orUFl+OypCpAfFzVFaKKC95pB1JfIRu+7L1OTEqSJOOyZVz3+wARU3NJKDwEwmio/gCg712I5thhtCj7MEbrYxvA6vAu3/NkixPkRPPHDbRiLTSyxLA8sjAzZaFXB8Yg0HJoVbYknuJwwTt6RHozrSvEvg1SySWh6dwVA2wY6RCP7smQ8gJGtqdizATZLdsY971se18blcOfGOHUmPik4h0Gkx734BMs+S7FCG0XBwrStfg5t+f68z0xf8OztjXkZLLKJ3UBwql228b4ZHcrCHmJSc/p2W4HgEV3O6K4+0p/7w2JXGTa0ZHz//iPPfswy/TRUtpWVtgxLrklguN+H/iQGSo89cF2mkXgB3rhcAC775hzsUafGGxBellJh2KY+VdHSi74FvHWgRl5laju3SWUZtpVqEU+FpOXtLVHbswKGvvCyOQSRYEn37sROgsPOvRuDTEcohA/CeoNFo2JXbE1FJaq/ULeGSipTtKTWqJ5IGfa/o0fomSRtYMaRKyX5+ZZJtEo8TogP0G1IjQkY2MOR23zuTFQ1ZKqwGqRImFAN/0EDoZqp8aqL2V4XvNGNC2LIBocgt2pO87Q6E5wrwhV0Vub+cHSAHaBmKYAkiyCAyE3FFggk0E7XshQtH90FTpe+exOalPNpHCOPK06ycuzMWZWRRkGZ74OzKV7ScIIwFvQoPsgFodZFNbpIi9yjy1ivY+N6/FK6/R9jfXB+VBFXV2GuLuoL5bTxi/MsOVnh0BGLU5FPGyqvsJfrxeoi42hcplgAcE/BEhroG5k3vCJpEi0j2bBQ1FqhjbOCD5OuFvrqb185Uj32aKn/uBBPxGFR1LbXMcTr7FJI6eNyrqxQE20oUNrhUrM8VujP8OhP8FeNlNVFB+utLLyZc5c4YByNQCzjA6EZ+RbXmaBCLDe7qrGtA6nFslwejvQwY7R3cgpYo6znW/c648XRyO6GIB4P7KR4UWVz6cehAcXXyY297WE1c5fR99w0dAR8bwLInL4Sq+vtvPM86JnOvGtfts23FPwAIpdJ7vXO48oU4YVny2qL3aEx4TAqroia3W7NMsXWvD19rdbGbNMhJqZ6WwLMv7B5QH+Bocj2hm0qgwZOQX7D1Ikgn7id8RVnEieT2wi3N11ElpvpI4rRZcZIoKJ9eCKcZ+Jd6xLt4xEVfzcEfrzJhwe4YDgbQkoc9UbS56hI4P8BXGzKx1MEhZG7+dyBHKtwZBmao29bLJ4WYM4bAqrAI/wlycQJbNYxxcUk2CGs4gKobnWfzUvhnr4lJTF+WhhVbE X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ec0f1c8-92b6-4b94-69cb-08dbffa6365c X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2023 08:49:14.8569 (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: 6WESg6SG8OEzbocl1GA8u1TegOK1TE0lvOyEYuWf9SGypbqALyZbqxU/d2DBL9Pubci6Ik6YYqDc4MO51WvCdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9803 The i.MX93 needs a wakup clock to work properly. This will add compatible and restriction for i.MX93 platform. Signed-off-by: Xu Yang --- Changes in v2: - no changes --- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index b7e664f7395b..4e22b369e43f 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -57,6 +57,7 @@ properties: - enum: - fsl,imx8mm-usb - fsl,imx8mn-usb + - fsl,imx93-usb - const: fsl,imx7d-usb - const: fsl,imx27-usb - items: @@ -411,6 +412,17 @@ allOf: external-vbus-divider: false samsung,picophy-pre-emp-curr-control: false samsung,picophy-dc-vol-level-adjust: false + - if: + properties: + compatible: + contains: + const: fsl,imx93-usb + then: + properties: + clock-names: + items: + - const: usb_ctrl_root_clk + - const: usb_wakeup_clk unevaluatedProperties: false From patchwork Mon Dec 18 08:54:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 755879 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2048.outbound.protection.outlook.com [40.107.105.48]) (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 8AAAE1118B; Mon, 18 Dec 2023 08:49:26 +0000 (UTC) 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="s0N8ddIr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yv0XIdZZ9E7efNGeU1S1gvr6DBIngyEOnOR8KzdmxHNWpyvgjg7kSUkmOrXejX4q+LPgdmNOZhFTl6txoko2D8FKiVt21Cp7UPx6idXWmQ6Jn2+6pf9nXPu0Z4A1mYQy6mL8wQ7rySgTcmLqkMU8rTiiETnECN7hQEAnsyytMRIlczg4JJN15bmYMS+JdUtxf9iSTcBpUQjxrcqzYNh0m3p5uQjQQqPCPWkVLbQR05D6a6C8ipL57wNlYG2ucGgq0NItKPr9q9lmYLSvf1nGhFqIjQFgwZwXVGWwA9Ny2az1CG5c1ZIQ0SYM1gSvnvHBoaiAZTj2QAAuIcboph/0FA== 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=HiBePQfElWtMmiU6rcmDdrc0VjXl6pR1IFiJB5RCGcU=; b=cwUPuEmCfXDqPGGJ8m8UzOus79k4OxHRHoZVfFf6E651jqvcXIhVdU13Ai0jWwsdTm8AgZCHrMD51mUeh0nOa3Grwgm1gPgwp0BS2KIsIsaDDoVW2ujnG9oJKVq/aScSEHTF4qVvmAWML7sq1eU+eG5jSR9uyao0/ePkpudYHqxV0t/K5hInqm5R+JunXVgZLBEHXc/qE4X7X4ixQ7N9CgDV9nM7TXouZAYybJtF0Ig8ZrQqaR7Tb8AvYtkPX3cy/s6umk9LsL+P/m4NikPjMog5MdjLsmBoN701uBwxprtHJFr3ShG7UJSALEY9RLJZqxLDzlgLYg+lb2qLJOD6sQ== 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=HiBePQfElWtMmiU6rcmDdrc0VjXl6pR1IFiJB5RCGcU=; b=s0N8ddIr9odS4KajfxvcLHJR6imsl9V17uFG2ycjJX+0KAF3TkOJwGRJOypSnG1ZrlN5Oo3JYyYMVLoIUDZlndSKceUNNg057GGszgM6ojREIbDYf71YzTFuSGjsRMxHqtfNQacVg/fxf4v/lYOh+y9/Btr170UWEPogQVnDJww= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) by GVXPR04MB9803.eurprd04.prod.outlook.com (2603:10a6:150:111::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.37; Mon, 18 Dec 2023 08:49:23 +0000 Received: from DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30]) by DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30%7]) with mapi id 15.20.7091.034; Mon, 18 Dec 2023 08:49:23 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Mon, 18 Dec 2023 16:54:56 +0800 Message-Id: <20231218085456.3962720-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218085456.3962720-1-xu.yang_2@nxp.com> References: <20231218085456.3962720-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR01CA0189.apcprd01.prod.exchangelabs.com (2603:1096:4:189::15) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|GVXPR04MB9803:EE_ X-MS-Office365-Filtering-Correlation-Id: 454d1b41-bd87-401c-40da-08dbffa63b66 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 603TQZKcuF/0HoBFT9hYHLL67I//aH8bqkFRGP20YKEr+2ZPS0Y1S9S6H4Nzq+pvIJjYNhQIXaET+hgZfJOPSWpi3JZ/C35lZuyJOZwGDNcMYtvijKkL25mZ5BiIbDXem0FN36CppqBnAD8vkxs5i953544XpJOj8khFJZezRDNOX37AzRCewIRn5AsR02emOKHEyR9vGhYqkTGi4Iyh69EqJYspLjJCk6B4+iJ+5HltPxvIvQiE6m4DLIucheyMMbXhzpOpa+3cPxEae8dnnIZ8syY+/lJUNFIREVC6fsaQBCtbz/KWt3Il86wNEDBeUCFgxjUiredG82i8PoMPJtWh68BiJB2M3e/IfdheHM3+y82xXi9kpd99Aoze9Rv+zVFObAwS6Cix2kyPm1Rv6Xa743uI5KgD9n/+g0ufS0tiorQE2jf8tC2eFStY2QvcwDV1kET8X/EA4RefLqO3UHVqaAUbP073G7qq32tvyD7gGOXNBZuSFfFrYRP4X1Hhz7+ELc7TiI+toolLgt/hvbJsITDWUrf1VtcWB/I3joG9yYCHXQOVczmZta6LrxM4cw3fqSdcrdDap0fVraaCMtWYTgKag88mxASijNs9SB+711JKYZg3b2wxwO6w+gKAZJ5U+9RJ+WaRnTVjjscnZ3NgIjuAaxSQelPprxguFk/1l9t2o6opATPWo8hf6QZi X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR04MB5146.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(39860400002)(346002)(366004)(136003)(396003)(230173577357003)(230922051799003)(230273577357003)(1800799012)(186009)(451199024)(64100799003)(6486002)(6666004)(8936002)(8676002)(4326008)(1076003)(26005)(2616005)(478600001)(86362001)(83380400001)(6512007)(52116002)(66476007)(316002)(66556008)(66946007)(5660300002)(6506007)(38100700002)(7416002)(36756003)(38350700005)(41300700001)(2906002)(473944003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: htDPQosi4CRb+scJZAiaeR/kX14grlK6qStPXgkmCEv5Zl4FiH+3jHCyGSfVN/k3jFCiet4SjU1RUWe+gUV8KrwxK3gZAAKibjoJKo4rzs1R541Hh14Tnj/46CxpI9ScGqdNoPWlyAfnnZyVAH1bmNWnOUBWVZR/B6w+XrXd6Xfaz2XZLKkqB9NZlltWlcN0rO6eWmk++IAr8quL7CQlzUFhlrpNvE15fjltRA+fjAkgofb9zQqOwzGzyUkOqmhpShQW5AtwHN7yCq/7xXEsaVWbfFaAdUKCe5PrEhsow/+p9phkimtjG88mrfPcYen9CU9nVn+v7d5ezaeWMICkTELwTLSaDEzHjWxUcmFupDlBHjpJJSBnCx/bMQBAtVgggR5T0v9ZzKU/0nafVXpkYbYXfFJd3HpjVJMpFJZyRIVPkRwv61dTHkS1QMnk8p7Q7t4FzTNSmUKMhQeqKbsd2IFYZdzglFmvJqHKlZbZFMx9zHlH0zOvvXIWp5AFxBclfUNb9zrBxbYqEzx2z28gAqmETXEMxuBxdWVdh0dC3Y/w16d8tlVt3URZ9VgDIpOcHHcQxvl7D1BzbsiueqQjlctvyjr2Qs7YHcqbgpSv9MugFcNdIiFQxOYNK1Xc0PoRVfvEvw529FzNoCQRYe3ORslT8aCiWLWsFJ/GgTLMtmiFQMtxuAImJyWgmmiYRevXu90SFPW+NNoOBSh+ALBv4h+iynpm0PkZUq0qPDHLCLVrPjWpuoNNBIN3Nfec38vmf8jBcHgb6D9GXnwMNJNhcd6kWjUux+8xy0VaeOvRQVHx6QJ6jOCba273H7zc6wrZpPyLW7FxCaYKzizGvqwPpYwovr6+221Kf24tYYr4uljp0oursEOeBG1c5/u+sEpVXKsEQp8VDSLhchJphS5difyHa6HdMa1k+cxEVagBUVmZPEfs0an4awy2TlKr3CPjD+b2M/+rj4LSHUB/bmqjHjQ4ubFJ5GiFyKHQFI3OvDbvIYZgdUVx4ardEZ4gG//7JiX4gCUHcEvCAuzzDkWWnrCagKy/lcGWXCPix9E5JcQ73TrQpDdLTO5PSr0svmyQtXmLBGvJl3DKqc5Rcmh+dOoUkjXzmUitDmLhKHA2AQH4Xu65A+PniCb3BHtFlmVkZ+qR2igzJk++0gNUXmRsCQvi3ZJLsoYL2hqw/r/W5BXGoQzC7ajdaLian9SyLltLSi32DyxmMXQqb4ozqz2zhPSJVQdxw+m+r75XPgBppNNmQ5Vc0X2R/EvGyz87Jgn2YQoMj0cNSL0IjWwXlwsp+laoiLkXN1UnhtTOfLqGwaTo7cZmP2luhGio2fsGICSB+TVQQ6OfoGnhWp//nFcHO6WJ1ZWUXqeGEjkkeQ75o6GUXHQrIzT2+RR5MIqoT+1Ug2wTUEWlcb750cJL7VDw9jBMIpkOWKv5eothrnGqDAOhnz3lc1tU5VettlSladax1GWrscsxHXFWXX3u4M/RUwxVfTKAAa4Vdrl9LyeU1J9jeZSYrooEKBzyQOwoEwnfCkn/YcOREV4BGUEtpVNzoznafTMoaoY38EIV//nzMPxFkqMzTuXJOyqr+6/w1EYL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 454d1b41-bd87-401c-40da-08dbffa63b66 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2023 08:49:23.1137 (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: kg67pxiHSZlEDszwnr72qTVqSDqa4RLzjM6Eyu3zhjsjZXh4MPHorg/qwYBQmZ0I0HQBiwuG1O6E4m6Zu9WMjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9803 There are 2 Type-C ports and 2 USB controllers on i.MX93. Enable them. Signed-off-by: Xu Yang --- Changes in v2: - remove status property in ptn5110 nodes - fix dt-schema warnings --- .../boot/dts/freescale/imx93-11x11-evk.dts | 118 ++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 2b9d47716f75..87c7cfacdc7b 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include "imx93.dtsi" / { @@ -103,6 +104,80 @@ &mu2 { status = "okay"; }; +&lpi2c3 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <400000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_lpi2c3>; + pinctrl-1 = <&pinctrl_lpi2c3>; + status = "okay"; + + ptn5110: tcpc@50 { + compatible = "nxp,ptn5110"; + reg = <0x50>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + + typec1_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <15000000>; + self-powered; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; + }; + }; + }; + }; + + ptn5110_2: tcpc@51 { + compatible = "nxp,ptn5110"; + reg = <0x51>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + + typec2_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <15000000>; + self-powered; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec2_dr_sw: endpoint { + remote-endpoint = <&usb2_drd_sw>; + }; + }; + }; + }; + }; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; @@ -155,6 +230,42 @@ &lpuart5 { status = "okay"; }; +&usbotg1 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb1_drd_sw: endpoint { + remote-endpoint = <&typec1_dr_sw>; + }; + }; +}; + +&usbotg2 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb2_drd_sw: endpoint { + remote-endpoint = <&typec2_dr_sw>; + }; + }; +}; + &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -221,6 +332,13 @@ MX93_PAD_ENET2_TX_CTL__ENET1_RGMII_TX_CTL 0x57e >; }; + pinctrl_lpi2c3: lpi2c3grp { + fsl,pins = < + MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x40000b9e + MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e