Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp713716ybh; Thu, 12 Mar 2020 09:45:03 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt61DisFT9DefK38G3znzXukESNgnJJsa1akFFNTnC0vaYBmD+rn6PH1hh1gT3sdJ8R6Nl8 X-Received: by 2002:aca:4843:: with SMTP id v64mr3203220oia.13.1584031503409; Thu, 12 Mar 2020 09:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584031503; cv=none; d=google.com; s=arc-20160816; b=oBi1uX5xzoWX7lXultHIFx4NXWYmk4y2u/7dc7gHYHaeumnb6SLDTeprPeBhUIn0Ej ZhuM1F5hVOJpiyAGu5DaA0x4lNqkMLYih/n+Upq97HHkM63csP38nv2XvOCbBuR3XO8V 4RGvwnUeMZcRQMWh6TqC8pDTZEN+7vsB6YOJWjebwzRk3Oio7yh9MSrITp/bIjbdK+sm pdIQvJHrFBn73nnnFKlroEYe71h6anZVPIU8nJQeXxlKA1Y4ma1wkU1NnGdGQWKCqBbj Dpx5MMcHNEs17bjTgTVlWb3tpLIf9LaQkr7WooVHOEqNEIxBqKQwFVlOnrPqWY/bji3Y 6B5w== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nNP3lSoIAR4J+LcL2f11lgwwteJGEBXUJ4n5s/d7hVE=; b=G/Zk43YVY/IoF3dVQyODP2S3U0Eu8XGSheGDFLjbtmeM+I2UUKJp4urkERIeQOYY+B 7CMAsB5ZhcaMw/VMt63eoOv9mfXLIqD1Egng/pbVzyZqUm8Jb7ZUlaVzVBQJ+tAlFJFr EBQ+YtkmMfzM9Fxs59PY8E7AgVjcs2vySPuzU/Iw+/FyS8hk+PqLItQLmszUsjOrV2LJ pnfPHNQw6KsIYl0IziRLD9Dg4wiHs7Ht/zGDfIMsGmawLcEOn3pK9R5GMIO1nS6KLsjz W++TBUS4t7oCShZi/SFGi8QOy8wOKWKrNokbH39h0gzTzP14q8InPNqr1sBEWs8n/kjG D9RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=M4ny3w7v; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4si1849878otb.169.2020.03.12.09.44.51; Thu, 12 Mar 2020 09:45:03 -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=@walle.cc header.s=mail2016061301 header.b=M4ny3w7v; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726610AbgCLQnl (ORCPT + 99 others); Thu, 12 Mar 2020 12:43:41 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:48701 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726299AbgCLQnk (ORCPT ); Thu, 12 Mar 2020 12:43:40 -0400 Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 4348722FED; Thu, 12 Mar 2020 17:43:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1584031417; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nNP3lSoIAR4J+LcL2f11lgwwteJGEBXUJ4n5s/d7hVE=; b=M4ny3w7vchdM0zTN195z96B/vOrPFj5VXMrcbztrAIjQ12Jr4qybqRQWEnDD92psB6HDfC S+jEGaJReS69pVfOE4plsp8V1kJ6XNbWVg128Jtw5uQA9YjLw/rlbrbZzZnLyvY525uQ/J xudDKssEhFFg0x9tTG4PlWnrSEpI8H4= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: "David S . Miller" , Florian Fainelli , Vivien Didelot , Andrew Lunn , Claudiu Manoil , Vladimir Oltean , Rob Herring , Li Yang , Shawn Guo , Michael Walle Subject: [PATCH 2/2] arm64: dts: ls1028a: disable the felix switch by default Date: Thu, 12 Mar 2020 17:43:20 +0100 Message-Id: <20200312164320.22349-2-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200312164320.22349-1-michael@walle.cc> References: <20200312164320.22349-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++++ X-Spam-Level: ****** X-Rspamd-Server: web X-Spam-Status: Yes, score=6.40 X-Spam-Score: 6.40 X-Rspamd-Queue-Id: 4348722FED X-Spamd-Result: default: False [6.40 / 15.00]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_SIGNED(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; RCPT_COUNT_TWELVE(0.00)[14]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31334, ipnet:2a02:810c:8000::/33, country:DE]; FREEMAIL_CC(0.00)[davemloft.net,gmail.com,lunn.ch,nxp.com,kernel.org,walle.cc]; SUSPICIOUS_RECIPS(1.50)[] X-Spam: Yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Disable the felix switch by default and enable it per board which are actually using it. Signed-off-by: Michael Walle --- .../boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts | 4 ++++ .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 3 ++- 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts index a83a176cf18a..d4ca12b140b4 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts @@ -63,6 +63,10 @@ }; }; +&mscc_felix { + status = "okay"; +}; + &mscc_felix_port0 { label = "swp0"; managed = "in-band-status"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts index 0a34ff682027..901b5b161def 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts @@ -48,6 +48,10 @@ status = "okay"; }; +&mscc_felix { + status = "okay"; +}; + &mscc_felix_port0 { label = "gbe0"; phy-handle = <&phy0>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index 0d27b5667b8c..8294d364112e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -228,6 +228,10 @@ status = "okay"; }; +&mscc_felix { + status = "okay"; +}; + &mscc_felix_port0 { label = "swp0"; managed = "in-band-status"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index c09279379723..70a10268bb83 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -933,10 +933,11 @@ fsl,extts-fifo; }; - ethernet-switch@0,5 { + mscc_felix: ethernet-switch@0,5 { reg = <0x000500 0 0 0 0>; /* IEP INT_B */ interrupts = ; + status = "disabled"; ports { #address-cells = <1>; -- 2.20.1