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.

AM5728: AM5728 ethernet phy issue

Part Number: AM5728
Other Parts Discussed in Thread: TMP102

we are developing own custom board with Am5728 as a main processor. so we are using dp83867 ethernet phy driver, we can able to detect the ethernet in u-boot and we can perform tftp.

but in kernel ,ethernet phy is not detecting. our phy id is 0  for ethernet1  our dts configuration 

&davinci_mdio {
dp83867_0: ethernet-phy@0 {
status = "okay";
reg = <0>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_3_00_NS>;
ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
ti,min-output-impedance;
ti,dp83867-rxctrl-strap-quirk;
};
};
&mac {
status = "okay";
// dual_emac;
slaves = <1>;
};
&cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>;
phy-mode = "rgmii-id";
dual_emac_res_vlan = <1>;
};
but still kernel is looking for ethernet at phy 1 .
please find the attached boot log.
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 1.796380] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
[ 2.771273] console [ttyS2] enabled
[ 2.775611] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
[ 2.786406] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[ 2.793182] [drm] Initialized
[ 2.798096] OMAP DSS rev 6.1
[ 2.801449] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 2.809883] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[ 2.820485] display supply vcc not found, using dummy regulator
[ 2.967990] brd: module loaded
[ 2.996467] loop: module loaded
[ 3.000212] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
[ 3.010086] libphy: Fixed MDIO Bus: probed
[ 3.070409] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[ 3.076534] libphy: 48485000.mdio: probed
[ 3.082874] cpsw 48484000.ethernet: Detected MACID = 88:3f:4a:4e:4c:80
[ 3.089492] cpsw 48484000.ethernet: device node lookup for pps timer failed
[ 3.096523] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
[ 3.104695] cpsw 48484000.ethernet: cpsw: Detected MACID = 88:3f:4a:4e:4c:81
[ 3.113419] mousedev: PS/2 mouse device common for all mice
[ 3.119372] i2c /dev entries driver
[ 3.125880] gpio-fan gpio_fan: GPIO fan initialized
[ 3.131374] tmp102 0-0048: error reading config register
[ 3.136834] tmp102: probe of 0-0048 failed with error -121
[ 3.145755] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 3.220876] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[ 3.227261] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[ 3.347543] mmc1: new DDR MMC card at address 0001
[ 3.356735] NET: Registered protocol family 10
[ 3.361706] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB
[ 3.366908] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.376541] NET: Registered protocol family 17
[ 3.376931] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[ 3.388285] Key type dns_resolver registered
[ 3.390416] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[ 3.400205] omap_voltage_late_init: Voltage driver support not added
[ 3.406693] Power Management for TI OMAP4+ devices.
[ 3.411811] Registering SWP/SWPB emulation handler
[ 3.433323] dmm 4e000000.dmm: workaround for errata i878 in use
[ 3.441430] dmm 4e000000.dmm: initialized all PAT entries
[ 3.471780] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3.478425] [drm] No driver support for vblank timestamp query.
[ 3.487866] [drm] Enabling DMM ywrap scrolling
[ 3.560108] Console: switching to colour frame buffer device 100x30
[ 3.569266] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[ 3.577944] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[ 3.585094] hctosys: unable to open rtc device (rtc0)
[ 3.591189] net eth0: initializing cpsw version 1.15 (0)
[ 3.596530] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
[ 3.602912] cpsw 48484000.ethernet: ALE Table size 1024
[ 3.611193] net eth0: phy "/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@1" not found on slave 0
[ 3.622120] cpts ptp bc clkid 0
[ 3.630319] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3.636553] net eth1: initializing cpsw version 1.15 (0)
[ 3.644890] net eth1: phy "/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@2" not found on slave 1
[ 3.660173] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 13.680385] Waiting up to 110 more seconds for network.
[ 23.700383] Waiting up to 100 more seconds for network.
[ 33.720381] Waiting up to 90 more seconds for network.
[ 43.740392] Waiting up to 80 more seconds for network.
[ 53.760397] Waiting up to 70 more seconds for network.
[ 63.780385] Waiting up to 60 more seconds for network.
[ 73.800394] Waiting up to 50 more seconds for network.
[ 83.820397] Waiting up to 40 more seconds for network.
[ 93.840407] Waiting up to 30 more seconds for network.
can anyone help us how to fix this!!!!!!!