RGMII Ethernet changes not applying changes in dts( converted from dtb) file

Hi team , I am modifying “tegra234-p3711-ethernet.dtsi” file for RGMI interface as below code snippet for phy address 7 and with micrel,ksz9031. After building this changes are not appearing in "tegra234-p3701-0004-p3737-0000.dts( converted from tegra234-p3701-0004-p3737-0000.dtb) attached this file. I need to modify any other file ? any standard steps ? ( made sure GPIO pinmux for RGMII configured properly).

tegra234-p3701-0004-p3737-0000.dts (487.8 KB)
tegra234-p3711-ethernet.dtsi (1.5 KB)

/ {
/* EQOS */
ethernet@2310000 {
status = “okay”;
nvidia,mac-addr-idx = <0>;
nvidia,phy-reset-gpio = <&tegra_main_gpio TEGRA234_MAIN_GPIO(G, 5) 0>;
phy-mode = “rgmii-id”;
/phy-handle = <&phy>;/
/delete-node/ fixed-link;

	fixed-link{
            speed = <0x3e8>;
            full-duplex;
		 };
	mdio {
		compatible = "nvidia,eqos-mdio";
		#address-cells = <1>;
		#size-cells = <0>;

		phy: phy@7 {        /* phy@1*/
			compatible = "micrel,ksz9031";
			device_type = "ethernet-phy";
			reg = <7>;     /*reg = <1>; */
			nvidia,phy-rst-pdelay-msec = <224>; /* msec */
			nvidia,phy-rst-duration-usec = <10000>; /* usec */
			interrupt-parent = <&tegra_main_gpio>; 
			/*interrupt-parent = <0xb>;*/
			interrupts = <TEGRA234_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>;
			/*interrupts = <0x34 0x8>;*/
			micrel,copper-mode;
            micrel,reg-init = <0x3 0x12 0x7fff 0x880>;
            /*phandle = <0x21>;*/
		};
	};
};

};

Hi,
Do you use Xavier or Orin? The files are for Orin. The category is Xavier and would like to confirm which Jetson platform you are using.

Hi we are using Orin AGX

Hi,
Please refer to kernel customization to rebuild kernel and device tree:
Kernel Customization — Jetson Linux<br/>Developer Guide 34.1 documentation

And reflash the system:
Flashing Support — Jetson Linux<br/>Developer Guide 34.1 documentation

See if it works by clean re-flashing the system.

i modified “platform/t23x/concord/kernel-dts/cvb/tegra234-ethernet-3737-0000.dtsi” , Then my changes affected.
Now RGMII is up and running.

1 Like

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