From patchwork Mon Sep 25 20:49:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 726565 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 450612375F for ; Mon, 25 Sep 2023 20:50:24 +0000 (UTC) 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 A186413A; Mon, 25 Sep 2023 13:50:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hryn3dIzvhqiAKer7pUPLar2ZJB5LMCpvZc2Jfi5feSx6HXBxRMItOFvMybwAOIp4bhhADRZNHkc2/1L2fQK2aK4tz48e70i438hjXFUtpj6IRywDmD0E9mZAooLtp98WRCR0DuY0FFRozBicHHBZ1sLb3MVD8xL3mf5pXfHCm0KSPSe69K9CZ2wC3NhKS1Gcgk2wBXg2a5HTApJynqkjAq5j1wNo/8oXVGmaENIU/9EN9GpthTse55gbZxvSArpnvFhA9oOkGGmjduXMTm3nOpFsmHl2ILpeazfWhAKbxx5WOYlGVrsQd0irsckPnNK6XCpXI4TngFML0wXLJZX+g== 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=FOUjphlgeIv1L/dweak150OvX41e5sdXKdof8TyU/w0=; b=Zit4cSJnVWH+DHFKMbqdKeJ4H04gDH5Nl1HU4GpqbWkRpas3wU4FSxuj2S/fb5HitLYr9c6fDB+MhlL8TLb0wrhnXGs20B56yMUztCspTsTDdNacKdI4QNrq0m7obTq/BizuvixsVgsBbwox24cv2xJritMHr+Iisq0l7raLMLDsopjDkaykNNY4X86eGWgFdkDmr5WtW3VRiP/pF5rIn+cStWPJU0/6mPcZR7RpxVqR0AzCs3LaztFyW+56vyvppTKQVx0UHGNomfNl+LGHJ8tu8KJy1BcfZqgz3p++sXvZZEDhnsB3j2q0KzvVfLe+k0+il0F/QhAknBLmhG3spA== 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=FOUjphlgeIv1L/dweak150OvX41e5sdXKdof8TyU/w0=; b=DYdv+P1is5xAM5gBHb6XKkaV/mkw5AOiBuylpChTukC/WgZD76VlfpAb/EmsIxKFJjfyBhwSIRoctMn1rtYRWDcHEnrgOIovUH9XwrfyEvRf+mf9UgybHOfq7s40chmh2/DU+cIdtnZdjWVYWQp+Z6ViWZvqLf2ijU7cHQZBpuY= 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:06 +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:06 +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 7/7] arm64: dts: imx8qm-mek: enable 8qm lpuart2 and lpuart3 Date: Mon, 25 Sep 2023 16:49:13 -0400 Message-Id: <20230925204913.3776656-8-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> X-ClientProxiedBy: PH8PR07CA0045.namprd07.prod.outlook.com (2603:10b6:510:2cf::14) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) 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: AM6PR04MB4838:EE_|AM8PR04MB7809:EE_ X-MS-Office365-Filtering-Correlation-Id: 8054994f-3e14-4331-a0b2-08dbbe08ffb3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vKTiIGVVxuYUCmPfyMr+Ay1PES1KPS+jMJDZpnb2Oa2wigXEUbE74Yd+IgWGEiSlfSiFXolQ1uCmNAWfF8pTOduDqw0TCqKg6GPu4gPsmq4zqe1aWFJiZKTtDn+lxhFC70HT5QcRXgs9eERzYbhjcWT4TriWBZwSHbBs7ToHA+3e7C2zGw54rLiCkF1rZNjFsuo1nmpYsOqYqzBP/Hw3h9BManUBEpConQifH9gWzWF3eq5MzA07dJyL7bfhKFZ3mK5sDcNQYeTCaoNaRVotfCTpt5bRN61ZhkroKGCCzSvPrjFzVwgJ+GlEN2qpZwzS1F3DL/SrDD87tyAM6T/hx3bSwV0Lyh7nzFzO3MCxYXEoh6CGhtzBrghAqcgQfKBHGUilsqjxs0HWD6XJhYzk8dueqD4xkBzroJa9twcdiny/XYgUwwLqfU2Ix1Nvb9i+MjA4aLngLBID4wEJ1viZxxcr+4b3ZedLqW4TbpsfhW8eZeYvw8K58V69WNViIiUKCwUmsR2CTp+EZYLA9tIWYv1X17n4OJNHWQFpZ55D/Anlf7GxfHlIL9VhoZDY8PQ4d5qbtGyt58wr18eSgSAQb8OsWdYEQTNZuFL5piy8cSsUAM+NwFGh+ad4y9O6fwtRYCtQto8jL9RBwBAIYVJPjkUj9mDX7XDW0z72ulxBGA0= 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)(473944003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GrlHadu2Y8l63kr2PzGZ19qrz519vOvt6rdv+4zK1tgmmf8s149MrI+Oho/plv0dl00bMn+M2fFSbzBsU91GroMSlw5n153Tex77dlSrQFI5nA8zKMD+dXAIH4h+ehozjK47Q2ICQ6360zxIWm1g4XWOWNrhJeMUnjkxExuestqIrXfZRTCuybMfCt3BhKP9gIgrMnTXC4Xt50YayF/RZm5laNBPLEuB8Qg9kR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iHrZXz4jpaNVqqBL+OoMIhe2HbIZtoMILdPtV9/vnxhck9GKVqR86Vglh9seYMlitj7CzwZbbgtncX2KPCDKMktIlLzWMvzU5lu0M4xZouh7nA8+1t+tjEbaF7f4Q7OJ/KUQbJWdegQ1YhsJJM3M2upDY8AlBLJZ905sz1loM9/gLBib/0ZCFPkwzZWYWCyCIbjvdBKcapEs1pBWyNP/OEZONqEFPc8HZrLfS32gX8wuLsc1J+OPNcNe72Su6VHoAT78Z88= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8054994f-3e14-4331-a0b2-08dbbe08ffb3 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:06.5838 (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: /bYy2czq60MyDyeJAWMR3wPQtY+qlBkPAxtBiDffz6ww104eiDQuw3JbNSoGbzpMlNm/m+1ro+0oz1FFUwy2JA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7809 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Enable uart2 and uart3 for imx8qm-mek board. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 0b34cc2250e1..6d50838ad17d 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -47,6 +47,18 @@ &lpuart0 { status = "okay"; }; +&lpuart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart2>; + status = "okay"; +}; + +&lpuart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart3>; + status = "okay"; +}; + &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; @@ -118,6 +130,20 @@ IMX8QM_UART0_TX_DMA_UART0_TX 0x06000020 >; }; + pinctrl_lpuart2: lpuart2grp { + fsl,pins = < + IMX8QM_UART0_RTS_B_DMA_UART2_RX 0x06000020 + IMX8QM_UART0_CTS_B_DMA_UART2_TX 0x06000020 + >; + }; + + pinctrl_lpuart3: lpuart3grp { + fsl,pins = < + IMX8QM_M41_GPIO0_00_DMA_UART3_RX 0x06000020 + IMX8QM_M41_GPIO0_01_DMA_UART3_TX 0x06000020 + >; + }; + pinctrl_usdhc1: usdhc1grp { fsl,pins = < IMX8QM_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041