Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1824468pxv; Fri, 2 Jul 2021 13:14:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGC/On06JRBFjtGw4xGTdvxIs5uzlE0DX7FAtFqQcZuxwoeHUO60lvM+hC16W6XqsFceJY X-Received: by 2002:a05:6602:2287:: with SMTP id d7mr1323210iod.172.1625256862436; Fri, 02 Jul 2021 13:14:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625256862; cv=none; d=google.com; s=arc-20160816; b=bm/e4Lbo3trcm+B6A5UPFWQ2Vg1jx+qnmyWCWZxgrMa64C3hLeG40TT+nREeYC21OU EqrH6M2UUGOqfMFkTZglDw3ZdhXpGDIvKtkePwItL0/fhBAtt7QuHOA+qKqZ4Yunqwp5 t2bPQik8YGgNeiz5Z4iyQhO7qTX3eFJgOve4Q5K3oo/XxpAwCE0qBcoEF/HPTtsd4sE0 hixmhi7HBlfrFe/D+FMeCvyteQLin1E5ozVskJO+Uv0EVscHGYdiIdTpu2RU+1jnRt1K RRU+RrD8HSps8+EQvX7PxLcKjbM3iekExZvI4rOzI20dOzGclNxqvYQQwMfV5qCF/lxR NI0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1G+uDlz+vA24FK9D18rVmhAhg2oNivclrK25BBxeNOs=; b=ioZbznfzoRdHdiP+aO6Upt0EaxnzM7xzFLft1/FonaPhj2ix/Tz9X2UqOWXdm2/VG9 7j3fEm1XtBHwin3tXyBaMzPxAcCdHdjhLGjX1g8lTp3ADJPl8VcrqOXVACpbsDN6zv1d hXxSjjS27qUyw7VsKPniQeXmpU8bLqMQG7gJgRYerdHnXDvkJsiJYLMi//rwswMdb8wL Pq55DRMfy4+wmjgRYPEpoPdWxFYZH4OkkAfbmdplfu8rKVtAaxWhYcsUH0MwUSaabf23 MR3UntzfDSlxRhw1wfmE23QE3uZS06+6AI9sC8wHXTek3BWk097Wu93SCw+QVA/ZuvFX yauw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="IS/2AQ9b"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o1si3739803jaa.27.2021.07.02.13.14.10; Fri, 02 Jul 2021 13:14:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="IS/2AQ9b"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230211AbhGBTv6 (ORCPT + 99 others); Fri, 2 Jul 2021 15:51:58 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:53475 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230119AbhGBTv5 (ORCPT ); Fri, 2 Jul 2021 15:51:57 -0400 Received: from mwalle01.fritz.box (ip4d17858c.dynamic.kabel-deutschland.de [77.23.133.140]) (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 62DE82224D; Fri, 2 Jul 2021 21:49:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1625255363; 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=1G+uDlz+vA24FK9D18rVmhAhg2oNivclrK25BBxeNOs=; b=IS/2AQ9bRVMoA0FVTIblp0tJcpHPgEzkt0063hLxtkB+ziEZxtxVAxBYhE4OG0vDG2oCci UVTDUGNgnK+dqH+D/GvVnD8IXHWZtRvc8WoyYg7GS0Y5xpDF/34jU1CT9CaU5xWCc1SHNW qkkU+FXaOmHrcaw50LGw4nUBAjAtN4c= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shawn Guo , Li Yang , Rob Herring , Michael Walle Subject: [PATCH] arm64: dts: ls1028: sl28: fix networking for variant 2 Date: Fri, 2 Jul 2021 21:49:14 +0200 Message-Id: <20210702194914.10921-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The PHY configuration for the variant 2 is still missing the flag for in-band signalling between PHY and MAC. Both sides - MAC and PHY - have to match the setting. For now, Linux only supports setting the MAC side and thus it has to match the setting the bootloader is configuring. Enable in-band signalling to make ethernet work. Fixes: ab43f0307449 ("arm64: dts: ls1028a: sl28: add support for variant 2") Signed-off-by: Michael Walle --- What make things worse and why this might slipped through is that the setting in the PHY is persistent even after a soft reset of the PHY. arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts | 2 ++ 1 file changed, 2 insertions(+) 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 dd764b720fb0..f6a79c8080d1 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 @@ -54,6 +54,7 @@ &mscc_felix_port0 { label = "swp0"; + managed = "in-band-status"; phy-handle = <&phy0>; phy-mode = "sgmii"; status = "okay"; @@ -61,6 +62,7 @@ &mscc_felix_port1 { label = "swp1"; + managed = "in-band-status"; phy-handle = <&phy1>; phy-mode = "sgmii"; status = "okay"; -- 2.20.1