mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Barbier, Renaud" <renaud.barbier@abaco.com>
To: "Barbier, Renaud" <renaud.barbier@abaco.com>,
	Barebox List <barebox@lists.infradead.org>
Subject: RE: phy driver
Date: Wed, 8 Dec 2021 09:30:46 +0000	[thread overview]
Message-ID: <MN2PR16MB3135F4BBAE3D8D41BB3BDA05916F9@MN2PR16MB3135.namprd16.prod.outlook.com> (raw)
In-Reply-To: <MN2PR16MB31359DA7F9096A1202445668916E9@MN2PR16MB3135.namprd16.prod.outlook.com>

I found a few boards support that fixup. It is likely it will work for the LS1021 AR8033

-----Original Message-----
From: barebox <barebox-bounces@lists.infradead.org> On Behalf Of Barbier, Renaud
Sent: 07 December 2021 18:51
To: Barebox List <barebox@lists.infradead.org>
Subject: phy driver



[**EXTERNAL SOURCE**]:Please verify the source before clicking link or opening attachment.

I am working on a LS1021A currently booting from SPI NOR.
I am having difficulties to get the network port working.
Issue is that the PHY AR8033 is not initialized properly and even though I get the correct speed/duplex at first (1000FD), no data go through.
Clearing/writing 0x100 to the phy control register then gives the lowest speed/duplex(10HD) and ping works.

The at803.c phy driver is now enabled but I do not see the driver probe function being called and neither mdio_bus_match.
I see a few examples of device trees to add the properties found in the driver. What else am I missing for the at803 to be used.

Cheers,
Renaud



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.infradead.org%2Fmailman%2Flistinfo%2Fbarebox&amp;data=04%7C01%7Crenaud.barbier%40abaco.com%7C06b9c64b270c4397a42108d9b9b2c183%7Ce6f27451899d4d0db8fa88baafa551a7%7C0%7C0%7C637744999676441621%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=OxSU%2BM3PvBjZKm4hJ9vK7Km%2Fjq2dLj3k%2BZUbLdsDv0Q%3D&amp;reserved=0

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


      reply	other threads:[~2021-12-08  9:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-07 18:51 Barbier, Renaud
2021-12-08  9:30 ` Barbier, Renaud [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MN2PR16MB3135F4BBAE3D8D41BB3BDA05916F9@MN2PR16MB3135.namprd16.prod.outlook.com \
    --to=renaud.barbier@abaco.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox