Message ID | 20221115091709.2865997-11-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 l7csp2608068wru; Tue, 15 Nov 2022 01:23:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf6qW55kExSZG3ve1xCm1BLYgyILMKSe9ofvTcJ5O1R0qdZQ7O0E9TleLfYBg/DPJoq/y0We X-Received: by 2002:a65:694f:0:b0:476:ccde:6694 with SMTP id w15-20020a65694f000000b00476ccde6694mr235546pgq.603.1668504216072; Tue, 15 Nov 2022 01:23:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668504216; cv=pass; d=google.com; s=arc-20160816; b=bCUR33zlEEzGHkikUCFAh4A++Bg+b97hM21DxPZeFmMkFWPaVxGEq3Jhk7VTh9dMnz RPB9U7GH5QNceZzqZt/wmZjkJcBOzhAKdhOZCZUExcIWajxSqYcGYuZXHc05aixscdTS j03MH+HZIE6SOhox6oiJYYzMDmrhli4/m0x7g3sDcFyPhlbAbxXMAq0lGqxiPiBwBG8P QoTj/gdrMyayVGt98KZ3N97k2S5fSfVtNFMHVO3INjP1Rm7sZygbS5kLsPaZPpNM0JnT BHrsWmPjsdtRh/Utc9OKPYCrV/sVGUxOMD0RKepOENYFZY8k/RupFJ+W3WBrpDwMxBAW /ccA== 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=lVZcr/S99xNnQtY1GSazp191cisvYVqNqs7IKEpic50=; b=Gf3Cn2kLHdHQtVGLi4WtCadGCQVVxPx84+XMtu8sA1OiyfKFzdXXGDKjuf8t/wZJWS P5PasEy+ekpkiJzn0tXpNj1xHmVFr8mb739CnKyWpUBaknAl3X6/48/W+nmmdU0R6h54 IWUPBw+BjCBuNH5oc8NRWScl/2wh/bTEkfqILMkzfHgBO8NSAxsipNAp3bKU8YPJJKDw 9ySoig1L+/RegH6XJ52ONJLVqXg5LHZZuGuhpNIWCl06zQ8IK50/zEc6uRG+u3j1H6Cb g8BiXcoPGgYd+92la518f1cKp255E6TU4uwjj7GayYpuLwMPaDWJfuIWMieSlNXzWUM5 SKlg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=YajtzyHZ; 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 ne21-20020a17090b375500b0021409b2423esi14954964pjb.86.2022.11.15.01.23.22; Tue, 15 Nov 2022 01:23:36 -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=YajtzyHZ; 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 S237954AbiKOJRS (ORCPT <rfc822;zwp10758@gmail.com> + 99 others); Tue, 15 Nov 2022 04:17:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237986AbiKOJQq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 15 Nov 2022 04:16:46 -0500 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80070.outbound.protection.outlook.com [40.107.8.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CFF62314B for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 01:16:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LO5DnzhUXJ7Gz/9qBuQCs103DowjPqLyHVMthzTzoIRa/gc6P4zgi/RjtMSrlhYoCMDIznLemuKgUadGD7OrKgIn7LUaSUqNM26gJFdPwqyzaNVbe0Xvv9ttvccC6wz9kPqwHnF44FB3nsuRlrlmH7xSF/KOneafjEpa+PAazc+xnz53v2pK4lDnpsiG906g2C6MJcxH+yVRRrOzHj4k3Gq3b1k4YDPaWB2VMCwK97+RA2SyoCrLq623piWltWoc8Jkv1RDnQXjmgc0vMbC+j6sH9SceglHzr5PDDafoZwEDYamgkwrCEJQwjS1EE9SwGzh/t4r6htRG5rT8ohDJPA== 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=lVZcr/S99xNnQtY1GSazp191cisvYVqNqs7IKEpic50=; b=bI28K85jD++WTEoa+pbNfw49wj3C5FzlSjD5pZvP04wa0wzjsf1ca5YUQJkkPYiPoMuJC6Ni2wrnxL0Dugqs/Ih438uiEJ2MzZfB5l99JTyQLeglfnod8vn26c0w2a8v9lZCXm5+wdmlz7Y1/Uy+6tYOMT2DtQxm+5XJx9Wl8ZJYWsiXc2EaVqEE/lJtMqrXjyKleCWpSyW0bh77WmhMqMt67JEbWaRUyGSRZxX3R/XkbuJb0QNzqlYIaoLj5VBgdvF7wu8prJgt+sPs/J9U6MT134psG2eHlKnR/o1vdCvS1PaeJjUNI6tIC6KSGpiu+a1YNmuasvtY26kv/XjcqA== 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=lVZcr/S99xNnQtY1GSazp191cisvYVqNqs7IKEpic50=; b=YajtzyHZZQ6i5g4FkAflPk9akNDJTZLbZ2N5R5UTIoJ2hMY9jyFMpwSQJo/fgdDoKJPifyiTVEhZfWjr5ib49gtCP4SPMhCY2I4Atk9Zhxz/5Ja0jTULImM/H5Fe6oVK6eUDbZp1UPs7ScHcw2gxw6K4iKOPHzzthWyYSN/cDc4= 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 DBBPR04MB7899.eurprd04.prod.outlook.com (2603:10a6:10:1e1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.20; Tue, 15 Nov 2022 09:16:19 +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:16:19 +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> Subject: [PATCH V5 10/12] arm64: dts: imx8mn-evk: enable uart1 Date: Tue, 15 Nov 2022 17:17:07 +0800 Message-Id: <20221115091709.2865997-11-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_|DBBPR04MB7899:EE_ X-MS-Office365-Filtering-Correlation-Id: abcc3977-77a4-4764-b4b0-08dac6ea0e4e 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: 4zVV3zNNhxjilF/tysFB+E4doAvdABtmlErtlsm3AR2iqBcbyCTdm2LmTYnrifAVYFeD37vbHbgVSG3JiUh32pi3k5CJ8RN4WhESFWGuxpOdNrhjza7lAC+aHa/Pki2PO6zE5Jba64SeyyBk/SdKDSGSKewhaUoNltc6jAn+sw7GQre4iFjVzlbLRKVUNzMNEhxB9PjOyPNJhq7ow142vGFrvjkqSs0l6t2sdWdmaU9AwmhE/EloW7B2/j6RpAwlGK01RD4Fn0TieNq6eEamWRT5g1HLCS6gFbArPOd+Jy4hG108PwtjEfXUjIOI89gQUEThlhR5/KlPyMrLTtZCHegzKcswMDX+g1u04QfgM7ybEunsaaKdTeLy4As1gADLmwxXvJSTrZcaH17qKwy+BSlgadDXBmZHuZSknw9Wfd384CR/rFxzKbFQsxIvHTlaQ6APJ8NP3W7wdKU9r0GvC0GNtjMdf8H3mBipPg56xhEf2d7/eM9kfSP/zvBXuO2IqZr3Dy7LktsGgzOwlVqJ+wllgsFLCsxe3dUwMnbbBG7gwU2LqZcLSbKQ9qCYEpgLXcNEq0+Wy7QL6DDxJ4QXjeZWX69gEvQDPo1uyKbam42I+oPETNxEDhu86x3jBAZP95bMpmphVEVlnYxj7ojnIthuMyONqmcjlZFxM8XTRukKotM2skycO4CHfxdddFji5gc/H11bw01Yo8AgXSP6D8XLETDryJlu8bvwhdHkfkg9c0JqnXt6Vb4PeWiv0mbQAGh00YFSCwCBSR6chN8ZjIuSW8MqqYLfu1SgUIIGM++t2qFkJwBErtsL4VtVb1Rt 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(451199015)(1076003)(52116002)(6506007)(6666004)(186003)(478600001)(26005)(2616005)(6512007)(41300700001)(8936002)(5660300002)(66946007)(4326008)(66556008)(66476007)(2906002)(86362001)(6486002)(316002)(8676002)(38350700002)(83380400001)(38100700002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZMZxCgT8QfVYftl6NEUapEK/kDGZP+m8UFkxWxSlhFExyIQ67HUUp2VFdLkQr2QIxyw0biL13r8aDrgE7ygzDBVKzYGyG7FW4d7EvA/z6kO0qps1zuzwXWNcyiw0rpN4aKINv6l/6zTFjLeWWkzpBOQm/lPp06cLvyDDbaMmCnYiPhBhU9XIiOEK1fTaY+u6pfU224i3nQGmwHroDTMtVlziDq9w5le7r1Cj1VuWyjRXMlWLpZ2eaVLJ+36ZSmPaRZ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fV2G4Zm1y2i8HeHvCxMG8dlkzCTA1RwpXGYT1PQzWTJlOrYikdk38jsvdd4Kw2fZu1iGAPO3uSpFpN+m/+bivrQjviVpZrKbBeZ3Ez+lbbTj6bbWG79Mp4+5tSCL0uWGkl54FAgcbHF3nZUKqPV9q3s03QRc8YCst3adc2c7IRhz78Z48YlYaUNdyjSf0tTJjN3Xq9KgHAinmM37+0Lcnc7ah9uFTnsv6bzY7hD6C5D7l1bbQXCOr0j9yL28TAjAxYn5OvYo+fP0EL X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: abcc3977-77a4-4764-b4b0-08dac6ea0e4e 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:16:19.3219 (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: 3AKftR0H9AXNJm/25cXgGmSoPEUx9hLlgvWbE5nLSChos02VVHF6jNGej+mPmz3EGDJY3nF/iBJmsg6plM+Vig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7899 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?1749553476461388364?= X-GMAIL-MSGID: =?utf-8?q?1749553476461388364?= |
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 for BT usage Configure the clock to source from IMX8MN_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> --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
Comments
On 22-11-15, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > Enable uart1 for BT usage > Configure the clock to source from IMX8MN_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/imx8mn-evk.dtsi | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi > index 1971f095e4c2..12dc5d398a03 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi > @@ -247,6 +247,15 @@ &spdif1 { > status = "okay"; > }; > > +&uart1 { /* BT */ > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart1>; > + assigned-clocks = <&clk IMX8MN_CLK_UART1>; > + assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>; > + fsl,uart-has-rtscts; > + status = "okay"; > +}; > + > &uart2 { /* console */ > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_uart2>; > @@ -440,6 +449,15 @@ MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159 > >; > }; > > + pinctrl_uart1: uart1grp { > + fsl,pins = < > + MX8MN_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140 > + MX8MN_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140 > + MX8MN_IOMUXC_UART3_RXD_UART1_DCE_CTS_B 0x140 > + MX8MN_IOMUXC_UART3_TXD_UART1_DCE_RTS_B 0x140 > + >; > + }; > + > pinctrl_uart2: uart2grp { > fsl,pins = < > MX8MN_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 > -- > 2.37.1 > > >
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 1971f095e4c2..12dc5d398a03 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -247,6 +247,15 @@ &spdif1 { status = "okay"; }; +&uart1 { /* BT */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + assigned-clocks = <&clk IMX8MN_CLK_UART1>; + assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>; + fsl,uart-has-rtscts; + status = "okay"; +}; + &uart2 { /* console */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart2>; @@ -440,6 +449,15 @@ MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159 >; }; + pinctrl_uart1: uart1grp { + fsl,pins = < + MX8MN_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140 + MX8MN_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140 + MX8MN_IOMUXC_UART3_RXD_UART1_DCE_CTS_B 0x140 + MX8MN_IOMUXC_UART3_TXD_UART1_DCE_RTS_B 0x140 + >; + }; + pinctrl_uart2: uart2grp { fsl,pins = < MX8MN_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140