Unable to see MDIO signals toggle when configured for MDIO interface. Orin is connected to a Marvell 88Q6113 switch via GPIO 25 and 26. Using UBUNTU 22.04 Used Orin spreadsheet to generate the device tree.
Hi kelly.berger,
Are you using the devkit or custom board for AGX Orin?
What’s the Jetpack version in use?
Please share the full dmesg and device tree for further check.
dmsg.txt (57.1 KB)
device_tree.txt (314.0 KB)
The Orin is on a custom Carrier board. The custom Carrier board has an 88Q6113, The ORIN GPIO25 andGPIO26 are connected to the MDIO interface on the 88Q6113 switch.
Are you using Jetpack 6.0 (r36.3.0)?
Do you have the porting guide for Marvell 88Q6113 switch from your vendor?
[ 11.153851] nvethernet 6800000.ethernet: failed to read MDIO address
..
[ 11.169037] nvethernet 6800000.ethernet: failed to get phy reset gpio error: -2
From the log you shared, it seems MAC failed to read the address of MDIO and it failed to reset for phy.
Marvell@0 {
compatible = "marvell,mv88e6085";
reg = <0x00>;
};
From the device tree you shared, have you confirmed mv88e6085 working with your Marvell 88Q6113 switch?
Please share the result of the following command on your board.
$ zcat /proc/config.gz |grep MARVELL
Are you using Jetpack 6.0 (r36.3.0)?
Yes
Do you have the porting guide for Marvell 88Q6113 switch from your vendor?
We are not aware of any porting guide beyond the information in the datasheet.
[ 11.153851] nvethernet 6800000.ethernet: failed to read MDIO address
..
[ 11.169037] nvethernet 6800000.ethernet: failed to get phy reset gpio error: -2
From the log you shared, it seems MAC failed to read the address of MDIO and it failed to reset for phy.
Marvell@0 {
compatible = “marvell,mv88e6085”;
reg = <0x00>;
};
From the device tree you shared, have you confirmed mv88e6085 working with your Marvell 88Q6113 switch?
The short answer is no, mv88e6085 does not work with the 88Q6113. However, we expected to at least see a signal on the MDIO line attempting to read the device info when configured for the mv88e6085. We are working on modifying the mv88e6xxx driver to work for the 88Q6113. See attached latest device tree overlay and chip.c file with driver modifications.
Please share the result of the following command on your board.
$ zcat /proc/config.gz |grep MARVELL
nvidia@tegra-ubuntu:~$ zcat /proc/config.gz |grep MARVELL
CONFIG_MTD_NAND_MARVELL=y
CONFIG_PATA_MARVELL is not set
CONFIG_NET_VENDOR_MARVELL=y
CONFIG_MARVELL_PHY=m
CONFIG_MARVELL_10G_PHY=m
CONFIG_MARVELL_88X2222_PHY is not set
CONFIG_WLAN_VENDOR_MARVELL=y
CONFIG_CRYPTO_DEV_MARVELL_CESA is not set
chip.txt (190.7 KB)
tegra234-base-overlay-dtsi.txt (19.8 KB)
This driver seems not designed for 88Q6113.
Please check if prestera_main.c may work with your module, or just request your vendor for the porting guide and correct driver.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
