Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6727848rwb; Tue, 15 Nov 2022 02:55:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf4fSSls2uhc1Zoj2alSdGWy4basOU2NE3jDHEN1N4EGrGQCR0YaVljIAjpxDjthUi+ILgR7 X-Received: by 2002:a17:907:1ddb:b0:78d:894d:e123 with SMTP id og27-20020a1709071ddb00b0078d894de123mr13041861ejc.112.1668509703349; Tue, 15 Nov 2022 02:55:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668509703; cv=none; d=google.com; s=arc-20160816; b=RB8b8E9tTOZCrey9ku15hP0yfhPmeH9xsu/tFbZjSCF0e8JdDZblZkYX7i1vINOzO5 1YXS9TRvys4IVWmZfRL8TFafM0ZAtUzyXRl5QMOlPUeD++GV1pt4Xp9tAXbRKFoPmXQq BKf4Srt3sCMPS5MX+xgYbbRav8xPnr/rLiUZ69jGoCCzKXlzyRLysJZ96s1Z/55/BQfE G+BtDc2bWDypLrnA366+MEP2DV2Rsx13hanM4Zvy6BBUPJHi9gKbrloTD2q00ULYS5Hr adAlTlYFElbLsQDRrdx9zAjN46j6lCd5XP7+KB9NdoPrfqFJ3ZlwZgSJAdm1WBDtFvQe 5f1w== 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; bh=JJrFaoX7pRg3P6JcnGvOhUPknqrsjZ5KOKYifuuz2OY=; b=NF//EEk85GHgHVSEKCgV0+LxWSP/56bV6ukFUPpRE7IWTipeDqSLwJO8+Z8T6c4e8M YDdp3B7qfHTnZkSlvbKWOcois5ocZmVPxeW9swndDb7EBJ2b0HcU3i+qlnt4BxvOgJCJ Zm9V0ed3+pw6uQVoH009rqxxFhoqH7VADG7NtOAgE51ydKqVMseK8AVkHZ2phyJ/tQdf 9Od/plTTpmCiqhfM6zbn8Ygnm4L8tooqrdlqsFHwMqjqW5DClXUb3sJ6Bie40Kktb3Mh 44Ntmdnhx2siF5RvwsOzAvt8qjw7VPM3INJNmf4qBSg1PnVtH6ncTiaqgfDWSWWY4yED Q8tA== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt5-20020a170907728500b007ae10525563si11887065ejc.991.2022.11.15.02.54.41; Tue, 15 Nov 2022 02:55:03 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238223AbiKOKI0 (ORCPT + 88 others); Tue, 15 Nov 2022 05:08:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238217AbiKOKIS (ORCPT ); Tue, 15 Nov 2022 05:08:18 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 730D524BFF for ; Tue, 15 Nov 2022 02:08:08 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ousrN-0002UD-TS; Tue, 15 Nov 2022 11:08:05 +0100 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ousrN-0007Ai-Hd; Tue, 15 Nov 2022 11:08:05 +0100 Date: Tue, 15 Nov 2022 11:08:05 +0100 From: Marco Felsch To: "Peng Fan (OSS)" Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, Peng Fan , linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH V5 10/12] arm64: dts: imx8mn-evk: enable uart1 Message-ID: <20221115100805.lusj3iwbvo72tac6@pengutronix.de> References: <20221115091709.2865997-1-peng.fan@oss.nxp.com> <20221115091709.2865997-11-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221115091709.2865997-11-peng.fan@oss.nxp.com> User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 22-11-15, 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 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 > > >