From patchwork Wed Nov 4 20:29:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vivek Unune X-Patchwork-Id: 11883059 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25B3EC00A89 for ; Thu, 5 Nov 2020 03:44:50 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9C7D8205F4 for ; Thu, 5 Nov 2020 03:44:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Fh7b75Vx"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="jsHay2X9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="g95i1Aqk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C7D8205F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sNTgf3KeeJNKVK3t2g1jOFDcfZopYy/LniJCyIDY4PM=; b=Fh7b75Vx6DjZZ2wSDIlxl6O67 Xan8LD1kgQhxMZ2lbXaHyuAliIcxi6DAkXkLNaMkCxzSV62sBs7I39IixSuu6yRs2AVtgfGSyJZDn ivf08D2b6nC4qiIj0uFNtUp+xQGhetMn7sWdsHRnP5A7oUrlprkvCS53x5zm8P8TeLEAGO5M8Cw/2 IAIx/XjkRCQ12lF9wCSyKz01S0lKIpm/OqYdajaEne/DDqFm7MtrZR8flr6Eu35+djR2TvV0G4Qzd 1Cfnx+Mz7yB8GYR7eepiC219SV/dPBr50yRR1IUI4vZIrZNDpVioimU9SIn2Zm9BB+ctEml5sCoNa 8k+b9sWvA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaWBv-0004ZT-NS; Thu, 05 Nov 2020 03:44:03 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaW9j-0002bw-6q for linux-arm-kernel@merlin.infradead.org; Thu, 05 Nov 2020 03:41:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=ek3K8iI1zMdC0w+5jsCH6CWA0/XrhqEufphNJ3p/9Xs=; b=jsHay2X9qlCtlkwdY6c4FpfbJr liwH2rE6lTfrLJKzc1lVF/CA8rrnOmwtB6TbUCfULk8c4gSX8z3lSvbjQktWN+M/P5oD5nsorFa+g LxhKI/jAxflvsgVI9A/VkK4rlB2qQVvlHJ9Hd45N8tkYa7UBWfMh+jvVreG0gXt273uCbprVOgIL5 cGKOHm44UtWRCqFHXy3UEw7Xui2MNeiAZhjLeSH+wbHcehc5H4XfOnZsZGTnRNR+BFB/kpduAHQGM wRgvuZ8t7OUlICZejuSKXPhoNHh8rrgJo6RSjo2i1Nl++xS7/u1LifJHb7v9zQZUN6Coe2iHGtCse 7RvX//IA==; Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaPR9-00057I-DE for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2020 20:31:22 +0000 Received: by mail-qt1-x829.google.com with SMTP id f93so13152038qtb.10 for ; Wed, 04 Nov 2020 12:31:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ek3K8iI1zMdC0w+5jsCH6CWA0/XrhqEufphNJ3p/9Xs=; b=g95i1AqkuuhFXDmh6uyOVur43Q3X0IN8KH+hWF0P8JRIt8xA9tGoFZhZRjyOIe4Pb0 PB0uGpdbvOd+yBpCFDkqDVDLyNKoODdhWEwLkUGuLo1qxeGpOWiK0ma2XB5mwWMaeJHa 9siT1uXeb5TtHwNmqSav9B0l4Jqy9liebmtoRXcpEheZtyGluK5YdLTFPzD3pNXsY+7v 3npQCOHNNEU87YAClonb7YBGx4bBW04JxGpbHGROdj6Mw0PsS+A2zrFn3MjavC7WB+th sdR2lkirOBXAe/yu6D+SqbEfKZZmZ0rjI0WjKqupxXIuOWHvM4st0p33rkasyo4mY+pI vSTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ek3K8iI1zMdC0w+5jsCH6CWA0/XrhqEufphNJ3p/9Xs=; b=Sr39Itlur5gOaG76qnPg3yeqkrVLoQjRn8VpNHNajvDPZfiHlHt/KMAQB/OpqowjTo E+nMrPRUYFfun2uIQeYYNXKPnm5JO9YKpm+SQ6xinhGC7fX9cI5a9ksflJcopjU27bJ0 nrQOJNrxT+4iOZ9tIapVoHbb2vETHedvIke9i4cDRM8y2cB/kFf174UoCf8I1djxAGon 5FZosw3ttStDIaIOBO41jwD05ZtCQNtkYsiUzGNBKS87SJLcWzOM4CvkkcGZCy4PZNa+ 2rMZaF+pERFuxTtIRJNTgnv088AI1TZn8e0GGO+vegGMmzlbgu7FzluJSSyAniYYepEF zhig== X-Gm-Message-State: AOAM533DQhJ7pIwHeBBU3IuJebpfPfO4SvQsOoq4PLBZRxtOhZ55/Q+H lHcJncCM4et/5Gx45Jil+f4fQRj7XdzXOA== X-Google-Smtp-Source: ABdhPJz+3RYoFYd72i+kB98S9EY90DHnUrThzc8ncobrH1obv0E77rdEO9U1qhzKvtPM5K9lR4mijg== X-Received: by 2002:ac8:74c:: with SMTP id k12mr21133318qth.32.1604521814980; Wed, 04 Nov 2020 12:30:14 -0800 (PST) Received: from ubuntu.localdomain (ool-45785633.dyn.optonline.net. [69.120.86.51]) by smtp.googlemail.com with ESMTPSA id q14sm930435qtr.20.2020.11.04.12.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 12:30:14 -0800 (PST) From: Vivek Unune To: florian.fainelli@broadcom.com, hauke@hauke-m.de, zajec5@gmail.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] ARM: dts: BCM5301X: pinctrl - use correct driver and define mdio pins Date: Wed, 4 Nov 2020 15:29:51 -0500 Message-Id: <20201104202952.783724-2-npcomplete13@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104202952.783724-1-npcomplete13@gmail.com> References: <6687de05226dd055ee362933d4841a12b038792d.1601655904.git.npcomplete13@gmail.com> <20201104202952.783724-1-npcomplete13@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201104_203119_898950_E2C5C69F X-CRM114-Status: GOOD ( 13.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vivek Unune Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org BCM47094 version of pinmux uses different driver and supports mdio pinmux pins. Hence, use the correct driver and define the pins. Signed-off-by: Vivek Unune Acked-by: Rafał Miłecki --- --- arch/arm/boot/dts/bcm47094.dtsi | 9 +++++++++ arch/arm/boot/dts/bcm5301x.dtsi | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm47094.dtsi b/arch/arm/boot/dts/bcm47094.dtsi index cdc5ff593adb..747ca030435f 100644 --- a/arch/arm/boot/dts/bcm47094.dtsi +++ b/arch/arm/boot/dts/bcm47094.dtsi @@ -8,6 +8,15 @@ / { }; +&pinctrl { + compatible = "brcm,bcm4709-pinmux"; + + pinmux_mdio: mdio { + groups = "mdio_grp"; + function = "mdio"; + }; +}; + &usb3_phy { compatible = "brcm,ns-bx-usb3-phy"; }; diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index 3e55ff4fb550..cfc08cdd590f 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -428,7 +428,7 @@ cru@100 { #address-cells = <1>; #size-cells = <1>; - pin-controller@1c0 { + pinctrl: pin-controller@1c0 { compatible = "brcm,bcm4708-pinmux"; reg = <0x1c0 0x24>; reg-names = "cru_gpio_control";