From patchwork Sun Apr 10 20:31:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 12808267 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 25EA6C433EF for ; Sun, 10 Apr 2022 20:33:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/h+ZpaFFrT3CzAy/YirZg+ZssWGfhJc7AoDuJtFTWZA=; b=0hSrd6jVZCFw7U lqGqWd+9GHHhDIBCMMK4SFsnopxEh/U7ExDUSNSOKr2gQesEJ9A4WB+YpoxLWIHcgYGg9aest9NOH +GIiM5t0aROgFZdRkIGh0/2r6gB6FK5CR4gsqCq7d8BpAO9kJ6byk876hLjHK29tsmQKHunUW2IO+ Yb+ye4pjtw/jcN12JpFqx8d0OkRhqaNZe5j4mtFnq1hrpRwtL60yGaqvIU9gGn2bR2J5QTUaW+TaZ ILN5vxhCaWtn60KRi0bPA0YBg2LLL0fBburzZR5f6IeLwphYGRCgo8vUuNK0FY6W+ZbPys6N4ixAd +YhMzH1zqvzRm74efRDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndeEa-005RTu-O1; Sun, 10 Apr 2022 20:32:32 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndeEK-005RN7-Ab; Sun, 10 Apr 2022 20:32:18 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1649622725; cv=none; d=zohomail.com; s=zohoarc; b=jXdnh4aUEPVVkA6EtiCcN6TSmImKgdp4fMgYb0Rv0FSjx5WTBIjPBcQ4RpG/yQi59H2et8GaGLCBLxn/D+tgbd6iP74HuWdPpO34v3jegKpI4TM3Z/Czv4/NpWaKeyxV+FAaCarXYnYB5J65Osii6CNG9iyWOvk1lVV8u6D4t4s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649622725; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=3Bdr3ICR42EV4+Gp0uVKnzUG3CsEtqwPWuz6oFmIFog=; b=PoySZ3s3FSrXk1zJTDM7EAidnQXtnpk+XRSnLy8YLBm3DjLR3HBwbb9TeZFXV7XtqbRlEP6CmFr7OB5sp4A9XDNo2+vDBQ4QV865v59dTJv9yjLvbp4RQPBIz0kMtpqQ8KTUKZR47ZnRcZ5R0zW7R1HkaiwjuQUEmUW/xCeqbOg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1649622725; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=3Bdr3ICR42EV4+Gp0uVKnzUG3CsEtqwPWuz6oFmIFog=; b=Q2FD6ild+jvJRxdxl6l7vDoExFiAXBM/GXvduyOuywZX1gC4oWtXnHqo5LX23rhC hMJD7Vq6k2DWUjzbkoVLymjV/nEv46PlKWBoOmcgdbPg8NzSSMHH0MNks27LlDw7d6c 9Vhyjqw8zBDTeqHji+ViPCVB2yeEakx3U0TgJ2co= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1649622724346210.97787152203682; Sun, 10 Apr 2022 13:32:04 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Sergio Paracuellos , Rob Herring , Krzysztof Kozlowski , Thomas Bogendoerfer , Matthias Brugger Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH 1/3] mips: dts: mt7621: add mdio label to mdio-bus Date: Sun, 10 Apr 2022 23:31:36 +0300 Message-Id: <20220410203138.22513-1-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220410_133216_514045_16E59ADA X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. 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 Add mdio label to the mdio-bus node to easily refer to it. Use the newly created label on the GB-PC2 devicetree. Signed-off-by: Arınç ÜNAL Reviewed-by: Sergio Paracuellos --- .../boot/dts/ralink/mt7621-gnubee-gb-pc2.dts | 18 ++++++++---------- arch/mips/boot/dts/ralink/mt7621.dtsi | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts index a7fce8de6147..b427ae9e081f 100644 --- a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts +++ b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts @@ -93,17 +93,15 @@ gpio-pinmux { }; }; -ðernet { - gmac1: mac@1 { - status = "okay"; - phy-handle = <ðphy7>; - }; +&gmac1 { + status = "okay"; + phy-handle = <ðphy7>; +}; - mdio-bus { - ethphy7: ethernet-phy@7 { - reg = <7>; - phy-mode = "rgmii-rxid"; - }; +&mdio { + ethphy7: ethernet-phy@7 { + reg = <7>; + phy-mode = "rgmii-rxid"; }; }; diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index 3222684915ac..40d0f28446ca 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -342,7 +342,7 @@ gmac1: mac@1 { phy-mode = "rgmii-rxid"; }; - mdio-bus { + mdio: mdio-bus { #address-cells = <1>; #size-cells = <0>;