From patchwork Thu Jun 27 07:58:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leith Bade X-Patchwork-Id: 13713918 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 87238C2BD09 for ; Thu, 27 Jun 2024 08:00:32 +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:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=q4DjhfkRszKoe5oPh3mJCAe0ASyt5TfGg8KpZA+jjx0=; b=WSr/lIk2mSbKHKCb17pO3wNNw5 l/kXQQMjylI3KejNJa4hBjjUJZspJwoKx70gCuPqcXiqu3ThGBll71c7tUWH1F+Qhctyexy0BDl/c HLZbZaYXu0Par8aT9AzuskS233u1w5i814TZINNnYsy3JH/ZPp08j5UDc2lzBQOEtxV/ASsYHE564 XgUP5dES6tLgjn6MAw9h7DXd2NxhRGw7OJDXco8KX/Sw5l0uocApxtAkkjQ1LqHydnMtat0xUbaAC dhK+Fra5aMrcG7N9HH7TSzkio7iW2jsavDonPAXprEIS+qHXTTd9NRZM9JAdOLbK3qQiKv2XUsf0R lPjXLOog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMk3H-00000009f0l-3XhS; Thu, 27 Jun 2024 08:00:19 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMk2t-00000009esg-48H3 for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 07:59:57 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1f4a5344ec7so11086155ad.1 for ; Thu, 27 Jun 2024 00:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bade.nz; s=google; t=1719475195; x=1720079995; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=q4DjhfkRszKoe5oPh3mJCAe0ASyt5TfGg8KpZA+jjx0=; b=dn4AEn3Q0wGWustofrNs6gtQ7uOwWO6HDc+qS0UNAGj8GjvpUwl8ngEnUKNdW6kFm7 BEnY6AU7ZMgav5oYf5pcRvSIsBXDwW2OjTgtfBgbL4REQWjYgjmLAN6ZjMGKEDJbrZCl 5zFJlYdqW51CAber9H/mUTo6uNQH4k7+kU1aBfRaEI2/ZqVT5c7rfpbA4Y8y5b15G5wb rFOjj39zu73NgOY85IZUoN8VAB4DNx4QIGBcoH6MhTnOV5IFM2wJ9Qxtx19oQVO1rZiy sdcoDFr8MePn204QIcwbyAQNShKOxKrYYWGMIWXhWXK7+zj+mPnomDWUc5uy6rneyeIY RfUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719475195; x=1720079995; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q4DjhfkRszKoe5oPh3mJCAe0ASyt5TfGg8KpZA+jjx0=; b=aQVZjqY88xwkfs20Nksn5XlmTVXp28sBaoUuw4jGR6+EO28OC80hXIGvyGtwhhVan7 3Ao1oYv6NfeNuXV37H7Zcn2U9VP66TZSPgD6nq5q97fvRuhpBq9adEuFxuKEU/dGpyYE ARWnwc/yrA/hLzv9WPLGWrODbVxbhY4DfbLy/eeL3KfDvNMTtTZAejMernfRwuIKjZXe r1O6n3uNCF0KpiSNElEt+RzoNq6JogMdOCu7sJycxw/8fvUMBRYhRojT4Vff8Q9NnPaB 5a+nCjccSvmDmD9VvSNRPQYqKSqGnhLnYPf9DIpggUzpP1EVf53XpOSLXhG2vIv4mgjV E0lg== X-Forwarded-Encrypted: i=1; AJvYcCVWz20cljRDDStGxnu/vtkx782iPXAk/1lJdmO4ofAno7/zrRBsbDq2Ke0uM9zjMlfHs5rATMDoQ7cFcD6rB66irN1eFcg0dHBbmmlnvscM0hdWdSw= X-Gm-Message-State: AOJu0YzSVpqOVl19DvRYto/7grnWN6WOi9hf/22Tdn/ZWhPZpuhfitNs jCVM1Zwv2YOAXblauzJK033BEw+CUEXJ/pP4YAWHwa+Q8xyap7llKssFqw4SEQ== X-Google-Smtp-Source: AGHT+IGFxtbZWAj2r9WPTPIPxXPYFLn109hfACu8p35/RA7zE8bhOqk7d/KHHpV8aS7hPB3fyrSIWw== X-Received: by 2002:a17:902:c945:b0:1fa:2b11:657d with SMTP id d9443c01a7336-1fa5e671d16mr135158015ad.10.1719475195391; Thu, 27 Jun 2024 00:59:55 -0700 (PDT) Received: from localhost.localdomain ([2403:5816:cd6c:0:6d45:ae2f:1ead:bd58]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1faac9c4cf4sm7181895ad.290.2024.06.27.00.59.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 00:59:55 -0700 (PDT) From: Leith Bade To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, frank-w@public-files.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, didi.debian@cknow.org, Leith Bade Subject: [PATCH 3/4] arm64: dts: mediatek: mt7986: add missing pin groups to BPI-R3 Date: Thu, 27 Jun 2024 17:58:55 +1000 Message-Id: <20240627075856.2314804-4-leith@bade.nz> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240627075856.2314804-1-leith@bade.nz> References: <20240627075856.2314804-1-leith@bade.nz> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240627_005956_085329_B4345AC5 X-CRM114-Status: GOOD ( 11.36 ) 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 The uart0, mdio and switch nodes are not connected to pin groups unlike most of the other nodes. Signed-off-by: Leith Bade --- .../dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts index 2cccbec39d34..54087001cc8c 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts @@ -194,6 +194,8 @@ gmac1: mac@1 { }; mdio: mdio-bus { + pinctrl-names = "default"; + pinctrl-0 = <&mdio_pins>; #address-cells = <1>; #size-cells = <0>; }; @@ -206,6 +208,8 @@ switch: switch@31 { interrupt-controller; #interrupt-cells = <1>; interrupts-extended = <&pio 66 IRQ_TYPE_LEVEL_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&switch_pins>; reset-gpios = <&pio 32 GPIO_ACTIVE_HIGH>; }; }; @@ -335,6 +339,13 @@ mux { }; }; + uart0_pins: uart0-pins { + mux { + function = "uart"; + groups = "uart0"; + }; + }; + uart1_pins: uart1-pins { mux { function = "uart"; @@ -349,6 +360,20 @@ mux { }; }; + mdio_pins: mdio-pins { + mux { + function = "eth"; + groups = "mdc_mdio"; + }; + }; + + switch_pins: switch-pins { + mux { + function = "eth"; + groups = "switch_int"; + }; + }; + wf_2g_5g_pins: wf-2g-5g-pins { mux { function = "wifi"; @@ -471,6 +496,8 @@ &trng { }; &uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins>; status = "okay"; };