Hi Ti,
We are using Linux RT SDK 07.01.00.18 on our customized board and tried to check the behavior of MDIO.
We connect a mdio with a ethernet phy, Ti83867.
&icssg1_mdio {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&icssg1_mdio_pins_default>;
reset = <&main_gpio0 66 GPIO_ACTIVE_LOW>; /*83867*/
reset-delay-us = <2>;
/*83867*/
pruss1_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>;
};
};
We modify the #define PHY_MAX_ADDR as 4 in phy.h. and tried to get the waveform of MDC and MDIO.
According to the spec, the waveform of read should be as below.
But when we check the waveform, we found the PHY address not only 0~4, for example, the address below is 0x18. If this behavior correct?
We want to know why the phy address larger then the PHY_MAX_ADDR setting?
Eric