So I cut the trace for reset pin on Lan8710 and jumpered a wire to a gpio
pin. And I added the reset gpio/reset-delay-us as shown in this
link:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/mdio.txt
I added following commands in am335x.dtsi on line 1057
reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
reset-delay-us = <100>;
After adding these lines, I rebuilt my device tree and booted the board with
new dtb. But I do not get a low signal on GPIO1_16.
What am I doing wrong here? Do I need to initialize GPIO1_16 as high somewhere?
Currently GPIO1_16 gives 1.5V constantly.
Any help would be greatly appreciated.
On Monday, August 6, 2018 at 6:22:50 PM UTC-6, RobertCNelson wrote:
>
>
>
> On Mon, Aug 6, 2018 at 7:13 PM <[email protected] <javascript:>> wrote:
>
>> Hi All,
>>
>> I have a custom board using AM3358, which is very similar to beaglebone.
>> I am having trouble with bringing up ethernet.
>>
>> This is what I get when I execute *dmesg | grep mdio*
>>
>> *[ 4.412295] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
>> *
>> *[ 4.418430] davinci_mdio 4a101000.mdio: no live phy, scanning all
>> *
>> *[ 4.424791] davinci_mdio: probe of 4a101000.mdio failed with error
>> -5 *
>> *[ 10.044897] libphy: PHY 4a101000.mdio:00 not found
>> *
>> *[ 10.049713] net eth0: phy 4a101000.mdio:00 not found on slave 0
>> *
>> *[ 12.258086] libphy: PHY 4a101000.mdio:00 not found
>> *
>> *[ 12.262928] net eth0: phy 4a101000.mdio:00 not found on slave 0 *
>>
>>
>> I am using a custom linux image which was built using buildroot. I am
>> able to get ethernet working with my same linux image on beaglebone. To me
>> it seems like its a hardware issue.
>> Please see my Ethernet schematics. I am using a SI-52003-F as my ethernet
>> connector for my POE circuit (which is not shown here).
>>
>> Any help would be greatly appreciated.
>>
>
> Smells like:
>
>
> https://github.com/RobertCNelson/bb-kernel/blob/am33x-v4.14/patches/drivers/ti/cpsw/0001-cpsw-search-for-phy.patch
>
> If you have more board changes in the works, route the lan8710a to a gpio
> so you can reset it in the kernel..
>
> see the mdio binding: reset-gpios/reset-delay-us...
>
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/mdio.txt
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/c74102fe-a0d9-4a6d-bbb1-2ccbf9bfd19f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.