Realtek PHY on Jetson NX module supports WoL or not


Just as the title, Realtek PHY on Jetson NX module supports WoL or not, please provide related patch. Thanks.


4 patches required

Patch 1:

diff --git a/kernel-dts/t19x-common-platforms/tegra194-platforms-eqos.dtsi b/kernel-dts/t19x-common-platforms/tegra194-platforms-eqos.dtsi
index b9775c7..428ceb1 100644
--- a/kernel-dts/t19x-common-platforms/tegra194-platforms-eqos.dtsi
+++ b/kernel-dts/t19x-common-platforms/tegra194-platforms-eqos.dtsi
@@ -50,12 +50,8 @@
 			phy: phy@0 {
 				reg = <0>;
-				/* use phy in poll mode */
 				interrupt-parent = <&tegra_main_gpio>;
 				interrupts = <TEGRA194_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>;
 				/* Setup LED[2] as interrupt pin (active low) */
 				marvell,reg-init = <0x03 0x12 0x7fff 0x880>;

Patch2 :

diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index 56d3396..c59784e 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -5812,6 +5812,7 @@
 	TEGRA_WAKE_IRQ("usb2_port_2", 81, 167),
 	TEGRA_WAKE_IRQ("usb2_port_3", 82, 167),
 	TEGRA_WAKE_GPIO("sd_wake", 8, 0, TEGRA194_MAIN_GPIO(G, 7)),
+	TEGRA_WAKE_GPIO("eqos_wake", 20, 0, TEGRA194_MAIN_GPIO(G, 4)),
 static const struct tegra_pmc_soc tegra194_pmc_soc = {
@@ -5989,6 +5990,7 @@
 	TEGRA_WAKE_IRQ("usb2_port_3", 82, 167),
 	TEGRA_WAKE_GPIO("soc_gpio50", 48, 1, TEGRA234_AON_GPIO(BB, 2)),
 	TEGRA_WAKE_GPIO("mgbe_wake", 56, 0, TEGRA234_MAIN_GPIO(Y, 3)),
+	TEGRA_WAKE_GPIO("eqos_wake", 20, 0, TEGRA234_MAIN_GPIO(G, 4)),
 static const struct tegra_pmc_soc tegra234_pmc_soc = {

Patch3: (1.1 KB)

Patch4: (1.6 KB)

1 Like

Hi Wayne

Thanks very much for your quick reply. I will try it on devkit. How about IGB/I210 intel ethernet support? customized board also has embedded I210 intel chip, do you have patches to support intel i210 WOL.

I think you need to understand something here.

The interface of your “i210” is probably not over our eqos driver. Because NX module is not allowed to change PHY…
If that is not on our eqos pin, then it is not related to our ethernet driver… and we are not able to help this…

Hi Wayne,

Thanks for your clarification. you’re right, we have no change on NX module. Anyway, including Realtek PHY, we extended ethernet port(i210) by PCIe HUB as the requirement. Could you please elborate more about ‘eqos pin’? if we want to enable i210 WOL, what we should to do or change on HW design?

There is nothing you can do in hardware design… The PHY is already fixed on NX module…

Hi Wayne,

In other words, on NX, WOL can only work with NX internal PHY module, as Realtek PHY. PCIe HUB extended MAC+PHY/i210 chip couldn’t enable WOL, right? Thanks.

Yes, by default we don’t support the WoL on some PHY added by you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.