Message ID | 20221115091709.2865997-5-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2607871wru; Tue, 15 Nov 2022 01:23:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf7SCPElfqzO3q61C1kwDzDOyfA4Nj1juECD0L3zbXhpyc7I3pklSXaxamzkO/Jp/vKX3FnD X-Received: by 2002:a17:90b:280e:b0:214:ba3:4eb1 with SMTP id qb14-20020a17090b280e00b002140ba34eb1mr1308488pjb.161.1668504180355; Tue, 15 Nov 2022 01:23:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668504180; cv=pass; d=google.com; s=arc-20160816; b=0t1gL1aR4cHbzc4ShVL8KnMkkLmbvuEovomoSwKlxn8hXMYvDdojgOfvaf46+dzcWm S7toHAVQJ2+jRGpQQfk3s2rihC5Id1UG4kurFgDijhLT60XS3vRk2y9RztpChceUWrfX CalbLz6ovl6bdkBAmcxCqvH5q6qIh+j74SKDY8rCW8/j5R++Y/dAOOnD4cr/SKocgBJA OvBCjiyG/igJzkp+2kpKi7nfx18S1I4rfuqlwWuvZksDQaWFASTdN2thxmyvpJtxFhUJ z3XrgcrAVECU9JZJOejCspiQuOYC13mdWNQ+Ewuq6VtwongqbGtVEEUgfwI/uAiW6BLj JHPA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lp2YYOSAdZyP2Ed0cVr3XmjW1UCXA/Ikw+0NhZenzck=; b=G2J2EVvLBO8WjNotLDnvPKwPhVJ6LUu3S6VfCmc67hMeXj7+RPYcCYbqIRsOVxpaFq SJhg91UOw9P6V+o6Ts2MXSIB5ihZoEPM8RxXEKvgx4RtH/2TAS56+Nt8FSqbDoTc2Wf1 iTBiDw4P/ORCtjVuvSrLnEmsjTOAxKwjkbLnjHGrpyw4jwPitlx+aydZwMPqBmVOmjlB GWQBR8/UIW3W/R9OuCUQga6CXdWfE76sNJTEpl1yZOv7dHex8dx82woaQg2M+8fhfEJf lOqSWQjkmjCvGX3L+kmQ4PEXzCgkmbdGZGKS1d5RkWyEJiXRnNr9fFAWVHI2g6GthVtJ bkQg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=H2sLk4oR; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nv12-20020a17090b1b4c00b002009d750a2dsi2630550pjb.58.2022.11.15.01.22.47; Tue, 15 Nov 2022 01:23:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=H2sLk4oR; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238034AbiKOJQW (ORCPT <rfc822;zwp10758@gmail.com> + 99 others); Tue, 15 Nov 2022 04:16:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232235AbiKOJQN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 15 Nov 2022 04:16:13 -0500 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2047.outbound.protection.outlook.com [40.107.105.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB1D3220EE for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 01:16:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P0/Cjs+umuk2IkMc3RJRlCdkNtLSpr2xy3yDbWoxMrtYvdDGwK4jDkyWzutqI7fJPIqlkP7notnHoSo7bFsNgxARR6L+BKMtdDtzK+Hz8fS2sf2JTKd5JtBT18HrICOMNKbNC1FZgIhtXqYlllEalDP93sNILer46OkcuqGy5AiZBQdABmIbOnP+aNDhJ2gyfwBtpb0nFvyLO3gX4VOSDURltZNViJUXWM6PSXptB8oIpAigULERs8v/8M80bYbpk3mJkt4CffpOugMMkxFkeVAdCfbTukOYSrCp44ZpLTsgs+Xcc6wA0yAPwfp0KLzMmij8hqDFp726j0crZElRgg== 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=lp2YYOSAdZyP2Ed0cVr3XmjW1UCXA/Ikw+0NhZenzck=; b=V2eay062Z65UPQIOHbDpv/kKyMAgpCNs+LU2k+tWcZawl+rHDQntKtOrBp2GL7pHbemHZkwW/+OJbnW/5KWZczeCxgK5qqjihbA8F2eUTCfgon/+K7Bi3wVXGXE8p+jr9h+pyKFjQHti75wWJZEmkdQRVAoyKrEmUumoN8XwyhcrVl5iUOgm7Gt2eKrLsP+TYXGxBDEN0RreAYWGk1U6obB4prgC8WBDm5ZkobQk9xtTDuieoTmjwQg81GlvwAoZk7C8GlUiFOc/KmaSEEcW7KXIbf7eV2ODYojswxeL6Kxs171Uy6vzDQqy+cGau94pgS15Njf0S7L+Sw7yKI8kNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lp2YYOSAdZyP2Ed0cVr3XmjW1UCXA/Ikw+0NhZenzck=; b=H2sLk4oRquawOiKK4aVPsU4mjXpKOacScQoU2sIYElVaWiDYs4xcNZu7V5BUy1XfXqIh7qtSgl0ZTj/TKe8gcp3FfNd4ewrNXu8dIduD3p6/X6rZd9NvH0rFoVR+TBUTWreUTfQoJuN6LOQgzXHq0sxID48e3i9llI/hRUhYHAE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM9PR04MB8195.eurprd04.prod.outlook.com (2603:10a6:20b:3b7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Tue, 15 Nov 2022 09:15:58 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0%4]) with mapi id 15.20.5813.013; Tue, 15 Nov 2022 09:15:56 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com>, Marco Felsch <m.felsch@pengutronix.de> Subject: [PATCH V5 04/12] arm64: dts: imx8mp-evk: enable uart1/3 ports Date: Tue, 15 Nov 2022 17:17:01 +0800 Message-Id: <20221115091709.2865997-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221115091709.2865997-1-peng.fan@oss.nxp.com> References: <20221115091709.2865997-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0007.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::8) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM9PR04MB8195:EE_ X-MS-Office365-Filtering-Correlation-Id: 46f79b43-4336-4cb9-3f3a-08dac6ea0093 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PouWZMNNI/k2AKhipVxzAQjPysuduX2diF0Qgdb3VukT90IJwewxN4GUAWf7U32T+nIdZ8uc/IW7t3ACpPzwGn5ppi3sjIaxe9pe9lrhba4m7vsSzT5+uIpzlEvXIZQQ7NzgAlHmvXcpn080odyfjiDVApFrTWNdPJz1QNLr0CYiQ37WXvi7m4CAnfMWGkuOymG+1W2YUV2NBBa3DqcGaSsonmMcJGmJiJKJQN5RYWgPmncJSNIvLY6YAg0OJfJwHhoArGwV7x0xTf3LzoqJTIOCQYg+dc2/P4YUGzTGjEUBKI9xXVIuXchG+rz8+mSwzRDjStHN4Y4dPR8U5XLS00/P1BGlDPs/uIpG2shKvbhWTBU5FEoH+KjHJ9Ho/rtDx3P829/LrxHSdN4U6bxzZVimbG+NBf3jOonN04NGuEt98AybfVtSIjB+4D1Nh1ixflsBspuNKLvTTM60BKJDtKU3WmlR8ym78d8HdPYV51gZUMMs6q+PCnWP1uxNKNsuvGFURgNeDFHXXfufhEqo02e5c1KzzCbFU15rHg6xw6H8QknFfJ0dDw+g3TwMArxDIOhBX+FXrba9ht2KstSvTatGmWuq7PQ5ADdAUi9R3AScS8zgfz1GyZeIWAODZOYnYAPWaspx0uHhmc15o/cIi58t8u3IcT7cWsgwtgsR7lUdOMrWEw4gvDjlcuAcmOn571EPndaSU/lCjI2CbyYS/7DbnuYMQb5IL8KDfclJt8EFU6Bp1FtPFQYYfK6pRO29krdN/Z2/RjcmUZBweKSP/MRYXF9iYCU+zw1Bwqzs40a4mxLWGnguFU38d3/9ifY+ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(376002)(366004)(396003)(136003)(39860400002)(451199015)(6512007)(52116002)(86362001)(38350700002)(38100700002)(1076003)(186003)(83380400001)(2616005)(2906002)(26005)(6506007)(8936002)(5660300002)(6666004)(478600001)(6486002)(66476007)(54906003)(66946007)(316002)(66556008)(8676002)(41300700001)(4326008)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NkVP0VnZoBOI/WBFda21VCOhV6IEhLTZAlUOKHJtDN3rBAVkOhiLCdhCIJO7bNp1ZlHayqvbUeFitGKGIhG4Ee9Pu25j39esTa0WCy7gtqcOBoSdAmqbXAAHpL6KHvS7EAAgfxKYXWqlpAWADyfIQXEP/6qaWLOIiU79MW0Skv9hz5Y5gG1HJhGqyUwJQIs+m63J2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TPvLbjdvFNhwj2glp1m7fkF4elNhjHFWCcc3Z/yZRN3re41rQKcQd5AR0SqCE907xLsXcH13hNE1n8y2ghqh6gDy4Xwbk7vVEdfOJ0byj1qxbJDjppCNtL2a1xjl+AM8HuD0sP+3BY+O1PLh/wY/K5Ye+Yd2hkSkL1HMzx1IMadW9Ce2PGG8/xy9fU7YLQHr9C1UV8SNhKNcBG3HYozmsUy2Q97gc2bgKAOk/YEWZqPhFf9P7f91aXDS1XZjrnYSHR2MvnLAHftmwbApFGWTnLJYLVeqfJOYQV96ARqgVe0hK2riJb+q+1thUZ++SzdfpNQXM0R4+ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 46f79b43-4336-4cb9-3f3a-08dac6ea0093 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2022 09:15:56.3625 (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: 026lsHB6ZJJ1WSUNNAHCM1oiy33cy+YPz7bg7B0Dn9Ti1zx3+YV0q0y5dNj34KIMCYZdJnryKUXVb1dRhDaO4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8195 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749553439696268471?= X-GMAIL-MSGID: =?utf-8?q?1749553439696268471?= |
Series |
arm64: dts: imx8m-evk: misc dts update
|
|
Commit Message
Peng Fan (OSS)
Nov. 15, 2022, 9:17 a.m. UTC
From: Peng Fan <peng.fan@nxp.com> Enable uart1/3 ports for evk board. Configure the clock to source from IMX8MP_SYS_PLL1_80M, because the uart could only support max 1.5M buadrate if using OSC_24M as clock source. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index e323e6f4b7e5..29472502d547 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -412,6 +412,15 @@ &snvs_pwrkey { status = "okay"; }; +&uart1 { /* BT */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + assigned-clocks = <&clk IMX8MP_CLK_UART1>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; + fsl,uart-has-rtscts; + status = "okay"; +}; + &uart2 { /* console */ pinctrl-names = "default"; @@ -434,6 +443,15 @@ &usb_dwc3_1 { status = "okay"; }; +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3>; + assigned-clocks = <&clk IMX8MP_CLK_UART3>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; + fsl,uart-has-rtscts; + status = "okay"; +}; + &usdhc2 { assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; assigned-clock-rates = <400000000>; @@ -609,6 +627,15 @@ MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x40 >; }; + pinctrl_uart1: uart1grp { + fsl,pins = < + MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x140 + MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX 0x140 + MX8MP_IOMUXC_UART3_RXD__UART1_DCE_CTS 0x140 + MX8MP_IOMUXC_UART3_TXD__UART1_DCE_RTS 0x140 + >; + }; + pinctrl_uart2: uart2grp { fsl,pins = < MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x140 @@ -622,6 +649,15 @@ MX8MP_IOMUXC_GPIO1_IO14__USB2_OTG_PWR 0x10 >; }; + pinctrl_uart3: uart3grp { + fsl,pins = < + MX8MP_IOMUXC_ECSPI1_SCLK__UART3_DCE_RX 0x140 + MX8MP_IOMUXC_ECSPI1_MOSI__UART3_DCE_TX 0x140 + MX8MP_IOMUXC_ECSPI1_SS0__UART3_DCE_RTS 0x140 + MX8MP_IOMUXC_ECSPI1_MISO__UART3_DCE_CTS 0x140 + >; + }; + pinctrl_usdhc2: usdhc2grp { fsl,pins = < MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190