Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1447783rwb; Fri, 18 Nov 2022 19:29:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf6jVgF/u7p8+L5nq9SAz56pGAs/nfaMk5u8eB3EUXFGTxQuYO1lHhgxJpoGh+KNmxLHXAhO X-Received: by 2002:a17:90b:711:b0:210:9858:2b2c with SMTP id s17-20020a17090b071100b0021098582b2cmr10907578pjz.191.1668828556170; Fri, 18 Nov 2022 19:29:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668828556; cv=none; d=google.com; s=arc-20160816; b=NOPIro9fIPV+qjE/PQ1DmCxa0RnbZML30FxenOHt2jPp823gPBBGEXBn4tUkO8d9GZ rIFoCTmDRZJqI9aNsVt234NvO4l8LsgCBGkvR2SK3j3OgcLu17uT71KAWJb2c580dRTD l+WbIkYdD3SqDGYGUEMOVLff2dJNHh6gmvuQG1CuhzHptWHIbMl6WCMa3KG9aVTI1vH9 uxJ1TpF7f/ptzCd/fbJQahUCV/xWbAcis21MJSnqzG6zXbjrF0GGmycBzbU0zww5ioQt 1updrTvcoA6wxWtKsRGUFb180rbrEseAAvQt940Qt0t6dGg/Zbjn225MGaKka53R0amV /GCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Xb8p9a5qqrJrqKWARbeDzz808xQK6coIhW5UvpwWmnc=; b=HZ5zGJdV9CwqfrJxzt9peIxvcK0z47xX/gbXOjh8WDijHq2aADeTJl3LWIfsPAQSxV U/pkO5lzMyopTvlFE/X5ySzBUhm3vxwDGkbBC319mOYFTaQy4mGn8LN5y8IWwEC1hiER DhH8u/yds6n3joiCJfW991JZ3RHPmgIJkhrN2ruqs56rIbZxv/rFaGR4JdyXBA87B84W XrQK8HFYjxg2sLqmisU5uC/ymRT+vYYApmhZgLZw4UrxyLTv5hFfB2wVNuBhKNah7Llz i0TSOJqBLfTwEkJUM54N1zcw2ailEMh7Waq9d8+IXLHPyXiFJJ3eZw+rfm/4vSjl6fN2 Dc4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B9qHeaMi; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y23-20020a056a001c9700b00571d38602bcsi4836374pfw.295.2022.11.18.19.29.04; Fri, 18 Nov 2022 19:29:16 -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=@kernel.org header.s=k20201202 header.b=B9qHeaMi; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231945AbiKSDKy (ORCPT + 90 others); Fri, 18 Nov 2022 22:10:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230171AbiKSDKw (ORCPT ); Fri, 18 Nov 2022 22:10:52 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FE7C6B210 for ; Fri, 18 Nov 2022 19:10:51 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3592560B35 for ; Sat, 19 Nov 2022 03:10:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9974DC433D6; Sat, 19 Nov 2022 03:10:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668827450; bh=/wFZSz9BsO4d5OVNvC1Agf8X5c4DoBk4OzwwoSfgXGc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B9qHeaMicAY0xiMxnB0BTkswYl0H0rrM9JaT4GoajBcUMLTpbn3DipLU8ldRAonT6 xsi236PTlBccVaXVc6XEadbYls4Yt+Wnpq1QrLv7wrC9MYNXXprFT0Qvoa0XqQQeJJ fYs5G8RBd9wXAtpBABJe/QWQeEBaXhevRXqTdBqqs05WzjGLE0IZmiqvzhcgAGxVOy JwiIMO5jVkC8gTXW1Bl90WzGfPe/KwQQXRcOuMccZDoo0PG95eFacvxGQahY07MZzO MsAYSxyFkiZPc6Cth2knE59AusdZR2IfhGtw3neuyCv3YVEi7yK0YfD08gNKk2H5J6 KwdIMbg15Th6w== Date: Sat, 19 Nov 2022 11:10:42 +0800 From: Shawn Guo To: "Peng Fan (OSS)" Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan , Marco Felsch Subject: Re: [PATCH V6 10/12] arm64: dts: imx8mn-evk: enable uart1 Message-ID: <20221119031039.GK16229@T480> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> <20221117095403.1876071-11-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221117095403.1876071-11-peng.fan@oss.nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 17, 2022 at 05:54:01PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > 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 > Reviewed-by: Marco Felsch > --- > 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 2439b91e51d8..dfa11927b1d7 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; uart-has-rtscts Fixed it up and applied, thanks! Shawn > + status = "okay"; > +}; > + > &uart2 { /* console */ > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_uart2>; > @@ -444,6 +453,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 >