Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp97950lqz; Fri, 29 Mar 2024 09:39:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvBbT5WRLZPsi63lGmNMSz/e9KatdqDviAXmRlVt5mhzL5s1sPoXkbvNJ1QXOWT5MvJs6gjdmY8j0Os6d6GLW4zgs4gGFKe3QYdFZcLg== X-Google-Smtp-Source: AGHT+IHsjx3aJY3NGcZ1z4/Hp2MhAYj9A0ko8ZBJHX2ZCgyd5AJ/rx/+X3bclN6NTXM8n0wLliKW X-Received: by 2002:a05:6402:350e:b0:56c:5ab5:5fb7 with SMTP id b14-20020a056402350e00b0056c5ab55fb7mr2131855edd.30.1711730341095; Fri, 29 Mar 2024 09:39:01 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i9-20020a0564020f0900b0056c14a10cf9si2000267eda.243.2024.03.29.09.39.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 09:39:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125182-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YSAd5esy; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-125182-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125182-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 A5E021F23E23 for ; Fri, 29 Mar 2024 16:39:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3833113473B; Fri, 29 Mar 2024 16:37:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="YSAd5esy" Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2129.outbound.protection.outlook.com [40.107.20.129]) (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 25D1B137C38; Fri, 29 Mar 2024 16:37:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.129 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711730265; cv=fail; b=LvSHLEDRVxeNsNACvouQ6F/xR8csfWq6QJzJa8qJE+QG7mq1OrZBqa0gvf+O8WOWw+RtXdjOlxqEfBE4f/i11ulVb9CSVw0Y7R5t7cTcqiRKmaqPWHvAVbNHdOenpQht8JieTWV1MX3dD7qlFi1GcvcwF/uM+F4W9Db84glxvB0= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711730265; c=relaxed/simple; bh=esaUXn5j695rEnXA59lUD8gx/CRWkoqvPpW0g5t3hFg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=KDKxhmeWi5LQhltNlRd4x/rlunD/Chowu/CVXdpsnjYAQhCi8Stq430GhIF7ijXzCtt63zskvcREoXNF10VZa9yeL8tzsQRnV+aNwcL99SoXR/pZ/n1k0LDqRD3s96AmNCZVELhRWCRneWMSmAB3W4iOq4tlIBeMuZrZVqX2uLI= 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=YSAd5esy; arc=fail smtp.client-ip=40.107.20.129 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=OxnEx6JyBMf9HIBQnRcLoG0nqpPd5UZTV2dQDFhe+W592kGYcFFOeonOQCKvcvQZhf25u3SpA1GYJTVEDSsUeBWJnyBXX/SY4S/Tu2JV1gsPaLqUPUagvwXAlJXHSJIsRyj/7gokDJ6J87Y2fXCjnNf4oUQWpgtYTI3//Xb4f4FIWzOPgseEsyCVEGu0Ib04+dDZ6+EtcRr67FO5TaEBLbbP1pFIncZ6QGzOvBEnMrA30nlDq7SXDei6Aq5kvA1PLINxKMSYinxEVmDsGyxBNHIySXIJzcxQB1ELOdbgQQWmOx2QWe1dC7p1BUrrI2nzExvRdowE0MtjZtn8ZUlUyg== 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=Dq0hyeMveB9fkB2RxISUgJdJr2oy9IkzXbYW1vj/qAc=; b=nMyMq5u8xOhAnU2Uxb01L3DYwmVVTtDTIyq7Sb3xrVuTRubp5NSB2B6Gh9x45H6WVzrB7XtrQEx/FNwQISIQy9A36LPXYFewecVBUuuAt4uA3CyVDOmdj29G/MveaWKicatAh9qKJLjs5h+KMT6xqk0+qTIRJKVvGXKPkTWZs0fv0/C9dwmgGXRmuv4OeIMvoxu/tiadeJKmDrkOG5IrHN27gmM39JYu61gDih8IWeOBpI/QNHiooKE6IvNbgH+Fp1wJJGLd7A8PbsheYOmYHsd2bBGk4p6lkV+zeb5/46+zNfe1pyYs0xUTfwYn9MT8gnBeasaXVhFIWNVRiQKxIQ== 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=Dq0hyeMveB9fkB2RxISUgJdJr2oy9IkzXbYW1vj/qAc=; b=YSAd5esyy6xANQfZucXG7kI4QS/E9Pp6Wu0Uqgy6VbHSErkWMANjQ98DpEvxwaTVNZvYA3MSTPic0C9BV3WVtt1mfwq+vc1jygUrwzeYTtFjksP2Q0ncSKcbyuujkiRF/6qvb0c6kmSTMvTD0ERc5hahCQWF25E8/bU2kFlkix0= Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by DBBPR04MB7577.eurprd04.prod.outlook.com (2603:10a6:10:206::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.26; Fri, 29 Mar 2024 16:37:40 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6%3]) with mapi id 15.20.7409.039; Fri, 29 Mar 2024 16:37:40 +0000 From: Frank Li Date: Fri, 29 Mar 2024 12:37:08 -0400 Subject: [PATCH v4 4/4] dts: arm64: imx8dxl-evk: add lpuart1 and cm40 uart Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240329-m4_lpuart-v4-4-c11d9ca2a317@nxp.com> References: <20240329-m4_lpuart-v4-0-c11d9ca2a317@nxp.com> In-Reply-To: <20240329-m4_lpuart-v4-0-c11d9ca2a317@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1711730244; l=2068; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=esaUXn5j695rEnXA59lUD8gx/CRWkoqvPpW0g5t3hFg=; b=wevykxlPtyz01u9QP9Btti5iuLzDF635IeKvDQmUJ890UtT/3k4Dj0PmzkN1ahM68WbxWY1AP GTgfet5+4JOCZxvQaj7+Vk1aEodYcO/Hm204jBj2Zx3usZuzae8nvK2 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR11CA0056.namprd11.prod.outlook.com (2603:10b6:a03:80::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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: PAXPR04MB9642:EE_|DBBPR04MB7577:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YVcoQwzBMQoDDXeYN/fuBVkOEyfRhgRsh3SP5wTeJ+uHDqQFzoYGm3izzwFjiBrLXN+WhIiLF1Kl6JAsuxnPLRq5AT58dT4wsFrqY5lU/vkwiXABfsgmzeD6cpfS8hpFE6excXUmuFXP6HlZpW2MCcplTRL02Ntk10nf32Upqodpf7hsR9h2S95vqskrSNd4mboNiGI2WbdHoxNa6K7OvNAX1aCTFfAG1hsQOdFPXWUuj6Luup5mjocZ3PqRUM8lZT5Xrf0VMTcbMn6eDfECay43/LZ5LibY9rV9HKXeYg/1xVFjjErrdlqkV7tz1eHfMGj6tKW+d4lQ53+WZHhBPnasLce2Wjawj5c+dkxxk1s+Cn3kv6/iESOpw5Z4Ykyv94WUBAAAyxPYhpY0Lct244yFxHNdk2K83kd2TNjk4aPtswngMQhLGcnJusCMnLIn2kFRUICla6e7uKsu+AGBAZpfQTqJ0ej+Yclb79Ct2Jv6cLYtEBWQ2Vcc896lBOqfdsnD79lQbKfuzUC3DWorVJApfJmJfjUfr//tp5h+ZuQ+UAJMrseYsHTQdwzxUtVUsO/CyrNluymftIlVWwEStCX+qDmm7ziJoZCul6aMYQUt/BLjmgD22SOG3qagySZVaB8ZVFdA3Z6uL5ol1ECHoFofJAQb11CdVBbU/DsCYkluV1Gr9aq6MXSFNpp20W2HXU3X5XDD7QPToJjb2DYHR5o0EnI0jHcF2TwcMfJEBcY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(52116005)(1800799015)(376005)(7416005)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VVcvTVFZYXZXb3BTZC9RY2Z0RGlabVVRTWZoSVVMMVlwZVpIWGFpMHRjaVh6?= =?utf-8?B?d3BKOVI0d0xwcUp5TmFxSU5LSWNTSkJHRWdrWnVZd2oyWmw5b21kQ3BldlRC?= =?utf-8?B?TnZTTEtIRlpyUGphUkU2Z1JLc3NlZ01mamkyeE9CWXlJSEtKeUF6WmsvU1lB?= =?utf-8?B?VW83UUZ6UE5aVG1UcHkxb3RyTVc3dUJlTGJ4M3IzR1pUNjFKdWVHM002NnZl?= =?utf-8?B?OGVGTlZWWHZXSnQ4S2U0Y3lRS2N1RWg3K0F0SWRkKzRUUi9YekNzUn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f-8?B?Y3RiM0hWQjg2TWw3V2xDc250UWJCc2xRU2ZVc2lxZTFHSzJWU1A3a2xzVERZ?= =?utf-8?Q?K56wazBjK7JdDCOgMCsc/mLoR?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9cf5ac48-36e7-4f03-43ed-08dc500e8d1c X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2024 16:37:40.7835 (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: xn0bdOMhq6fcKx65cUsnQw7RXmRz3cDH1gZzRelVhH5nXm0oDOqcq6XPPKj0EDRU0EzvGrBqkLO62ZMvPXETSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7577 Add lpuart1 and cm40 uart. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index 2123d431e0613..2412ab145c066 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -16,6 +16,8 @@ aliases { mmc0 = &usdhc1; mmc1 = &usdhc2; serial0 = &lpuart0; + serial1 = &lpuart1; + serial6 = &cm40_lpuart; }; chosen { @@ -51,6 +53,16 @@ linux,cma { }; }; + m2_uart1_sel: regulator-m2uart1sel { + compatible = "regulator-fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "m2_uart1_sel"; + gpio = <&pca6416_1 6 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + mux3_en: regulator-0 { compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>; @@ -340,6 +352,12 @@ &lpuart0 { status = "okay"; }; +&lpuart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart1>; + status = "okay"; +}; + &flexcan2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan2>; @@ -354,6 +372,16 @@ &flexcan3 { status = "okay"; }; +&cm40_intmux { + status = "disabled"; +}; + +&cm40_lpuart { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_cm40_lpuart>; + status = "disabled"; +}; + &lsio_gpio4 { status = "okay"; }; @@ -595,6 +623,15 @@ IMX8DXL_UART0_TX_ADMA_UART0_TX 0x06000020 >; }; + pinctrl_lpuart1: lpuart1grp { + fsl,pins = < + IMX8DXL_UART1_TX_ADMA_UART1_TX 0x06000020 + IMX8DXL_UART1_RX_ADMA_UART1_RX 0x06000020 + IMX8DXL_UART1_RTS_B_ADMA_UART1_RTS_B 0x06000020 + IMX8DXL_UART1_CTS_B_ADMA_UART1_CTS_B 0x06000020 + >; + }; + pinctrl_usdhc1: usdhc1grp { fsl,pins = < IMX8DXL_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041 -- 2.34.1