public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: andrew@lunn•ch (Andrew Lunn)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v2 3/3] arm64: dts: marvell: Add ethernet switch definition for the ESPRESSObin
Date: Tue, 20 Dec 2016 16:42:34 +0100	[thread overview]
Message-ID: <20161220154234.GC30952@lunn.ch> (raw)
In-Reply-To: <20161220085138.3998-4-romain.perier@free-electrons.com>

> +&mdio {
> +	switch0: switch0 at 0 {
> +		compatible = "marvell,mv88e6085";
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		reg = <1>;

Ah, sorry, missed this last time. reg = <1>, that means switch0 at 1.
That is a general rule for all device tree bindings.

> +		mdio {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			reg = <1>;

what is this reg value for?

     Andrew

  reply	other threads:[~2016-12-20 15:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-20  8:51 [PATCH v2 0/3] Add support for the ethernet switch on the ESPRESSObin Romain Perier
2016-12-20  8:51 ` [PATCH v2 1/3] net: dsa: mv88e6xxx: Don't forbid MDIO I/Os for PHY addr >= num_of_ports Romain Perier
2016-12-20  8:51 ` [PATCH v2 2/3] net: dsa: mv88e6xxx: Add support for ethernet switch 88E6341/88E6141 Romain Perier
2016-12-20 15:37   ` Andrew Lunn
2016-12-20  8:51 ` [PATCH v2 3/3] arm64: dts: marvell: Add ethernet switch definition for the ESPRESSObin Romain Perier
2016-12-20 15:42   ` Andrew Lunn [this message]
2016-12-20 16:09     ` Romain Perier
2016-12-20 16:17       ` Andrew Lunn
2016-12-21  8:57         ` Romain Perier
2016-12-20  8:53 ` [PATCH v2 0/3] Add support for the ethernet switch on " Romain Perier

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=20161220154234.GC30952@lunn.ch \
    --to=andrew@lunn$(echo .)ch \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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