Hi Support,
We are using a TI AM65X development board which uses DP83867 as the Ethernet PHY, and we want to switch it to DP83826I.
In the current Linux BSP device tree, we have found the following code:
&davinci_mdio { mcu_eth0_phy: ethernet-phy@1 { reg = <1>; ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; ti,led-0-active-low; ti,led-2-active-low; }; };
And
&icssg1_mdio { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&icssg1_mdio_pins_default>; pruss1_eth1_phy: ethernet-phy@1 { reg = <1>; ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; ti,led-0-active-low; ti,led-2-active-low; }; pruss1_eth2_phy: ethernet-phy@2 { reg = <2>; ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; ti,led-0-active-low; ti,led-2-active-low; }; };
There are two macros DP83867_RGMIIDCTL_2_00_NS and DP83867_PHYCR_FIFO_DEPTH_4_B_NIB in the code, and they are defined in a file include/dt-bindings/net/ti-dp83867.h: https://github.com/torvalds/linux/blob/master/include/dt-bindings/net/ti-dp83867.h
If we switch the Ethernet PHY to DP83826I, how to modify the device tree? The Linux version is 5.4.
Thanks