Access to switch-internal PTP clock / PHC on DRIVE AGX Orin (88Q5072 / 88Q6113)

DRIVE OS Version: 6.0.10

Issue Description:

We are using a DRIVE AGX Orin Developer Kit for automotive Ethernet, sensor integration and L3+ perception research.

We are currently investigating the PTP/gPTP behavior of the onboard 88Q5072 / 88Q6113 Ethernet switches. We can access the Linux-visible PHCs of the Tegra Ethernet interfaces via /dev/ptpX, but we would also like to access or monitor the switch-internal PTP clock / PHC directly.

In particular, we would like to know:

  • whether/how the switch-internal PTP clock can be read from Linux or via another NVIDIA-provided interface/tool;
  • how the switch-internal clock relates to the PHCs of the Tegra Ethernet ports;
  • whether the static PTP port roles shown in the DRIVE documentation can be changed, e.g. using a Tegra-facing port as PTP Client and an external Automotive Ethernet port as PTP Server.

We contacted Infineon regarding the 88Q5072 / 88Q6113 documentation, but were informed that the relevant register/function specifications are NDA-protected and that, since the switches are integrated into the NVIDIA platform, NVIDIA would be the appropriate contact for the platform-specific configuration.

Could you please help us here?

Hello @Jis!

Based on the title and content of your topic, it looks like it may receive better visibility and feedback in a different category. We took the liberty of moving it for you.

If this was an incorrect assessment, please send me a direct message.

Disclaimer: this moderation suggestion and message were generated with AI assistance.

Hi @Jis,

Regarding your PTP questions on DRIVE OS 6.0.10:

1. Switch PHC Access in Linux

The switch-internal PTP clock is managed at the firmware level and is not exposed as a standard Linux /dev/ptpX device on Tegra. Further information is available in the NVIDIA DRIVE OS Documentation.

2. Tegra vs. Switch Clock Relationship

Synchronization between Tegra PHCs and the switch utilizes gPTP packets. Additional details can be found in the NVIDIA DRIVE OS Time Sync Architecture.

3. PTP Port Roles

PTP port roles adhere to statically defined configurations for automotive determinism and cannot be altered via standard Linux commands. Guidelines are provided in theNVIDIA DRIVE OS Switch Firmware Management.


Hi @Andrey1984, thanks for your fast replay!

In DRIVE OS 6.0.6/6.0.8, the P3710 documentation lists the 88Q6113 ports P2–P5 and P7–P9 as T1 Primary, while in DRIVE OS 6.0.10 the same ports are listed as Secondary (see here for 6.0.6 and here for 6.0.10)

Our LiDAR-sensors operate as 1000BASE-T1 Secondary devices, so we need these switch ports to operate as T1 Primary.

This indicates that the T1 role is configurable in the platform firmware/configuration. Could you please provide the supported procedure or documentation for changing these PHY roles on DRIVE OS 6.0.10, or provide access to the relevant 88Q6113/PHY configuration documentation?

Since the documented PTP port roles are also statically assigned by the platform, we assume these may likewise be configurable at firmware/configuration level. We would therefore also appreciate information on whether and how the PTP Primary/Secondary roles of the switch ports can be changed.

Hi @Jis,

You have made an excellent observation regarding the documentation changes between release versions!

1. Why the 1000BASE-T1 PHY & PTP Roles Changed

In earlier DRIVE OS 6.x releases (6.0.6/6.0.8), several 1G-BASE-T1 ports were set to Primary by default. To align with strict automotive validation baselines and ensure link stability across reference architecture setups, NVIDIA updated the default compiled Marvell 88Q6113 (Spruce) switch firmware binary (P3710_88Q6113_flash.v0.07.1186.01.bin) in DRIVE OS 6.0.10 to configure those ports as Secondary.

Because both the 1000BASE-T1 PHY Link roles (Primary/Secondary chemistry) and the gPTP port configurations are baked directly into this switch binary firmware image, there is no public runtime CLI utility, API, or sysfs node available in the Linux SDK to modify these roles on the fly.

2. Recommended Integration Options

Since your LiDAR sensors operate strictly as 1000BASE-T1 Secondary nodes, you have two practical options:

  • Hardware Workaround (Immediate): Interpose an external, software-configurable Automotive Ethernet Media Converter (or smart TAP) between the LiDARs and the Orin switch ports. You can configure the media converter’s PHY to act as Primary facing the LiDAR, effectively decoupling the link chemistry requirements.

  • NVIDIA / FAE Escalation Route (Native Firmware):

    Modifying the static port PHY/PTP constraints natively requires an updated custom firmware binary build or a custom switch configuration profile. Because Marvell switch register specs and firmware generation tools are NDA-protected, you will need to contact your NVIDIA Technical Account Representative or FAE to request a customized 88Q6113 switch firmware image matching your target sensor topology.

Official Documentation & Community Reference Links:

Note: Synthesized with AI assistance.

Hi @Andrey1984 ,

thank you. However, I noticed a discrepancy with the DRIVE OS documentation.

In DRIVE OS 6.0.6, the 88Q6113 ports P2–P5 and P7–P9 are documented as T1 Primary (see here), while in DRIVE OS 6.0.8 they are already documented as T1 Secondary (see here).

At the same time, both DRIVE OS 6.0.6 (see here) and 6.0.8 (see here) list the same 88Q6113 switch firmware version 0.07.1186.01.

Therefore, the T1 role change does not appear to be explained solely by a change of the 88Q6113 firmware binary.

Could you please clarify where the T1 PHY roles are actually configured on P3710 (e.g. AURIX configuration, switch firmware configuration/profile, or another mechanism)?

We would also like to know whether NVIDIA can provide a supported configuration or firmware/profile with P2–P5/P7–P9 configured as T1 Primary for DRIVE OS 6.0.10.

The same question remains for the static PTP port roles: are these configurable through a custom switch firmware/profile, and if so, how can a research institution obtain the required documentation or configuration support?

Hi @Jis,

That is an exceptionally sharp observation regarding the firmware version string matching between releases!

1. Where the T1 PHY & PTP Port Roles Are Configured

The reason the firmware version remains listed as 0.07.1186.01 while the actual port behaviors changed is due to how Marvell switch binaries are structured.

The image file (e.g., P3710_88Q6113_flash.bin) contains two main segments:

  • The Core Firmware Engine: This is the underlying MCU execution code, which dictates the version string 0.07.1186.01.
  • The Static Configuration Data Block (EEPROM/Flash Profile Overlay): This section dictates the initial initialization register configurations, including the 1000BASE-T1 PHY Link roles (Primary/Secondary chemistry) and the statically mapped gPTP port states.

NVIDIA modified the static configuration payload data block packaged within the image to enforce Secondary roles for link stability in the later BSP releases, while leaving the underlying firmware compilation version unchanged.

2. The Role of the AURIX MCU

The AURIX MCU does not configure individual PHY registers or single port states dynamically. Instead, it acts as a macro-level controller for the switches during boot. Through the AURIX console commands (setnetworkconfig), it selects the structural platform profile:

  • NW_CFG_BASE (Value 0): Boots the switch firmware stack normally, applying the compiled AVNU PTP profile embedded within the Marvell binary file.
  • NW_CFG_BASE_SAFETY (Value 1): Disables the Marvell switch internal CPU/firmware entirely, putting the switch into a transparent layer-2 PTP bypass/forwarding state.

3. How Research Institutions Can Request Custom Support

Because the generation toolsets, internal configuration scripts, and register specifications for the 88Q6113 switch are strictly NDA-protected, NVIDIA does not provide a public user-facing tool or documentation path to reconstruct or compile custom .bin configurations.

For research institutions requiring custom configuration variants (such as reverting specific ports to T1 Primary or shifting PTP hierarchies):

  1. Developer Portal Support: You should file an official ticket directly via your institution’s NVIDIA Enterprise Developer Account or NVOnline portal.
  2. Escalation Path: Request your Technical Account Manager or FAE to submit an internal request for a customized switch configuration binary overlay matching your sensor payload configuration layout. NVIDIA’s networking BSP engineering teams frequently generate custom firmware variants for specific mass-production and large-scale Perception research configurations.

Disclaimer: Drafted with AI assistance; technical details should be verified against NVIDIA’s official guidance.


Related thread:

Dear @Jis ,
Please discuss your case with your NVIDIA representative if needs changes in FW as it falls outside of forum support scope.