Hi!
Following those topics and this guide :
- To be enable RGMII for AGX Orin Custom Board - #3 by sumin.lee1
- Jetson AGX Orin RGMII to use - #6 by WayneWWW
I’m trying to setup RGMII for my 1Gb Ethernet on custom board. I have correctly setup the pinmux (here is the file Orin-jetson_agx_orin-pinmux.dtsi (65.7 KB)) and am trying to change the dt file tegra234-ethernet-3737-0000.dtsi
located here Linux_for_Tegra/source/public/hardware/nvidia/platform/t23x/concord/kernel-dts/cvb
this way :
/* RGMII - A */
ethernet@2310000 {
status = “okay”;
nvidia,mac-addr-idx = <0>;
nvidia,max-platform-mtu = <8000>;
nvidia,pause_frames = <0>;
local-mac-adress = [1a 2b 3c 4d 5e 6f];
nvidia,phy-reset-gpio = <&tegra_main_gpio TEGRA234_MAIN_GPIO(g, $) 0>;
phy-handle = <&phy>;
phy-mode = “rgmii-id”;mdio { compatible = "nvidia,eqos-mdio"; #address-cells = <1>; #size-cells = <0>; phy: phy@1 { reg = <1>; nvidia,phy-rst-pdelay-msec = <224>; /* msec */ nvidia,phy-rst-duration-usec = <10000>; /* usec */ interrupt-parent = <&tegra_main_gpio>; interrupts = <TEGRA234_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>; }; };
};
However, it does not compile when trying to rebuild kernel.
Please let me know what to do to fix it!
Thank you,
Loic