From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3AEAFCCD183 for ; Thu, 16 Oct 2025 12:39:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RyUtjkO5Dx3bwD3ESxY3owdYu3eKu7j1RTp0Owu07Fc=; b=e8zVUI3p/EIaXr+AC7zVvZ9Hrs FNB8jSQXVJow6+1JRl1Fqks8nBiJGmt1otdZcwHReIViZbsERtzxdJ7c0dgABAGkX1oXT1Yt87wSo u3XKQwkQWqVf7XBWSDhspWGDVMW8IHr2Z1svAHGw5TUshWLdBrGxIvLhLsOAEesvcSty5FgNBBe2a ELSkVQHiNFuPcW1eQY8i383UdEqOpETKz2/PhTD1aaIIEjVIHBNf8wgVeddEujgU1gSEnlFl2CtE4 41ocyfOBCe9LJWFdEvAvCBPrfpmO7i7sQiQKh83lcYmTSO8rUFlJOK3UCSMbEYQEl2jLKfnLf6QDy VESOZp1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9NG4-00000004lTs-3cdM; Thu, 16 Oct 2025 12:39:04 +0000 Received: from pidgin.makrotopia.org ([2a07:2ec0:3002::65]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9NG2-00000004lT8-1DIB; Thu, 16 Oct 2025 12:39:03 +0000 Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.98.2) (envelope-from ) id 1v9NFk-000000001SH-1ypz; Thu, 16 Oct 2025 12:38:44 +0000 Date: Thu, 16 Oct 2025 13:38:39 +0100 From: Daniel Golle To: Sjoerd Simons Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Ryder Lee , Jianjun Wang , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Manivannan Sadhasivam , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Lee Jones , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lorenzo Bianconi , Felix Fietkau , kernel@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org, netdev@vger.kernel.org, Bryan Hinton Subject: Re: [PATCH 02/15] arm64: dts: mediatek: mt7981b-openwrt-one: Configure UART0 pinmux Message-ID: References: <20251016-openwrt-one-network-v1-0-de259719b6f2@collabora.com> <20251016-openwrt-one-network-v1-2-de259719b6f2@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251016-openwrt-one-network-v1-2-de259719b6f2@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251016_053902_323946_F4299B86 X-CRM114-Status: GOOD ( 14.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 16, 2025 at 12:08:38PM +0200, Sjoerd Simons wrote: > Add explicit pinctrl configuration for UART0 on the OpenWrt One board, > > Signed-off-by: Sjoerd Simons > --- > arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts > index 968b91f55bb27..f836059d7f475 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts > +++ b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts > @@ -22,6 +22,17 @@ memory@40000000 { > }; > }; > > +&pio { > + uart0_pins: uart0-pins { > + mux { > + function = "uart"; > + groups = "uart0"; > + }; > + }; > +}; > + > &uart0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&uart0_pins>; > status = "okay"; > }; As there is only a single possible pinctrl configuration for uart0, both the pinmux definition as well as the pinctrl properties should go into mt7981b.dtsi rather than in the board's dts.