From: Andrew Lunn <andrew@lunn.ch>
To: "Jörg Willmann" <joe@clnt.de>
Cc: netdev@vger.kernel.org
Subject: Re: etsec2 attached to sgmii phy
Date: Wed, 4 Oct 2017 15:36:42 +0200 [thread overview]
Message-ID: <20171004133642.GM30045@lunn.ch> (raw)
In-Reply-To: <alpine.DEB.2.20.1710040756160.31757@brian.int1.clnt.de>
On Wed, Oct 04, 2017 at 07:56:53AM +0200, Jörg Willmann wrote:
> Hi,
>
> we use a QorIQ P1011 connected via SGMII to a switch (Marvell 88E6352).
> Currently we still use a really old linux kernel (2.6.33) successfully.
>
> For configuration of the MDIO Bus attached to the corresponding eTSEC/TBI
> Phy we use the following settings in the device tree:
>
> mdio@25000 {
> #address-cells = <0x1>;
> #size-cells = <0x0>;
> compatible = "fsl,etsec2-tbi";
> reg = <0x25000 0x1000 0xb1030 0x4>;
Hi Joerg
Is 0xb1030 0x4 fixed by the silicon? Can it be expressed as an offset from
0x25000?
It seems like the idea behind the patch is to hard code some
things. If you can hard code the offset into get_etsec_tbipa(), i
think that would be an O.K. solution to your problem.
Andrew
next prev parent reply other threads:[~2017-10-04 13:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-04 5:56 etsec2 attached to sgmii phy Jörg Willmann
2017-10-04 13:36 ` Andrew Lunn [this message]
2017-10-04 14:19 ` Jörg Willmann
2017-10-04 15:34 ` Andrew Lunn
2017-10-04 16:40 ` Jörg Willmann
-- strict thread matches above, loose matches on Subject: below --
2017-10-04 5:50 Jörg Willmann
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=20171004133642.GM30045@lunn.ch \
--to=andrew@lunn.ch \
--cc=joe@clnt.de \
--cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).