MGBE address details

I am referring the following ethernet device tree entry in tegra234-ethernet-3737-0000.dtsi file.


        /* MGBE - A */
        ethernet@6810000 {
                status = "okay";
                nvidia,mac-addr-idx = <0>;
                nvidia,max-platform-mtu = <16383>;
                /* 1=enable, 0=disable */
                nvidia,pause_frames = <1>;
                phy-handle = <&mgbe0_aqr113c_phy>;
                phy-mode = "10gbase-r";
                /* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
                nvidia,phy-iface-mode = <0>;
                nvidia,phy-reset-gpio = <&tegra_main_gpio TEGRA234_MAIN_GPIO(Y, 1) 0>;

I assume that 6810000 is the address of the MGBE module. Where I can find this bus-address details. I have Jetson_AGX_Orin_DevKit_Carrier_Board_Specification and
Jetson_AGX_Orin_Series_Design_Guide PDFs with me, but didn’t find these address details. Can you help if the address details are existing in any other document and link to download the same.

please refer to the adaptation guide

https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/HR/JetsonModuleAdaptationAndBringUp/JetsonAgxOrinSeries.html?highlight=mgbe#for-phy

We are connecting ethernet switch using MGBE(XFI). By referring the adaptation guide link, created the following device node for switch. For ethernet PHY in the adaption guide, mdio mentioned as sub node for ethernet@6810000. For ethernet switch connected using MGBE(XFI), where I can add the MDIO node for configuring the switch?

    ethernet@6810000 {
            status = "okay";
			nvidia,uphy-gbe-mode = <1>;
            nvidia,phy-iface-mode = <0>;
            nvidia,max-platform-mtu = <16383>;
			fixed-link {
				speed = <10000>;
				full-duplex;
			};
	}

Switch is an external entity which is out of nvidia scope and you may need to contact the switch vendor for the info.

From Nvidia side driver when mgbe is connected to switch then treat that as a fixed link and operate at the speed listed in the DT node.

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