From: Stefano Radaelli <stefano.radaelli21@gmail.com>
To: Frank Li <Frank.Li@nxp.com>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org
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
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 [thread overview]
Message-ID: <3d7cd1dc732ff0dcb378ba8f41d06a06eaf1a850.1791487179.git.stefano.r@variscite.com> (raw)
In-Reply-To: <cover.1791487179.git.stefano.r@variscite.com>
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
next prev parent reply other threads:[~2026-10-08 19:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-08 19:37 [PATCH v5 00/13] ARM: dts: imx6ul: Extend VAR-SOM-6UL and add DART-6UL support Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 01/13] dt-bindings: arm: fsl: Add Variscite i.MX6UL board variants Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 02/13] dt-bindings: arm: fsl: Add Variscite i.MX6ULL " Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 03/13] dt-bindings: arm: fsl: Add Variscite i.MX6ULZ " Stefano Radaelli
2026-10-09 10:39 ` Krzysztof Kozlowski
2026-10-08 19:37 ` [PATCH v5 04/13] net: phy: micrel: Check RMII clock select property presence Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 05/13] dt-bindings: net: micrel: Fix RMII clock select property type Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 06/13] ARM: dts: imx6ul: Extend VAR-SOM-6UL and add DART-6UL files Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 07/13] ARM: dts: imx6ul: Add Variscite WM8904 and WM8731 support Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 08/13] ARM: dts: imx6ul: Add Variscite storage and wireless options Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 09/13] ARM: dts: imx6ul: Extend Variscite carrier board descriptions Stefano Radaelli
2026-10-08 19:37 ` Stefano Radaelli [this message]
2026-10-08 19:37 ` [PATCH v5 11/13] ARM: dts: imx6ul: Add Variscite i.MX6UL board variants Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 12/13] ARM: dts: imx6ull: Add Variscite i.MX6ULL " Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 13/13] ARM: dts: imx6ulz: Add Variscite i.MX6ULZ " Stefano Radaelli
2026-10-16 23:50 ` [PATCH v5 00/13] ARM: dts: imx6ul: Extend VAR-SOM-6UL and add DART-6UL support patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3d7cd1dc732ff0dcb378ba8f41d06a06eaf1a850.1791487179.git.stefano.r@variscite.com \
--to=stefano.radaelli21@gmail.com \
--cc=Frank.Li@nxp.com \
--cc=Markus.Niebel@ew.tq-group.com \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=eichest@gmail.com \
--cc=ernest.vanhoecke@toradex.com \
--cc=festevam@gmail.com \
--cc=francesco.dolcini@toradex.com \
--cc=hkallweit1@gmail.com \
--cc=hvilleneuve@dimonoff.com \
--cc=imx@lists.linux.dev \
--cc=josua@solid-run.com \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=maudspierings@gocontroll.com \
--cc=mehmet.fide@screeningeagle.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pierluigi.p@variscite.com \
--cc=qijian.guo@nxp.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=stefano.r@variscite.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®