Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4646930ybp; Mon, 7 Oct 2019 11:33:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzknqhVmDFvGl0VattcEoGVh3bMMMZ/nIeZekuzEDdU1y++sSEQFJG+dF0AhhxMxWGGMCaq X-Received: by 2002:a17:906:4a06:: with SMTP id w6mr24615993eju.214.1570473220401; Mon, 07 Oct 2019 11:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570473220; cv=none; d=google.com; s=arc-20160816; b=VuokXT68DLdVeFkYqaLSdKk2ZxWkAlTeCK7wzc7lkoUb5FUspkLtURwV1YCNnGgLdB 9+Lo9eJcRAmMi+5rxr0ag/MXn9MgfwuiEgOuTrdfaiRvvWU/4otcVcR1kCuikBIFC0Jm jXX9FSxgR6DULpzurMOzZmXNSe5Ys/u6ZIA9uitUARZIKFHaQuFfoeDX8KDacsNkXvcS 6JXEwnxO970BjvsDZpdDiqqCzWsVKP147kvj4vM0VByttCbbqPdhU/BzCnfV23UHAlcG HaXbwB9SN24KrXYZhAYsBMbFHo9CeKdr+70o/9Q9NWYyAYxF1xgrQ/NYTc3N/B9lgogt f8LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-disposition:mime-version:user-agent:in-reply-to:references :subject:cc:to:from:message-id:date:dkim-signature:dkim-filter; bh=oeUXtc8+vJUoOsszOZiNMTAuDgvF7gVaUUppHe+ivDs=; b=cIhkvVe/ofgbB9fm0v/tm/srW4erd7kpSwbP0ClvC+cS8DEk12uO+pHLDdv95zS69Z Uo2lubO5rbeRs0KMa8tdF+ZHp2+X5F16AlfGvYh+QxZlhWXIjDH6ifN3o/Kmuoc7zXLL VaoG9fFlnuKo563BcSU8GlNPhqMVdUaUEk2cvWRrRdUhG005iSKTxmgBzevKgIwujEPD Tmj2y6gXi/OCBfgDCOgTaORTKfMzKmTlrEfgnAOyIJhpo9BUOOdvGe+DH/UACHPu+IPd jU1iFDLEv2tlYebFbqLWLo/rm6Cv+9qx2FGHOFz/9rLdF6o+s8gnYXBZbUVV2e4RcziN TlGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vdorst.com header.s=default header.b=mm8Yuqtx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=vdorst.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id om23si7530347ejb.194.2019.10.07.11.33.16; Mon, 07 Oct 2019 11:33:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@vdorst.com header.s=default header.b=mm8Yuqtx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=vdorst.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729475AbfJGSaa (ORCPT + 99 others); Mon, 7 Oct 2019 14:30:30 -0400 Received: from mx.0dd.nl ([5.2.79.48]:58346 "EHLO mx.0dd.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729433AbfJGSaa (ORCPT ); Mon, 7 Oct 2019 14:30:30 -0400 Received: from mail.vdorst.com (mail.vdorst.com [IPv6:fd01::250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.0dd.nl (Postfix) with ESMTPS id 9DE365FBBE; Mon, 7 Oct 2019 20:30:28 +0200 (CEST) Authentication-Results: mx.0dd.nl; dkim=pass (2048-bit key) header.d=vdorst.com header.i=@vdorst.com header.b="mm8Yuqtx"; dkim-atps=neutral Received: from www (www.vdorst.com [192.168.2.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.vdorst.com (Postfix) with ESMTPSA id 6BE083BE06; Mon, 7 Oct 2019 20:30:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.vdorst.com 6BE083BE06 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vdorst.com; s=default; t=1570473028; bh=oeUXtc8+vJUoOsszOZiNMTAuDgvF7gVaUUppHe+ivDs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mm8YuqtxOrunMTWQvqae1DMbOjOq5dOxsJMqYnJJKWaI5MWLaBA9W95gRc+IzvxAB VPV0/5ViKt+5mrvD/UmWsWZRXWG02J1D/1T8YrUl2pjpH8G07AMOkaYEKrk63/hnKn kG69zGZnI79LTFLHhWOT07W+eBytmiWFvPcCa+8WYf7/KCrYlvLvSkPKxvZNP4C5nq 6vsPF++aHxIk888XzyvcVXFVKNJfe7XfarD+0WG8SC9SoA4tc0ZouCV8XAHhsFJajG AQR4d4AievSJPr03oIQHeajuYJMG1b+vuVXjAdeHWWnRH69aVDQmeYueLGZglbL9RG kDwRLx6+4SdLQ== Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by www.vdorst.com (Horde Framework) with HTTPS; Mon, 07 Oct 2019 18:30:28 +0000 Date: Mon, 07 Oct 2019 18:30:28 +0000 Message-ID: <20191007183028.Horde.dCYJA3Xp9mBh_Bs9Ixa7Sh0@www.vdorst.com> From: =?utf-8?b?UmVuw6k=?= van Dorst To: MarkLee Cc: "David S. Miller" , Sean Wang , John Crispin , Nelson Chang , Matthias Brugger , Andrew Lunn , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net,v2 2/2] arm: dts: mediatek: Fix mt7629 dts to reflect the latest dt-binding References: <20191007070844.14212-1-Mark-MC.Lee@mediatek.com> <20191007070844.14212-3-Mark-MC.Lee@mediatek.com> In-Reply-To: <20191007070844.14212-3-Mark-MC.Lee@mediatek.com> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting MarkLee : > * Removes mediatek,physpeed property from dtsi that is useless in PHYLINK > * Use the fixed-link property speed = <2500> to set the phy in 2.5Gbit. > * Set gmac1 to gmii mode that connect to a internal gphy > > Signed-off-by: MarkLee > -- > v1->v2: > * SGMII port only support BASE-X at 2.5Gbit. > --- > arch/arm/boot/dts/mt7629-rfb.dts | 13 ++++++++++++- > arch/arm/boot/dts/mt7629.dtsi | 2 -- > 2 files changed, 12 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/mt7629-rfb.dts > b/arch/arm/boot/dts/mt7629-rfb.dts > index 3621b7d2b22a..9980c10c6e29 100644 > --- a/arch/arm/boot/dts/mt7629-rfb.dts > +++ b/arch/arm/boot/dts/mt7629-rfb.dts > @@ -66,9 +66,21 @@ > pinctrl-1 = <&ephy_leds_pins>; > status = "okay"; > > + gmac0: mac@0 { > + compatible = "mediatek,eth-mac"; > + reg = <0>; > + phy-mode = "2500base-x"; > + fixed-link { > + speed = <2500>; > + full-duplex; > + pause; > + }; > + }; > + > gmac1: mac@1 { > compatible = "mediatek,eth-mac"; > reg = <1>; > + phy-mode = "gmii"; > phy-handle = <&phy0>; > }; > > @@ -78,7 +90,6 @@ > > phy0: ethernet-phy@0 { > reg = <0>; > - phy-mode = "gmii"; > }; > }; > }; > diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi > index 9608bc2ccb3f..867b88103b9d 100644 > --- a/arch/arm/boot/dts/mt7629.dtsi > +++ b/arch/arm/boot/dts/mt7629.dtsi > @@ -468,14 +468,12 @@ > compatible = "mediatek,mt7629-sgmiisys", "syscon"; > reg = <0x1b128000 0x3000>; > #clock-cells = <1>; > - mediatek,physpeed = "2500"; > }; > > sgmiisys1: syscon@1b130000 { > compatible = "mediatek,mt7629-sgmiisys", "syscon"; > reg = <0x1b130000 0x3000>; > #clock-cells = <1>; > - mediatek,physpeed = "2500"; > }; > }; > }; > -- > 2.17.1 Reviewed-by: René van Dorst