Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2355829ybv; Mon, 24 Feb 2020 03:52:22 -0800 (PST) X-Google-Smtp-Source: APXvYqyT7X3cMbzVMi7CS1GXqjLRYK15AYMguTRb8EVgefZUZ8ACLFpRRq5oouhVkAVIPBn7y1Op X-Received: by 2002:a05:6808:4c2:: with SMTP id a2mr11718667oie.118.1582545141887; Mon, 24 Feb 2020 03:52:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582545141; cv=none; d=google.com; s=arc-20160816; b=MXeqAD6mrOmcObvlRWreAA5xhFN0DmndKIVrW4oVWHZAthzumDBjTCsC5E4RAclTQE jHSpQ4WVFCEHb4Zx6smXjAyeEgrA75BO5VHwhaVxUp2aeIE8bMbNwcjFOM6fWxUAD4kp FAWTwc8z7ghAZNJVSQLYOUdIkq+q3gxpETgKZtSkskr+cyPLc4mvFcZHo+ox1PvIL12+ 96+V/jeg/C+1U0YF0ZBN0aTgyNXQsLtbwSrvC9OLamwIM8OZfeaFkxpZSGA/+1tqrgZ0 NEmm/i31ow1P1Q4nOTxlzo6UwMVYWuqdVJ1pQ6kJhtNp7uEO5223n8RGLdEZRG1IVmgH gacA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=AGoftlXtPDkl6tdoN4g4nLlzfqZ5fb+l68Uc8F12Pnk=; b=i8SQ/0E3m/E56c4AoajU5pCrPCR3tmEsO3201WXBa0nqeYul0IFtam7lqJSYmBonhE InmyBovWUVUkNzHVo2xAxwvv01b6iEbwU6WqFD158D7zX7PW7VqaiZFrfP3rPSgfR7ZF 8ZgIjxK7r5i62Kl1/JYIOr13j/iYPn3cyMOcjK/7fs9zPD1fmR6h8EeV0/E1V1dYsX73 SAk4E+WfJ1WHMMwil2PoGTY389YGOV1n9AY6VkPi5M03PlSoGSweyDKNDLYcHLyJd6n+ PWQ2MSNatyWZxxAzteG8+F3ULwIwqug+zazsVkS4WRz74juL91EA//UWanq9LTMpL2tL VALg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=BKZdz9HM; 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 p5si5957067oto.116.2020.02.24.03.52.09; Mon, 24 Feb 2020 03:52:21 -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=@walle.cc header.s=mail2016061301 header.b=BKZdz9HM; 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 S1727352AbgBXLvB (ORCPT + 99 others); Mon, 24 Feb 2020 06:51:01 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:36193 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727295AbgBXLvB (ORCPT ); Mon, 24 Feb 2020 06:51:01 -0500 Received: from mwalle01.sab.local. (unknown [213.135.10.150]) (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 DEA2422F00; Mon, 24 Feb 2020 12:50:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1582545059; 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; bh=AGoftlXtPDkl6tdoN4g4nLlzfqZ5fb+l68Uc8F12Pnk=; b=BKZdz9HMC+by7IJBwDLcq7etejsomdPgSJDWZUxFdRgtDW0aDmVaBErBhsFLyj3TSlE5Bb 8a56/4veaOOn1UewHFAjIdg/LNkByuC5W8LUxW/xxd7Rcay78IUz6ipCIjKTGsqmBwhOjf LEYZg2/Lv0btJqKLwKgtXgths71xFCk= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Cc: Mark Rutland , Rob Herring , Li Yang , Michael Walle Subject: [PATCH] arm64: dts: ls1028: sl28: explicitly enable network ports Date: Mon, 24 Feb 2020 12:50:52 +0100 Message-Id: <20200224115052.27328-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 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: DEA2422F00 X-Spamd-Result: default: False [6.40 / 15.00]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; NEURAL_SPAM(0.00)[0.776]; DKIM_SIGNED(0.00)[]; RCPT_COUNT_SEVEN(0.00)[8]; 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:12941, ipnet:213.135.0.0/19, country:DE]; 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 Since commit b9213899d2b0 ("arm64: dts: ls1028a: disable all enetc ports by default") all the network ports are disabled by default. This makes sense, but now we have to enable them explicitly in the boards. Do so for the sl28 module. Since we are at it. Make sure the second port is only enabled for the variant 4 of the module. Variant 3 has only one network port. Signed-off-by: Michael Walle --- This patch actually superseeds the following: https://lore.kernel.org/linux-devicetree/20200220180919.6069-1-michael@walle.cc/ arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts | 1 + arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts index f659e89face8..df212ed5bb94 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts @@ -21,6 +21,7 @@ &enetc_port1 { phy-handle = <&phy1>; phy-connection-type = "rgmii-id"; + status = "okay"; mdio { #address-cells = <1>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts index d221ed471cde..e6ad2f64e64e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts @@ -35,6 +35,7 @@ &enetc_port0 { phy-handle = <&phy0>; phy-connection-type = "sgmii"; + status = "okay"; mdio { #address-cells = <1>; -- 2.20.1