From: Andrew Lunn <andrew@lunn.ch>
To: Oliver Graute <oliver.graute@gmail.com>
Cc: netdev@vger.kernel.org, andrew@lunn.ch,
Florian Fainelli <f.fainelli@gmail.com>,
buytenh@wantstofly.org
Subject: Re: Device Tree Binding for Marvell DSA Switch on imx28 board over Mdio Interface
Date: Mon, 17 Nov 2014 17:09:34 +0100 [thread overview]
Message-ID: <20141117160934.GR2001@lunn.ch> (raw)
In-Reply-To: <CA+KjHfY13ynH4Zr5Cerhswo3eucj3DMwq0tZ5CQquT3yuxKv-Q@mail.gmail.com>
> dsa@0 {
> compatible = "marvell,dsa";
> #address-cells = <2>;
> #size-cells = <0>;
>
> interrupts = <10>;
> //dsa,ethernet = <ðphy1>;
> //dsa,ethernet = <ð1>;
> dsa,ethernet = <&mac1>;
> //dsa,ethernet = <&mac0>;
> dsa,mii-bus = <&mdio_bus>;
>
> switch@0 {
> #address-cells = <1>;
> #size-cells = <0>;
> reg = <5 0>; /* MDIO address 5, switch 0 in tree */
Hi Oliver
How do you have the strapping pins on the switch set? They determine
what address on the mdio bus the chip responds to.
Does your u-boot have commands to read arbitrary phy registers?
Generally, reading a register that does not exist gives 0xffff. So
try some reads at different addresses and see what you can find.
Andrew
next prev parent reply other threads:[~2014-11-17 16:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-12 13:07 Device Tree Binding for Marvell DSA Switch on imx28 board over Mdio Interface Oliver Graute
2014-11-12 19:19 ` Florian Fainelli
2014-11-13 15:15 ` Oliver Graute
2014-11-13 20:03 ` Florian Fainelli
2014-11-14 7:39 ` Oliver Graute
2014-11-14 14:52 ` Oliver Graute
2014-11-14 17:09 ` Florian Fainelli
2014-11-17 15:58 ` Oliver Graute
2014-11-17 16:09 ` Andrew Lunn [this message]
2014-11-18 8:30 ` Oliver Graute
2014-11-18 18:23 ` Florian Fainelli
2014-11-19 7:49 ` Oliver Graute
2014-11-19 15:08 ` Andrew Lunn
2014-11-17 16:45 ` Fabio Estevam
2014-11-17 16:54 ` Oliver Graute
2014-11-18 0:39 ` Fabio Estevam
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=20141117160934.GR2001@lunn.ch \
--to=andrew@lunn.ch \
--cc=buytenh@wantstofly.org \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=oliver.graute@gmail.com \
/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).