Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp58045imj; Wed, 13 Feb 2019 04:43:02 -0800 (PST) X-Google-Smtp-Source: AHgI3IaZAswqWHLCoXFQRTEkumoeb36Cy2Zl2C0bD617gKN1tMlkFnoknHiEV7Y6maERRd8QtJsi X-Received: by 2002:a65:6242:: with SMTP id q2mr279011pgv.245.1550061781961; Wed, 13 Feb 2019 04:43:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550061781; cv=none; d=google.com; s=arc-20160816; b=HD1GuCKc0FrgZckgac22qcgESZTQtb/ERSWuhwVltKtDqPc+m1S86x1r56Z6DVogMp INZCwo1zKv3p7ERkK9Kh4KzYXl66Phtuup0/izwh+zAIeN1eGIxtuk3Apss7EcFMwBNl jxyX/HcuJUaiNg8/D2S9nRCWHrgSpXmsButnQ5SwDI45B9U14MqG+/L3rKUi5gn15cWO kjx23P+6ZYqIMo5z3ofwujrCZ9eKQzBzJAsYEsnn5pX5dU8ZKfbVuN/hklQVU8LSBxW/ K8WnEISiBZEXVlfkOrK3tJDEQShxeLq4gxJzZZSQG+bDPZgWzoobg/oo/CRDzuxRXWRO u3xA== 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-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=fHcGxz3V88oGQhykUNeVVZN70O0EhRcnJWcib7mocSQ=; b=Y7WHTzRGLek5TjiRJypY1wWt0q0zd+sI0oArORwRaneWslS1A5MjgD40PWDfm1/jGw kwIfKyRDdLpOTi5mzcLezpj7LWe03c2OpKApdxKlFMsS8dNMZPauN7ub3hhkcbf1/uA4 SCLlWUyi2/gnCSuviPTe1gMdK/lQJgf3CQ9GnWbDaPFC8WT2SlgHSwGxtc3cjrPKHhcP ijMh1XDge9NlKTN0pJAYbysL5kPFKCQqzFSW4x1gwUJiOhIiHFyuDAjiRQF1CxfhzLai uhEEslyqygscFqOj0aJm6Bl0L/Lrd5ZSfEiTHibGIZmOmy0GRGKNOEZDcJP/o8C9YR2U CDTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UOBXau6B; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m61si3675439plb.43.2019.02.13.04.42.45; Wed, 13 Feb 2019 04:43:01 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=UOBXau6B; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390376AbfBMIHf (ORCPT + 99 others); Wed, 13 Feb 2019 03:07:35 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:33173 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729612AbfBMIHe (ORCPT ); Wed, 13 Feb 2019 03:07:34 -0500 Received: by mail-lf1-f66.google.com with SMTP id q12so1082152lfm.0; Wed, 13 Feb 2019 00:07:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=fHcGxz3V88oGQhykUNeVVZN70O0EhRcnJWcib7mocSQ=; b=UOBXau6BHAsTofr53bBkRVeGAvV1PEfVNhteIEGtw+aslAiL+Jf9oxf2HHlT/OEU2q NACA9f4jjzyFACtO0GRcnMgSH3/QzQtivCAN4zcYuNCFD5IY7DYfIS+FcMYuA/6bUERy Gyfqn+vRGIPJISsXCPKtNi7hR/6/T5D4hrA/xBwDd3810fGzFlxM4TpyLh771uMx+47G A2MBaeTU7SKAiZHuFt8zw2dBElWQMp3PEBA3mDL74dIZ9n4H/SnpjyKvPmCCw+oC7+hX E6zY94HLyWD+xXQVSo6EMTVKCzdlo7C2buQbS56+YxE84/UAS6+COxst8znFGJUY33XW NSog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fHcGxz3V88oGQhykUNeVVZN70O0EhRcnJWcib7mocSQ=; b=SAMV+i0m2yWM2+CyPz+BuDFXdKxUtFKoSuYv3gAy09Hjdm7mrKNr75dWEtAyQFPgXG CJizUJjM86SCtH5rccAfmwMQ3zzzktYjmjXxhKJ4zqDqHG3Hp+tXplhQ7tsrak/JLftp lu25fdo1JyXHyd6Zf2O7SNrqsq9L4bVTF90qIJXJuri6FrU3Q4qTklRKZffDOhILS5kV fObZGYDX110iXbaD3zieT2rlThx2TMxm1LHitryvJl4AoEHcZ+QYIlZUCOPfIfdOq2ES +RAQhoa4p34OymWCLGxeRLcAVbHDLhwj045fjmUS0dFUXIdn2m7SoH1ZJC4+cjzmCWdY yczA== X-Gm-Message-State: AHQUAuZk7KRnbGjx+VpKI5XK+qn4xPLcr88WX6vJPdZLENPf6JKpQp4v kzRkxw9RDs/bMfuccnOgUdG144cKy3s= X-Received: by 2002:a19:914c:: with SMTP id y12mr870894lfj.55.1550045251623; Wed, 13 Feb 2019 00:07:31 -0800 (PST) Received: from elitebook.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.googlemail.com with ESMTPSA id z17sm3902977lfh.9.2019.02.13.00.07.30 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 13 Feb 2019 00:07:30 -0800 (PST) Subject: Re: [PATCH] ARM: dts: BCM5301X: Change Ethernet switch management port To: Florian Fainelli , linux-arm-kernel@lists.infradead.org Cc: Hauke Mehrtens , "maintainer:BROADCOM BCM5301X ARM ARCHITECTURE" , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list References: <20190213042600.27729-1-f.fainelli@gmail.com> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Message-ID: <43f75739-b592-35d3-e711-13f05218133d@gmail.com> Date: Wed, 13 Feb 2019 09:07:29 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190213042600.27729-1-f.fainelli@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13.02.2019 05:25, Florian Fainelli wrote: > BCM5301X has 3 Ethernet controllers: GMAC0, 1, 2 which map to ports 5, 7 > and 8 respectively of the internal switch. Future changes will turn on > management mode in the Ethernet switch driver (b53) which will require > us to use port 8. > > Signed-off-by: Florian Fainelli > --- > arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts > index 3fced3b7f1a8..affa9cc7422d 100644 > --- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts > +++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts > @@ -150,10 +150,15 @@ > label = "wan"; > }; > > - port@5 { > - reg = <5>; > + port@8 { > + reg = <8>; > label = "cpu"; > - ethernet = <&gmac0>; > + ethernet = <&gmac2>; > + > + fixed-link { > + speed = <1000>; > + full-duplex; > + }; > }; > }; > }; I'm not exactly sure how Linux switch driver works, but from DT perspective I think we should rather have *hardware* described instead of a common Linux case. If I'm right, we should rather have all 3 switch ports described (5, 7, 8) and have Linux just use the one it needs.