This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
We are using DP83867 1G phy over RGMII with JETSON AGX orin and did following changes in dtsi. Please let me know it is correct or not-
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, 5) 0>;
phy-handle = <&phy>;
phy-mode = "rgmii-id";
mdio {
compatible = "ethernet-phy-ieee802.3-c22"; //THIS IS BASED ON WHAT WE READ
ON TI FORUM FOR THIS PHY
#address-cells = <1>;
#size-cells = <0>;
phy: phy@0 {
reg = <0>; // WE ARE NOT SURE IF 0 IS RIGHT ADDRESS, ADVICE ON HOW TO
CHECK WHAT ADDRESS WE UPDATE HERE
tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
ti,max-output-impedance;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
interrupt-parent = <&tegra_main_gpio>;
interrupts = <TEGRA234_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>;
};
};
};
Thanks
Sagar
Hi Sagar,
For address, this is dependent on your strap configuration of the device. If the intended device address is not responding, I would suggest testing across all PHY ID's to evaluate if the device has been misstrapped.
Sincerely,
Gerome
Hi Gerome,
Since i am not using any Pullup and pull down on RX_D0, RXD2 and RX_D4. so by default address will be 00. And please confirm reg=0 used for address.
Thanks
Sagar
Hi Sagar,
This is correct. We will look to correct this typo.
Sincerely,
Gerome