Article View: linux.kernel.netdev
Article #905[PATCH v5 10/13] ARM: dts: imx6ul: Share Variscite PHY clock and update PHY options
From: Stefano Radaelli
Date: Thu, 08 Oct 2026 19:37
Date: Thu, 08 Oct 2026 19:37
131 lines
13757 bytes
13757 bytes
From: Stefano Radaelli <stefano.r@variscite.com>
Move rmii_ref_clk from the ENET2 file to the VAR-SOM-6UL common
file. Symphony needs the same clock but must not include the
Concerto FEC2/MDIO configuration to obtain it.
Encode the Micrel RMII clock selection as <1> to match the updated
binding.
The existing Concerto descriptions hold PHY reset for 100 ms but
do not specify a delay after releasing it. Use the reset timing
validated by Variscite: assert reset for 10 ms and wait 100 ms
after deassertion before accessing the PHY. Apply this timing
through the shared Ethernet files to both the existing Concerto
boards and the new variants.
Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
---
v4->v5:
- Replace the broad Concerto conversion patch with a focused Ethernet
update. Move the audio, storage and carrier consumer updates into
patches 7-9 alongside the corresponding shared-file changes.
- Retain the existing ENET1 and ENET2 option files and move the PHY
reference clock into the module common file for Symphony to reuse.
- Encode the Micrel clock-selection property as <1> and apply the
validated 10 ms assert / 100 ms post-deassert timing through the
shared Ethernet files, including the existing Concerto boards.
v2->v3:
- Use the shared storage and wireless option DTSI files.
v1->v2:
- Use the shared WM8904 codec DTSI in the existing Concerto boards.
.../dts/nxp/imx/imx6ul-var-som-common.dtsi | 8 ++++++++
.../dts/nxp/imx/imx6ul-var-som-enet1.dtsi | 6 ++++--
.../dts/nxp/imx/imx6ul-var-som-enet2.dtsi | 19 ++++++-------------
3 files changed, 18 insertions(+), 15 deletions(-)
diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-common.dtsi
index d2a9877344ce..ef838ae07297 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-common.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-common.dtsi
@@ -20,6 +20,14 @@ memory@80000000 {
reg = <0x80000000 0x20000000>;
};
+ /* ref_clk for micrel ethernet phy */
+ rmii_ref_clk: rmii-ref-clk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <25000000>;
+ clock-output-names = "rmii-ref";
+ };
+
reg_3p3v: regulator-3p3v {
compatible = "regulator-fixed";
regulator-name = "3P3V";
diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-enet1.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-enet1.dtsi
index 6b1e34347bec..ace6d9f35b87 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-enet1.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-enet1.dtsi
@@ -5,6 +5,7 @@
*
* Copyright 2019-2024 Variscite Ltd.
* Copyright 2026 Dimonoff
+ * Copyright (C) 2026 Variscite Ltd.
*/
&fec1 {
@@ -37,8 +38,9 @@ ethphy0: ethernet-phy@1 {
clocks = <&rmii_ref_clk>;
clock-names = "rmii-ref";
reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
- reset-assert-us = <100000>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <100000>;
micrel,led-mode = <1>;
- micrel,rmii-reference-clock-select-25-mhz;
+ micrel,rmii-reference-clock-select-25-mhz = <1>;
};
};
diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-enet2.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-enet2.dtsi
index f0ed71798617..a207a720bd30 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-enet2.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-enet2.dtsi
@@ -7,15 +7,6 @@
* Copyright (C) 2026 Variscite Ltd.
*/
-/ {
- rmii_ref_clk: rmii-ref-clk {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <25000000>;
- clock-output-names = "rmii-ref";
- };
-};
-
&fec2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet2>, <&pinctrl_enet2_gpio>, <&pinctrl_enet2_mdio>;
@@ -33,9 +24,10 @@ ethphy0: ethernet-phy@1 {
clocks = <&rmii_ref_clk>;
clock-names = "rmii-ref";
reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
- reset-assert-us = <100000>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <100000>;
micrel,led-mode = <1>;
- micrel,rmii-reference-clock-select-25-mhz;
+ micrel,rmii-reference-clock-select-25-mhz = <1>;
};
ethphy1: ethernet-phy@3 {
@@ -44,9 +36,10 @@ ethphy1: ethernet-phy@3 {
clocks = <&rmii_ref_clk>;
clock-names = "rmii-ref";
reset-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>;
- reset-assert-us = <100000>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <100000>;
micrel,led-mode = <0>;
- micrel,rmii-reference-clock-select-25-mhz;
+ micrel,rmii-reference-clock-select-25-mhz = <1>;
};
};
};
--
2.47.3
Technical Details
Message-ID:
<3d7cd1dc732ff0dcb378ba8f41d06a06eaf1a850.1791487179.git.stefano.r@variscite.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343255-linux-kernel-netdev=dewy.ruReferences:
<cover.1791487179.git.stefano.r@variscite.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343255-linux-kernel-netdev=dewy.ru
From: stefano.radaelli21@gmail.com (Stefano Radaelli)
Newsgroups: linux.kernel.netdev
Subject: [PATCH v5 10/13] ARM: dts: imx6ul: Share Variscite PHY clock and update PHY options
Date: Thu, 8 Oct 2026 21:37:50 +0200
Organization: Usenet Network
Message-ID: <3d7cd1dc732ff0dcb378ba8f41d06a06eaf1a850.1791487179.git.stefano.r@variscite.com>
References: <cover.1791487179.git.stefano.r@variscite.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="957948"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:cLHPZegLemtDEVpikZsn54feW/8= sha256:sBu3LE+2YADuFBLyN+hcFFxU6rPjZsDgdEN7N9Pk0gg=
sha1:VQ9KnNFe4BMmC2xX+Yr8yJlcdK4= sha256:r9pkkZaa8wDlqw6c9dSDXfFTo7RR+NEH0rP8SlaaUj4=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 3AFCA10F508; Thu, 8 Oct 2026 22:50:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Status: No, score=-1.949 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id hfaQPlvf0Han;
Thu, 8 Oct 2026 22:50:08 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-343255-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id C704D10F410; Thu, 8 Oct 2026 22:50:04 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by sea.lore.kernel.org (Postfix) with ESMTP id 21AEF66B71; Thu, 8 Oct 2026 19:42:27 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 1537E502D52;
Thu, 8 Oct 2026 19:40:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rLnnDKqX"
X-Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECF20502545
for <netdev@vger.kernel.org>; Thu, 8 Oct 2026 19:40:41 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791488454; cv=none; b=XzSim/2SVyJnUxGPRW/X5fvCQP48VegGj/PlFv9BBoTOulqvg1KKXC6dDSCuxG2T6Ss/Cy3JMIMG7q0T+b/pY3TKzLw3v7iyI9UNiK8aayZRTI+/IQyrYQAj6O8LudivH0N4tshllzbQtkFUDgt71uI5BImblNWllQzayEJqKpU=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791488454; c=relaxed/simple;
bh=5AReXrC4FLJO1biq7t78AJouBrM49sHmYzFp01FRQsg=;
h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
MIME-Version; b=GxOv3w+5S/5/jgQPIZ0MtpRtK9pL3HOpUGSq2gFf4jM1128oWIzf02H/0RsfXz9jlbbObhjIy1/PLriM9pYPyH5U3JYDjr0LNW9UOlGJOgqff0g9VwotwW7wNXXE0Q8V2L+GXuxDrN7Sxw9YnJcOG4kPiP/lHRYEjobpVM8NZ68=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=rLnnDKqX; arc=none smtp.client-ip=209.85.128.48
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4a061a13884so29636395e9.3
for <netdev@vger.kernel.org>; Thu, 08 Oct 2026 12:40:41 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1791488440; x=1792093240; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=32knc5yptOaSTzPqRswLQEdRMbmmyBGuNbQZiUAho2s=;
b=rLnnDKqXBen/xcbw6e1LeaIiQ7oQzIvRUO/Jnw3FjxdZV5jylhI9M4LSrD9cgEvIDK
zvyFFX1IrWTsoswqVQnxpeGmCv9dYWup15sSq90zQdOgy3V3EjkGcBcwDZ0R5Kq/CLLQ
qddC3AZHJEkh/YRjoFfkZAwd2pK873LTxc11m9ASaQpUwKGaffSbEegILAJbzsJEeKPX
VxMdxLpC7mAZocj8gu8/D1Y/uhIRQpyOlVp+fyWQ1SBWO8j+XxTGFgqLISFIoK73YLii
EQJnnwCv3kZ7Baiix6YEGo0xR5rAR523KKOuLtgNhfFSZWqlMWM7fg7YLP/wCfvudEiR
4pmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791488440; x=1792093240;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=32knc5yptOaSTzPqRswLQEdRMbmmyBGuNbQZiUAho2s=;
b=aoshQsDJcH/vlaHkRKJ8Egy2iJBu5+c0jpWuK048VKRTj1Jd3CrJrlkujSggRxexfN
eCPPztwjKPc6vsX2GwDgxOzg1gl10vSJOo60DRjlWgsq90+YxJmnkeukj72oFyzb8BHg
NzbBK5AJluzpioE4kpCdceypKCTw3AbbrwiwzSGcKv97sqzLP0tD9Hb6QgbHmbDjkYUk
e2DL+pBcge8TnxccaAtoOSsIzwQRoZOZHjpWnNUgIvaMAQXVy567/YKxI8Ap/K3QGn1D
BIzjvoLnE7o6+6767wJLph9fXXFjuTfKmzg0cBwEiAvZkXObPzddekwUxZ89bACTJUbE
ddRQ==
X-Forwarded-Encrypted: i=1; AKwUvBwl3GYIb5TV/YUwX0nq8DLLBJIiFsAE8YORr/nWtE+arkkDJKW/HN2zF4Xwre1/PDSI4slQwLY=@vger.kernel.org
X-Gm-Message-State: AFuF++nuq++iDonYhnIe7s81p5fX//cYdO6n/Y9bQPrIgYkws+uqoRky
aKF9dzsvIOP2v0tpLqR6PDiYtOsbBys8Dda56lK4eVVSav74n1Ow54DG
X-Gm-Gg: AYBFou2uPHlQE9w6hfbgdEzFe+oqwT8mhVvTaTQdSEnE/OTnovwy7BKsMBm+n/DPOYK
Fy8qqEoudvxC5KVUGR02kTsJBXOpHesS6RYG/zwxIB3N1ikHFeM2rpfkL+4FcGvukTIN4ER66H9
OexAwjRye07O3vAZoCr6TiNOrWGNQuDVtP9QuiAPoJTi/+PIVS4BCjfT4AH0xj2JZgBuqQtQgOY
2kYpMe7c9o4ai3TOAROmabcGnGMtU/3bXnYcLMEccLhI0Cf9drIzlGCdRjlI9+jFn0SLkbyeERY
MSSHnlRWLaEVFR6qKrgaUFy/DtPT2+Bl4Ftqsygg9uYuNxRL8TILMqS4gDVS5cEU2so2b2aCU82
uK2d2XcUyJMCumlWEv/PJGLgWU+aQPAEr450H8cmzZAh5UtFIUMvJxqNWPIe/MxD0jfzGqXLOSD
pRX4JdiPc2aMe/ZJj04ZGyHk7s+MTZ6UUlGQvCw1QGHSgtb22HPCPMlsIK5PhgjHs/h65m16Kra
+pGojcki/FAysdSwXMftbH67Pvr0fbSp8YzqGez/ak+G0p5K2TGYR4iLjdywKoHdCguGWJnV2e2
BZ6sRZY2OGPinDAbk/mDEQ==
X-Received: by 2002:a05:600c:3b8d:b0:49f:fbad:29c1 with SMTP id 5b1f17b1804b1-4a1806611acmr136284345e9.33.1791488439940;
Thu, 08 Oct 2026 12:40:39 -0700 (PDT)
X-Received: from Lord-Beerus.station ([31.27.155.43])
by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a18c1e33d2sm1419065e9.0.2026.10.08.12.40.36
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 08 Oct 2026 12:40:37 -0700 (PDT)
X-Google-Original-From: Stefano Radaelli <stefano.r@variscite.com>
X-Cc: pierluigi.p@variscite.com,
Stefano Radaelli <stefano.r@variscite.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Shawn Guo <shawnguo@kernel.org>,
Joseph Guo <qijian.guo@nxp.com>,
Francesco Dolcini <francesco.dolcini@toradex.com>,
Josua Mayer <josua@solid-run.com>,
Ernest Van Hoecke <ernest.vanhoecke@toradex.com>,
Mehmet Fide <mehmet.fide@screeningeagle.com>,
Markus Niebel <Markus.Niebel@ew.tq-group.com>,
Maud Spierings <maudspierings@gocontroll.com>,
Hugo Villeneuve <hvilleneuve@dimonoff.com>,
Stefan Eichenberger <eichest@gmail.com>,
netdev@vger.kernel.org
X-Mailer: git-send-email 2.47.3
X-In-Reply-To: <cover.1791487179.git.stefano.r@variscite.com>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>