From: Andrew Lunn <andrew@lunn.ch>
To: Alayev Michael <malayev@iai.co.il>
Cc: "'netdev@vger.kernel.org'" <netdev@vger.kernel.org>,
Dror Alon <adror@iai.co.il>, Efter Yoram <yefter@iai.co.il>
Subject: Re: dsa with 2 rgmii channels (1st is 2 switches & 2nd is phy)
Date: Sun, 4 Mar 2018 16:31:23 +0100 [thread overview]
Message-ID: <20180304153123.GA19623@lunn.ch> (raw)
In-Reply-To: <48F7D4389F30BA4383F214EE802BA471017065534C@EXS10.iai.co.il>
Hi Michael
> mdio {
> compatible = "cdns,macb-mdio";
> /* reg = <0xe000b000 0x1000>; */
> /* clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>; */
> /* clock-names = "pclk", "hclk", "tx_clk"; */
> #address-cells = <1>;
> #size-cells = <0>;
> status = "okay";
> switch0: switch@0 {
> compatible = "marvell,mv88e6352";
Please use marvell,mv88e6085. That is what the 6352 is compatible
with.
It would also be good to sort out your mixup between tabs and spaces.
> mdio {
> compatible = "cdns,macb-mdio";
> /* reg = <0xe000c000 0x1000>; */
> /* clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>; */
> /* clock-names = "pclk", "hclk", "tx_clk"; */
> #address-cells = <1>;
> #size-cells = <0>;
> status = "okay";
> ethernet_phy: ethernet-phy@0 {
> compatible = "marvell,mv88e1510";
> device_type = "ethernet-phy";
> reg = <0>;
> };
PHYs don't have compatible strings. It is not needed, you can read the
vendor and model from its registers.
Andrew
next parent reply other threads:[~2018-03-04 15:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <48F7D4389F30BA4383F214EE802BA471017065534C@EXS10.iai.co.il>
2018-03-04 15:31 ` Andrew Lunn [this message]
2018-03-05 13:12 ` dsa with 2 rgmii channels (1st is 2 switches & 2nd is phy) Alayev Michael
2018-03-05 14:15 ` Andrew Lunn
2018-03-09 8:00 ` Alayev Michael
2018-03-09 14:25 ` Andrew Lunn
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=20180304153123.GA19623@lunn.ch \
--to=andrew@lunn.ch \
--cc=adror@iai.co.il \
--cc=malayev@iai.co.il \
--cc=netdev@vger.kernel.org \
--cc=yefter@iai.co.il \
/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).