Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1566451rdh; Mon, 25 Sep 2023 17:43:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/LLOMG37TTZbW4Mk0nLmoSVsiiD5Q4efQURnh/RMrAfm7QdF7ik9xj4NElRm3TPZDDs/D X-Received: by 2002:a05:6870:310e:b0:1d5:c134:cecb with SMTP id v14-20020a056870310e00b001d5c134cecbmr9107350oaa.1.1695689016743; Mon, 25 Sep 2023 17:43:36 -0700 (PDT) Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id o15-20020a656a4f000000b00584ac83e108si560601pgu.729.2023.09.25.17.43.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 17:43:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YqggJbSx; arc=fail (DNS record missing); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 279FE81CEB0D; Mon, 25 Sep 2023 13:50:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233343AbjIYUuY (ORCPT + 99 others); Mon, 25 Sep 2023 16:50:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233327AbjIYUuS (ORCPT ); Mon, 25 Sep 2023 16:50:18 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2042.outbound.protection.outlook.com [40.107.105.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64389194; Mon, 25 Sep 2023 13:50:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kAcQ78wnwZ9+V53QXqpOMshOXINspuRAKg+SNMjF/c1Wzz6hF4Nfn4NoQ3dKsRXlPaTIcIvdd26ysFPn94sMf4XiMYDqK35QtsC31IisBhPk0BiNF6R1j8ggi7eJIBTuo86Vpu/TX/Upj8LDDY5W14aNkbL1HfAacTmqK/A7RZe1cQxu7zNFSzH7Nk2brbdVVDJpqeT8XDC3OoswpUVsAiIWkxrKxWpCw5T77/5p9ytGoKlAkU+/QIHAd7QRcJ+TCuaid7H+Ri+Ojx2M+yw5DA5PgPxlXZ24DaUkaKZlwoUbVizKYMtVjMsWY6YM0qCBu8S5A2whjd6A7IF40jfPcg== 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=dtwMeSg2JYYaDd7iMOytnRPZ328tFq7DdCTw5j3hZ+Y=; b=g9Svs1aboZQQleJ0v9HuTia687Nz8OnfqjH1uJ5lrYYzyJPvtzp/nwKWYu3ZrMj0qO4UX2a7evMF19C4qPAZ4RyBNauTAm+Ii32TyUTJOQeH1eRQU1mG9K/f8LtBBYWNAfTYKuh2Xo4Tr0e/e+evg3dWXL4zRpKbglU9wkPBXlbSfNFOu7TXwOT7S6TrQc3xambWCJwSZk8j8tkVHGbNA32rTA5GOXAgk8atEZdJ92x5TXIW29cs2Opfp5OI5yIBQiCAngXksc7UiWlYa80PEc1NqG7hEckCjjRWY71kD7Jv/yjgAsJJmqddyH0011P08J8PHAcgvOrs8wdHOhNPUA== 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=dtwMeSg2JYYaDd7iMOytnRPZ328tFq7DdCTw5j3hZ+Y=; b=YqggJbSxihypY8FjH6LhgysJIQ8QxqPdHlIg3Sl8pbQGNbukYF+A3vd05RkNtvDXiVaBBlGbpG6hAKwgWeubi7cEF0iI/DPlH+6f0woQzThPKTpTxFyWtDnYVMsEzmhkJ2BU3Ju/zZoy1Rcx6OUZA43xi2BdZMNunC7v6YXLV/k= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by AM8PR04MB7809.eurprd04.prod.outlook.com (2603:10a6:20b:242::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Mon, 25 Sep 2023 20:50:02 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::1774:e25f:f99:aca2]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::1774:e25f:f99:aca2%4]) with mapi id 15.20.6813.027; Mon, 25 Sep 2023 20:50:02 +0000 From: Frank Li To: frank.li@nxp.com, shawnguo@kernel.org Cc: clin@suse.com, conor+dt@kernel.org, devicetree@vger.kernel.org, eagle.zhou@nxp.com, festevam@gmail.com, imx@lists.linux.dev, joy.zou@nxp.com, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, leoyang.li@nxp.com, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, pierre.gondois@arm.com, robh+dt@kernel.org, s.hauer@pengutronix.de, shenwei.wang@nxp.com, sherry.sun@nxp.com Subject: [PATCH v2 6/7] arm64: dts: imx8qxp-mek: enable 8qxp lpuart2 and lpuart3 Date: Mon, 25 Sep 2023 16:49:12 -0400 Message-Id: <20230925204913.3776656-7-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230925204913.3776656-1-Frank.Li@nxp.com> References: <20230925204913.3776656-1-Frank.Li@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: PH8PR07CA0045.namprd07.prod.outlook.com (2603:10b6:510:2cf::14) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|AM8PR04MB7809:EE_ X-MS-Office365-Filtering-Correlation-Id: 99bb9f5d-8527-4bdf-a3a4-08dbbe08fd21 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zXYvc3j+dsX6u4Pmx0ScurUwclWKy41VJ4543ZOW22QuKAYkZbDoNH5JKUgocczDNsY8q/XdBRckLzM3D4KBUA6KpXRjiuR4meELx6c9jhLnmZg1bXq5NlSgjmEEDfBTgp1WOGYMZIeNIjRb5RfjltS1jWCi8l5P0tbaT/PbyRnF+oo/6U5yA4o1es4m/6MmjobmZoHr+vYPHCA1WRlOjZpBP7RQEoCcgvOPCgkhdWGFbfWICK6e32Q/HMxSr4R7C8dovU7fUPmsln/iinUfhow9e+nChY943KTr64xZsYxqrFW8q1Gee86D0aJrAU9Ld5k6vm2SUXA3vZlrUDbNpFA4tmjp9EpOzx0mMheN78PPPWVghWgkH19rbVdCst5jKRTXE6delY6l0TeFdH1d0DCfU+B/vnmnVOElmxkGdGWslNrgMx7D25z57mWQwhb2e7paZlnMoh+LZbVVF/S18r8iBfb/uHYscUq1YFSTCZ/iNn7RTQIplEUQzxNeJYoA6AbRmQ0JjfQ3MJgeSVcJeRBnqBWnGrzVYvyoEUsh/tU6ujrhB5hSDx6cMxHP3FYrunR5czwY1nMRVMFEhP0rQXaTa7uhRUHPOuq9uzvwcgoBCtFY3SMm82H5tolN3+oQumsplACX/dqgn8/ELLkX+w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(136003)(346002)(39860400002)(396003)(230922051799003)(451199024)(1800799009)(186009)(5660300002)(2906002)(316002)(41300700001)(8676002)(7416002)(8936002)(36756003)(4326008)(2616005)(86362001)(66476007)(66556008)(66946007)(1076003)(6486002)(52116002)(6512007)(6666004)(6506007)(26005)(38100700002)(38350700002)(478600001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?MoLGEcG5MqsG39XkJ69KbhGsyPjRT8/lUGpZdQw90YALM6bxeQoE0/4AVR39?= =?us-ascii?Q?tB1LJSzxEIARSxqwqfSt7aAc73zBuKkS+thNO7esZK430TtfFRh+G3lDxy+C?= =?us-ascii?Q?VxiRctfxxwhwcpgvhD/VSbuBuGWBo7qoF+Obc3+T/gu8/EwdTmTVl7EjhRSm?= =?us-ascii?Q?v4JlvUPwKMXTSKdFFr2jfQBqz06nB8RudSqCUeQLMD5PVZDmzxcq2frL3BI2?= =?us-ascii?Q?aKm3BRwtC181yuZ7/5+5/ofFNjbVoP5OVCXEgt8gzTNhrADp8ewnpHYD1T2T?= =?us-ascii?Q?g2KVp71ns//1Lt6QWV2NqOTX5XkPReTK4A+sE5J+bYqL8xoewNVWJsV+AGsq?= =?us-ascii?Q?KanaeQBJkNCD4lM3tN8n2OiCyep1eWRUC3ELU4JXZz4C9GqzOlxxqykUOku2?= =?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6a0QVFvw97VqwSv0F9y34Wc1InAvA1Sp?= =?us-ascii?Q?W6mgGe0Yo+w5wRgFqrX/v6QWUa95rRr1MMTyAxps+Xt/2gAWsDe7Agwf5pZL?= =?us-ascii?Q?0yk4HJw0XHMUQKkW/tzurcMKPzOWquGip+qLZT7GCheM7MSKyPsDAf1kXv7b?= =?us-ascii?Q?4P9w7j3unyOfYrf+VLcANrVv2rbkVIlJwOMuOTOd/ujoZ/TzvilGP+fkjl+r?= =?us-ascii?Q?FRGGaWlrXZ6b5IiswzeD/7Wj9x4892d5i0l/P+V/FnANxKk6nn7/G6FBL+8r?= =?us-ascii?Q?3/dNH5rmi8p74lUC8ik=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99bb9f5d-8527-4bdf-a3a4-08dbbe08fd21 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2023 20:50:02.1871 (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: Jti6+IJA9epq0PcmbU4muBh5r9RtSf9xDeYkC8UUpdo86+w1xkXVO3xvxJP40xUoDSEa4URuzM5r/RkHikteow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7809 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 13:50:34 -0700 (PDT) Enable uart2 and uart3 for imx8qxp-mek board. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 7924b0969ad8..99611729943c 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -187,6 +187,18 @@ &lpuart0 { status = "okay"; }; +&lpuart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart2>; + status = "okay"; +}; + +&lpuart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart3>; + status = "okay"; +}; + &mu_m0 { status = "okay"; }; @@ -340,6 +352,20 @@ IMX8QXP_UART0_TX_ADMA_UART0_TX 0x06000020 >; }; + pinctrl_lpuart2: lpuart2grp { + fsl,pins = < + IMX8QXP_UART2_TX_ADMA_UART2_TX 0x06000020 + IMX8QXP_UART2_RX_ADMA_UART2_RX 0x06000020 + >; + }; + + pinctrl_lpuart3: lpuart3grp { + fsl,pins = < + IMX8QXP_FLEXCAN2_TX_ADMA_UART3_TX 0x06000020 + IMX8QXP_FLEXCAN2_RX_ADMA_UART3_RX 0x06000020 + >; + }; + pinctrl_typec: typecgrp { fsl,pins = < IMX8QXP_SPI2_SCK_LSIO_GPIO1_IO03 0x06000021 -- 2.34.1