From patchwork Fri Jan 12 11:17:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 762279 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2040.outbound.protection.outlook.com [40.107.249.40]) (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 E2BBB63510; Fri, 12 Jan 2024 11:11:44 +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="YGKJMCKH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SSSCczhWA4lfKVyOSuqkO8FTGiz6+ekyWvDIuS5VczZ++wq68I7qx1gAB2LRYPaV1LPULzVfokBMPp6JmVEqjL4OqphHOCZMM4kTslb+MZb/G+6j2NhwTa6KnHw8BD5S3VJaEsscEaAKP+0ab61Yh8ZK6INULN70hizoibSIwbTNi4IZgjECl1EuvVB8n7dB8z5SmzTDlmgQOShQUnWkyygPVX6/CxDNd5xsNJyCZICbxKsMHtGkdSX5/1VjmVnX8YibxESVCOtmyhzi/wiS1pL0npe5WZCRlLaWKKsY1SLzASdu0x5nGM0vRp/Gyk0sNmdrq2L/O7Yp00ZjpAsgdQ== 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=r2zAZscEYnXvr7Mi6vnBJI88z9aWRyRDBhOwV892VVU=; b=UiK7P7fkVVFbyjE2DHySiaFcrlEzT/JGSvA0WLbRMpesVH7WBjLdqUdaDp7Fppb1b8/0lT+8xyxrVvS3P2qR98zXhUFWmUS280j+hZ5DVZ6VkQTbFjAD4qf/8D0ba0b1zlriaLgh4AeiFcRBDLbXRNVvTvIvxaxJWgInmW7I3ge3aOJucjOxkNlurYw6RiHtDWCDUzlkuIYurLsqtXm9jL/40RcsSv09icONBqXFN3y1jbtn4PHOK7b7UskgcptNv3OieruOxCYtAcSelBhWM78hlIHRnK4uu+LQp77its+UmiUUG7R03pvlLJL06y2wHSq/BkcI6AjKZirqlfmHdQ== 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=r2zAZscEYnXvr7Mi6vnBJI88z9aWRyRDBhOwV892VVU=; b=YGKJMCKHmMY3WhA+YBgRGospLA3f6lOVJenRKPtfmjwUh5WOEWtow8uzZRVshh1Jt4fFEMdBL1kQQdiytuxKY/SVKqGi/ww/VF20iX26Rs23v1LZxIAxAbiDhoqnnvTv+RV+Mk1wsUKbfATUJoDX7t9gj2ZLWruTI/xtEzkvikg= 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 PR3PR04MB7227.eurprd04.prod.outlook.com (2603:10a6:102:82::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 11:11:41 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a%4]) with mapi id 15.20.7181.019; Fri, 12 Jan 2024 11:11:41 +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 v3 2/6] arm64: dts: imx8ulp: add usb nodes Date: Fri, 12 Jan 2024 19:17:43 +0800 Message-Id: <20240112111747.1250915-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240112111747.1250915-1-xu.yang_2@nxp.com> References: <20240112111747.1250915-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PR3PR04MB7227:EE_ X-MS-Office365-Filtering-Correlation-Id: 13f1f47c-fb2e-4ce9-692f-08dc135f411b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FingOQdfcazoXdpDdOE0qs7fuwaB7btCX/wEYcGyyG0tmJWKVcwG0QZm0BMOUJBs3TKDKyXsvFjYqKkLzsJ9qfhk3dPiGSeeyQ/rVEizO00MKWR1kJbnF8TDylnk4Wz8mGniaV7UU+H6wEKyUmbmFugLNnNFHcksUq/+Weinsmd1FLnjUMJF67Y81F/ZyH+mtg7CJyfO0pICQkdIfiQLbvTMRc07oQpZQX/SVeZwLpvO9OOUO1isRCfGjMAAo4j3DUB8XT9VKrO58iQeK4IEvTb5eIvvAHiwjdXsJ8mSYrClyesWE/+6u+SIX+S9a9w0KkhKdeiARq4tIoVMIxgMjQPDZ6atW3aUfF1Q9NWr0jWTIAAQEecEDJzOxDLXFCvIjW6/67iuwvZs9ESTtHYgocBfM0ahqY1WZHgNwsG1GYT2R4cnq151/pB8KsDZIVnLa3W/IaahZO2hKMUAy5DIK/4IgvSe15EB6C0nwlvGzGr2CYcBN0ImWPW/gVmGnk/5Iu2Dhu6Q3furYgwNMeJ/R9ldqSopzdkkLG89IyaRaFl/myW9bPfebHEhHDD/ZIwKOh45D8ETzfo0TFFkj7hWL+NsweFYLMSq6f17e0SwdJYVMkg38PK8faM6eTc7A6wSriXB40+CllBlJarRlAUCgA== 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)(396003)(346002)(376002)(136003)(39860400002)(366004)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(38100700002)(6506007)(66946007)(478600001)(66476007)(316002)(66556008)(83380400001)(86362001)(8936002)(4326008)(8676002)(52116002)(6486002)(2616005)(5660300002)(6512007)(7416002)(2906002)(1076003)(36756003)(41300700001)(26005)(38350700005)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: njnsLPNV+y3+0UG1uqqGMxKZxND5ISR/NXG0YQqmQtb3kq/xyQPTjaLKlvMW2A39RV8SCBy+J2e9o6BVoxng5d7mXad4v/4yxwBw406x1M1FACXQ7Gq7Mll+v2lK5qO/q2yndu62BXhU+OFakRoZTVQCYKj5uPwD/7dyF5frIGDjRhD+ROz0YBIOEEvrDkiOrRi0NWrosNYvZTKlzTn348GeLb9SRPrP/SpBurTHtmpYXyHK4daCNmEnQHv6P3meRLVbHSleIoVxyWs+8qd2qP/8m5rJTK9/z9uyC/eC4DrS1lPeaA2a3FiHVhrYWZy/+614+I9n5gKp0EUsoXBrEd902ROFyw63asny/s4mICjr+LWx7/njVt/vcAvKsZefVwbaMVeESxb2r7F5KqMsHCubpzSuSK6J67q8XzexS/kRiR786LbM3U9cWEdcIqIKsJUXP8Rf6k5oerb25zNVufdC95PcMtOMdxW59GS5yeqxO+tKnm5+lzuMh4E1bquvZE+BmcF0Q7wx/PlTPrsy12SoW4LFjgwSl83UxRuH5/T9f8cEtnfPOfbwth8tkC5jlCNQ/8vnup0t2RXGJTZrEIkJgw/c5m4xMlSsvN4e2X1PlC2A02QEByceR+EJY5skYiczpDalhKIs3yBXdr+w/+eKDSPmkV2CZvgUvSEVi+QVcL1NAgCpiwh3GIf8bsQ6CF3Uix6mLHiVXBDHf9BbHVfh6wi6l75jw8QAVyN19QCPJy1BJE3F1EnWtTBKloeBtHDTdI8C+MODVbyIXMxhYLdyBiJ4L6kLx7q/CF9+TYwMFB4rO6fkGINrHbPJUQxjgYcamzt+ZpYYNajUQJkP0aTqmfyVTRYUXkDNocnRZhs7skHU+EBHBhHNT3VCc5wzjo7WqNkaab4jXDJfYyWTpVcMK7+zOsFNlj5BngaMy+L2icP/zDDr3ORprw3GJQVQCk0zhRE6vCzluZ9KLAXDsq4tit0dXbDaf1gMVYItzjf6nOoSInr2YFO+Kaz7JgDlF7yizh6+GTfX0Yaa0+9pA2+g+KCGnqwAtp//AqCTzqiJB7Ob6W6B+RcEOn1WRmr640GnEtb+pmF7310/uHmxfs8hfikkIP1uUjVbSu/pxHKXQog6poq28O8OFPw3hB1x1lD5CAm6BbASapaxZ0WL4xgNyHflEtf4CVlqB6BKTBKa1Sr6+EjVXizB2NTn3hHeJE5ld/SqhnULtBHkr7s1vu2pP8t6cmMfREpdSF6jULw2RMiOhJNUVUPpJqYmnnJdsxqJtETm9+cUqnbgoWEhuWIV0gim0Fh0bPuy4HUT4lGRgpbYyglZnuxubo6hfDqfOJ1LDEvc8esn6bLiT/R6SDIDsAUGCUvaYmGqb8XvKAEmK3w6l80nIIM0iBfnCPK9+hc+b0X2iuwnUNKmr2sB4hcVQWmn7GvZCgFypVnszhuc2ZMpPYiPC3WhwN7+7ZKRdv6QS8glCEmd5K2Ysgs5uwq9ZxuyiSuU0/rSqXArb1LxTUstKvcK8ciflyIqCNYYeFFtch9qPg5TYsBOLEXCHOEORiHQHuLwUYegK2ws3RCBOp0grLXN2k2Fjpm/hQ5h X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 13f1f47c-fb2e-4ce9-692f-08dc135f411b X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 11:11:41.6993 (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: vwm220jCOVP9R0k4HY1ArkhoZSAqu91kP7Llt0BYx4w/VF5n5XNcMbKzf++vFlqUwZvheuU1EAVa5db0+ByJfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7227 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 --- 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 Fri Jan 12 11:17:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 762278 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2086.outbound.protection.outlook.com [40.107.22.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 2FACB65190; Fri, 12 Jan 2024 11:11:53 +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="hyZFht2y" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jsPHbAgw1n8MMP7J8PWLlNT877I7lMAMHphjWz0SDtQ0IZl3VUKC7oGsX03Q7IjOOv5n4r9YbEDqoqdN3GUIJwGJZpPhotJkUFP1RqZltdWSJRDzouJGnSLjid77rtvwd9JYRfxsAiiaFReXaJcAcF66S2oQhvZYlFZji01PL48cTVyIwui4DgTxk+Dx7cXQBueb3iT0Vi/0cdn14VcR0YngISxGnS87jOxIDrudWwBld8IbZIbzM59LwTdXnQl0YpqEXfLyGAMU/w9LYm2QKYHQ+y46racNpGJacCwGBZZDCjxnH8lwRGMY0MVxIaUFl83EXIObhQiCtTm1WG0Wzw== 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=v0KH+Bxs60hhO/WNpRN56CPb61/plNwM7HwzIXrqbCA=; b=PeLR5A8y1uYhOPWUK497G2O+J167noEmrhXXWqaWnEScMn5cl2c3hB5zHAkiWE9HOMYzON3q1LFK1gdo+1ZNO5h9L4VmO82vf762AVgIQ1wmWKqURw9hy8FZeKBINCIXW7pkesIxq0n6l7ChbY82t1iVlu52ZWfvhgTmlCQRG65YREUMp8yIAJ8EeQtWLOyQ7lU7vU+6HMrZZPxFum2W5mGpoRWACHkZTeSLoSND8uuuHEi7K9rLkmLkg72zHOShr7wRB8AjVueby38tWvorgoEPwrtDwpgbdghvqiBtauR0vRjxIMDCddqgvo/kQsQ5R1z4KpyF2bhqCJDQ/JZHaQ== 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=v0KH+Bxs60hhO/WNpRN56CPb61/plNwM7HwzIXrqbCA=; b=hyZFht2yYtHd88LW8z3TZJrAMbYqIDH8k8Bln1QMgPc5EeQckv2uzzHrWmDGnMrmbisMBbs66QvNTt1JGT/P0zeDBgeJP3MCCBYeLyXfLl0QkTQofto4FXrPrJ/1O3v3Go5vgoTo11z0wwW64mUDWCRUzofGnZNvnrqAwrBOrgk= 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 DB9PR04MB10010.eurprd04.prod.outlook.com (2603:10a6:10:4ee::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 11:11:50 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a%4]) with mapi id 15.20.7181.019; Fri, 12 Jan 2024 11:11:50 +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 v3 4/6] dt-bindings: usb: ci-hdrc-usb2: add compatible and clock-names restriction for imx93 Date: Fri, 12 Jan 2024 19:17:45 +0800 Message-Id: <20240112111747.1250915-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240112111747.1250915-1-xu.yang_2@nxp.com> References: <20240112111747.1250915-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB10010:EE_ X-MS-Office365-Filtering-Correlation-Id: f9ba9eb6-3d73-43ff-20b6-08dc135f463d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YLjCMI1+Zk1AZYAur42FAoACpT1CP479iFrTzPGUN6Qbihpf7k5UaisBktC/Gg6GVN9yIwDGD3mimWxaayhnv8POcyrB1DYLp5qMmbiAwysLRiMZYd3ZYjilyrKkgE8SqkIREawMMf3MeZP6BLgSgqUPEecYYxTMXFHnown6KZYVJeKfpc3OOX2JIPc4lpTUGCuL7Mqt8B4h+tp/0NZbpTZuQXfAepxk8QwzuT4xXqEEzJIZXK6IrjHNVX7osOWPHqwnx7UfqwqNIpgdaTY54ddOMzApJnXXyWu3JNsEPZsAdeju6TB8HdYXrhQUWnUknsE02jB4N3fhwlONesGpm8rb7h9KASdSbVkLatQAx7mu8q2OyI1TUVD1xBQm3KsK9CZ6r/E01EJ4TtQyJxLG34cDaXAVx00KLtcichYaJqHIeccuNTiiuRnc3Rqa5sET7fE6ex0Lk+zJzF4GT3SiVnrq2RBlaSPHAwFpixSGJIzRhyTBuIyTvYgI4GlFjgYcXAvE7xjiTby07IP/SHclAn7bDTgHMjs5ZcYid1s943RFcNl2I2Si5CW2w9OiR8RadwrLoDXsH5q3ImCd5ti7ymDzzWxur5/IxjPUghT6SWN2E/cR+tZHAHwkLJfmdP0e 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)(39860400002)(136003)(346002)(376002)(366004)(396003)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(38350700005)(83380400001)(26005)(478600001)(6512007)(1076003)(6666004)(5660300002)(8676002)(316002)(52116002)(6486002)(8936002)(66476007)(66946007)(66556008)(2616005)(7416002)(6506007)(2906002)(38100700002)(4326008)(86362001)(41300700001)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: P/1Dw99hFrVyxsjOIoBSYDkYdwkhQim3IDr7v8nPOFsFo6bgvJ1avx56bon6qUMM0DVnLUPMUEajRN1Rtm/U/XQuucM/h4Rvw1iOqiHYjojyovY257fICQOwKMISieYYhXdDzb5ebcxiBP2XLfpNqmdoLWcd1Z294i7Dxqej9ZiWvZ7c/rGoLBB+ik9gzZaFHv1z2FVSd0I9prdX+jr8mx4LGiIhL/0Y3DY6pwZdDjuibz+xjfWLgrk6DfBVXVa0NpKBlmS2IeCGLPQ2QwHN8Npd24yGNeE04u7kQdlhj/z1qTLDp0iHsOaA3RTg+j6UB3e3KrRUHEpx+6wgu4ifESJvTlIDpbojVnZmILjuUwm/kH74EQpvG2R5OJSS9G/LiL2SNUYZf7A6OAyoqhtRRGJiog9CNM4peDSMcrO/7pOTkjThq72BxfYPLIW9LxWJ+XqPEghnFgrgclCs7hFFe1bR9NtqNr9F7JFiQcMXGU9f9D1Ek1ZuZtXy2kjZAAZgT8i6dW/Z+Ea5TC50wVbr0qs8dOODw1AxM/jpCDAREv6qcn3CTNPvwRg5P9tUv+gao7Km5pxiqijDJ5T34tL/PsPbvCJsig/Sr0NUysO61/j2w/YUEccqPaHeXgn9nVr4zSVl66I0UtszZjfwbQ/Kfw9jXjo35ss1fvuPx7DxkWdypTtvHl89QwNSiNCCSUTmZ/yFmO3jRaD1XZbMn5CxBlN7Eqvh5j10KTcRCbIi8BGExaqvR7lxcP2za1uqZxiH/iG6R8EVfFR55iTGWkDA/i7XugGeYEgIy96bTA4DbhWHKm/l/+tJwgGiuDmOTFrd2Ht28l5g71T3khK9yg8bhosaWWOTYhUl1GKV4yXm7LkvyJXO3Z2mtpTXPEiZgqpcCu7ZKCpahu1RAlMuyxtopbNWHjAgHIn2fD2yfjttOhoI5a7cIkxPPzww2Vulmsy7EnUBGOLkhD3qAaeWs70Vm/oM62GIvIS/Pax2mfYmvkUqJoGd5jQOumOmiBkQSGAMGQQX5DMoB9SJ/gbw2oCS5N4PiQHx4BKOnIP3Y+/t2Q0IFZsHcY9QB3udiLk+vv048MAtz/lBryFy/Gf06iIoI4KPm1aH4eYLrxbGcrF59ZlF0MnDhnelrPWtO1Vc3YV+ILVoF9GyYzYAUEl9/9g1+F81RD0C7hnv24xqj0pyEpBVLYGIMr5tGIBE1oqn/yekpu/Ai8c+N14LguoksdTeu02h1z4W/OuJjv/2mgGUZbm///7UceZ2OHCAuBCcpkTmGbyMQ56cXauNVWBaiuHX0ofEl4OelEEkPRa+oNC4j6hLqv3bVUoU0kxdgLe8X2ZImVEG8vV3MiA0RrP8r929JddOrFVU7fdkOKfPXrtTPGiabR6xH/54qDE84OfbkbKP8AxACDvfMgh3i4OQ5w2TRDbJHjKXmgGl3FehLiGMHi5cOunPMXr8XNw4tYoSxa2jZgj27ktLF6uc0pt7cDCivFjpWql8dIDmLjPG75OWg8PEw3qvowdL9mKP8VLMlw5usjvIL9Dd29unrDkIlskuhgiOwwbFuSiZIhiD6LaroNd2bx2nODJpzcas6Nf9sbpX X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9ba9eb6-3d73-43ff-20b6-08dc135f463d X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 11:11:50.3339 (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: MrUbiPKKjfyLL2H0ACTjgaLxrl5g0HF3vbdkY6HUcWiCFOVc1GsacMABZi3G9SabyLitiLp2Pwdu5ToRI+xrxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB10010 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 Acked-by: Alexander Stein --- Changes in v2: - no changes Changes in v3: - add clocks restriction --- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index b7e664f7395b..6e75099b6394 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: @@ -412,6 +413,21 @@ allOf: 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 + clocks: + minItems: 2 + maxItems: 2 + unevaluatedProperties: false examples: From patchwork Fri Jan 12 11:17:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 762277 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2074.outbound.protection.outlook.com [40.107.22.74]) (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 DBF2A67E66; Fri, 12 Jan 2024 11:12:01 +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="Nub/A/9h" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+THVR6WXiJMaP/UbBL3u0NVwZDx6xwmMuL6CebRLxOVutUT9RxjNpi9hdU1hwfTP1/+dPKVF+RbDu0jQb/pnCjNT1OvZDyItCCgGdiW35nqeWhc1RafPSuDEasb/RKC7mCeEVLAvmlFlurvmejhCJYP4l343CeHX7WrX3Cjzo63dNmkJoDatpmDH9LKVQL8Rgm3LORj98ilEP9deN8X1z+F5Hl2UrHGKRb8N3FKL+bQfFtUShRJ/YU9RB1U2ymW7zBRzr/Fsm+J63/9D+fZyRoYtNQp5cQtgXi9cTElAV3/xy+6Ql9DZ/k60BiKMgRM9gl34OJjIFOWPIIlIEIdnw== 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=8uos3BzBLBUtdmlkPucXiZvMvZ1Ekko7DwnJ0IgHzv4=; b=ReOwJACNjJrZwiOJHf5w4921Q7ihqXmT46/3Vw/5u1aDM0FwO2g6V83lmVwHLLW0ZdrikM5RYwl+Yx0bBs74Lme7i6/r0Ge/dl05BhTlIyOpRzCY9/0/vkU4ExPwB0jtu8J0pbNJ6uLE4JE+884EWJ6jjmizO9KFh8WWHD2ovrX4sacYiPilF+qe3ozAj3jOfY5WDutKmeKNfV7WhuI/+WEAilXKojU44itMSBo9u9sXXh12a4lc5TMuIjRPngaMoJn8E4HXpDi6YLoMLXco2160qGgDE7GhpYvMi5z1Ujs93/yf/t1e1g/RXAWRkvD1kCZNnQf4+1MZ+ZMAN/M+vQ== 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=8uos3BzBLBUtdmlkPucXiZvMvZ1Ekko7DwnJ0IgHzv4=; b=Nub/A/9hXCoSyiGeQolLr8O4tXMGMgq/+IKkws9rJJUJBzt/CFuZXqXqtlqLIx4tFQqh4wVFa9f+/EUog1NSvV07NdqRxHuzc5vd9/FF5jJtgpV9UVmTaJ2XzTSzzNqpoLeoUqbVp+sun1LqHiTL27YeXa4DwGxGjlkOih1489A= 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 DB9PR04MB10010.eurprd04.prod.outlook.com (2603:10a6:10:4ee::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 11:11:58 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a%4]) with mapi id 15.20.7181.019; Fri, 12 Jan 2024 11:11:58 +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 v3 6/6] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Fri, 12 Jan 2024 19:17:47 +0800 Message-Id: <20240112111747.1250915-6-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240112111747.1250915-1-xu.yang_2@nxp.com> References: <20240112111747.1250915-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB10010:EE_ X-MS-Office365-Filtering-Correlation-Id: 5641fe93-7e3a-45fe-61a8-08dc135f4b68 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rHACFMdQN91+faeP8gGXjMyodMmkNIPhaP8tiUkN731yDTm+EiYuv92yhp4PX2Zdhg5xchEMlB5pzr8lrQwGxmkegfLPioZTBUxOI4k2vxGHn3YPErH6lzpMyR2vhJVdqJuHO4m0tzGwnI+68Z5ND2uVdD6gHPQ5wDd2CGIfFUrfRjxQLRKZLvLzNA40+H6M25imPqxGqjM8+8cILhY4T5dniuxqaRYoALOtk8eUHS4MWnq14iM0M5o4sznZQOgvKXJu56V4RfxGFop+5FA6VeIcFt/PtkDIEEwZI5HcIDGlR1yDTuxb5vmInFj0LI+Qy/wroG9sGoQyThz00swch5ZOXDOp5o6tY5rFwBeTGVQ3T0zljALMpqwdZ/+AZ2kXRmL344HL4k+SBUNj+6OsrwtsCAwVU+fZoyE1Ypn4XT+Aj6YV8HbdBCCBMe6uKH7KpjevRWmjyBkNVNHyzChT0kxKiCl8Ec6zlm6ugzbwhUssQtD9cvtiodobgwc0Z455zV7HgtUNOoWIpzOFVKETli8uB/FZBwFSbKY4+Tv30arrJ6OIeLNH3Qt1o5Rvc7oTv484ZKw+4ZZa0Si8XT03SxaXmkCGo+vb1VZI9HfBYc8RcGPUv+UIXmhvBVp2pIEQxJG7A1EswBj/epLf13ZkQ7AfvRlKBW9vZ09Q9pWt2YI= 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)(39860400002)(136003)(346002)(376002)(366004)(396003)(230273577357003)(230922051799003)(230173577357003)(186009)(64100799003)(1800799012)(451199024)(38350700005)(83380400001)(26005)(478600001)(6512007)(1076003)(6666004)(5660300002)(8676002)(316002)(52116002)(6486002)(8936002)(66476007)(66946007)(66556008)(2616005)(7416002)(6506007)(2906002)(38100700002)(4326008)(86362001)(41300700001)(36756003)(473944003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: S+ZjRfB2EABN6YtVvLKeh4GWQ7zej2y1CbKTwLBjgq6H0JyqfU05FqsFdVSm5XufpDbUCvPA930TootDfeMVsTsowxDEYPc6eB7PVkj2jn/JySKX6E2KztLfjUtGsk9sMMYLNjGXovkwdnu+5Dia/9G3skbdOv7MPNg7tR71S1B3OcEZFE7LMfAxPnW8cz3pdFuuad6hvhO6g9zJFyRUX5KnV1nm7nU/aJ5ADtAY+q/r/NXQUsOYKX8hi/QnhRmUm/BwLykOXOVE2j7fGd/CmcSMtLtrRWHUliBW9HUH6U4/NEKplNmhYmGBBMnIROgmnz0mHY/900SdhfGLPdEp30dX+3XmCtVJ6Sc+Sk3mMqLrbPGZ9ptFsYK4lUC3zHXVlBIAsVQLR52bySVcqV6G+d1C8NZ8ZjOBRG7EXYyVNuQY9DPRC8QmPHdyJWlpoNrCjvi/UOXoh90AJTYBzbgcNZ2H2/RNly9ntSzAkgaOC1Hlgn9QtkUeja1XcwPD/YwlkhttDNa6/aAbWTFHhhGz4keqdDIVMwbCyMJU09xMVwswdY2nkRyr/Wr9Olp30RFVItAXxpVz+fXurJ/iJwdedH+AbyIwRybrB7DLUYHkOsqW8D3m2ws/Gc8Ec75vaaKLRIxSV8NlQ6BiHSkdm/GPOTyfM4hTbjcB+5Tzdu4jt0t9Sg0MZH4mMr29QNh96s3T0agHc8H8SaZ1uL+0ED/nxuD3Z/6T5++EV7il5+TszHbnoliu+iNCLgA9BhoMKq5d1qwqApxMtfaYkAkhI4SUWKuRkkqhXwf8JE9jfC4Z7geLXC/JHE430tAIoY56Pzh7DQWjlofi++D06obAipklvEGVKE3n6VQ0Y/UP2Utvm7GnQDE/7rREh5nZU7RDQR+EyYItttxF8Hc8yyFjDIPVcjLvhrF1Kdyusd39L4USwt71mlu/bSo8t0YsZt83cwEKi7m16E8M3kMCiDxorYNR08N845VAT258DIvmqnX5rAs/nXxEeRC7fWypVOLwcTYK+1Ofsawxn5jewGoRZPRvVO5xrMy0v31HArMmUi+9FpdhFztVmckUrtIhBNJah4I3PqNp2MdicxO7dMmZ+nxOCaKcmscKrTVoXt+Wd1Ok72M5psE0kkvBlN8197F0MkFBy+fRv1mbvEhEwPgE7PSexcx1S5hvbYhlNt5w2WAuddrNIQ0kXwZ/LW0KhD8cAMBflwH6+mcbjWgpl2Parud4cwOU4wqxJFRjOPSTUfZkc3Z+DabWB94LjwJCYOLb6iA+7SiMvcj4KKnoMZdYnpfHT1Izi+xYJSL0eRVNdKalTmyt9QOyQIk4jMAFOjT7Lhjl7ZKyfrD5WrxMKZtLYU3rqjNHm4lzFUp7NUyFxylIant5oIb/pMPMdFpsy2WLnjsLUH4keRoE/iv6kzO/ymQvB58AEi0Kr1MuKyp3dFRCRw+IPaTZHK4a+7+TJKpD8pX50hzBPnYZBH7qCOtrGNLgvhBLBC9dQFgHfwzJGWE0gjRuYJSmZ7eiYivadZ/ji4T7md2fhaGsdumFMkaCVfGc3vXPbbe1mEfKe6gJ/it3qkcAJwrlVrd3V6RxsU31osTU X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5641fe93-7e3a-45fe-61a8-08dc135f4b68 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 11:11:58.8879 (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: g9zr1nUgIzBjFZCE66My875cb+8fvzoAz/aj4y1a5K1Vih1scwQY+VghLGv9sQ4Vl7rnaIHvBosF7KjUoiqaEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB10010 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 Changes in v3: - no changes --- .../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