From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Sebastian Reichel <sebastian.reichel@collabora.co.uk>,
Andrew Lunn <andrew@lunn.ch>,
Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <kernel@pengutronix.de>,
Fabio Estevam <fabio.estevam@nxp.com>
Cc: Ian Ray <ian.ray@ge.com>, Nandor Han <nandor.han@ge.com>,
Rob Herring <robh+dt@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCHv1 3/6] ARM: dts: imx6q-bx50v3: Add internal switch
Date: Wed, 3 Jan 2018 17:48:42 +0300 [thread overview]
Message-ID: <5c87f610-4927-faca-40a7-3f83e7f00ff7@cogentembedded.com> (raw)
In-Reply-To: <20180103122609.5482-4-sebastian.reichel@collabora.co.uk>
Hello!
On 01/03/2018 03:26 PM, Sebastian Reichel wrote:
> B850v3, B650v3 and B450v3 all have a GPIO bit banged MDIO bus to
> communicate with a Marvell switch. On all devices the switch is
> connected to a PCI based network card, which needs to be referenced
> by DT, so this also adds the common PCI root node.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
> ---
> arch/arm/boot/dts/imx6q-bx50v3.dtsi | 37 +++++++++++++++++++++++++++++++++++++
> 1 file changed, 37 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6q-bx50v3.dtsi b/arch/arm/boot/dts/imx6q-bx50v3.dtsi
> index b915837bbb5f..689981e90e68 100644
> --- a/arch/arm/boot/dts/imx6q-bx50v3.dtsi
> +++ b/arch/arm/boot/dts/imx6q-bx50v3.dtsi
> @@ -92,6 +92,31 @@
> mux-int-port = <1>;
> mux-ext-port = <4>;
> };
> +
> + aliases {
> + mdio-gpio0 = &mdio0;
> + };
> +
> + mdio0: mdio-gpio {
> + compatible = "virtual,mdio-gpio";
> + gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>, /* mdc */
> + <&gpio2 7 GPIO_ACTIVE_HIGH>; /* mdio */
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + switch@0 {
> + compatible = "marvell,mv88e6240";
Why suddenly 2 extra tabs instead of 1?
> + #address-cells = <1>;
> + #size-cells = <0>;
> + reg = <0>;
> +
> + switch_ports: ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + };
> + };
> + };
> };
>
> &ecspi5 {
[...]
MBR, Sergei
next prev parent reply other threads:[~2018-01-03 14:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-03 12:26 [PATCHv1 0/6] GEHC Bx50 Switch Support Sebastian Reichel
2018-01-03 12:26 ` [PATCHv1 1/6] net: dsa: Support internal phy on 'cpu' port Sebastian Reichel
2018-01-03 13:21 ` Andrew Lunn
2018-01-03 15:07 ` Sebastian Reichel
2018-01-03 12:26 ` [PATCHv1 2/6] net: dsa: mv88e6xxx: add 88E6240 DT compatible Sebastian Reichel
2018-01-03 12:55 ` Andrew Lunn
2018-01-03 12:26 ` [PATCHv1 3/6] ARM: dts: imx6q-bx50v3: Add internal switch Sebastian Reichel
2018-01-03 14:48 ` Sergei Shtylyov [this message]
2018-01-03 15:24 ` Sebastian Reichel
2018-01-03 12:26 ` [PATCHv1 4/6] ARM: dts: imx6q-b850v3: Add switch port configuration Sebastian Reichel
2018-01-03 12:26 ` [PATCHv1 5/6] ARM: dts: imx6q-b650v3: " Sebastian Reichel
2018-01-03 12:26 ` [PATCHv1 6/6] ARM: dts: imx6q-b450v3: " Sebastian Reichel
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=5c87f610-4927-faca-40a7-3f83e7f00ff7@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=fabio.estevam@nxp.com \
--cc=ian.ray@ge.com \
--cc=kernel@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=nandor.han@ge.com \
--cc=netdev@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sebastian.reichel@collabora.co.uk \
--cc=shawnguo@kernel.org \
--cc=vivien.didelot@savoirfairelinux.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
all inboxes | Powered by JetHome®