All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gregory CLEMENT <gregory.clement@free-electrons.com>
To: Marcin Wojtas <mw@semihalf.com>
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	sebastian.hesselbarth@gmail.com, andrew@lunn.ch,
	jason@lakedaemon.net, thomas.petazzoni@free-electrons.com,
	will.deacon@arm.com, robh+dt@kernel.org, mark.rutland@arm.com,
	nadavh@marvell.com, neta@marvell.com, jaz@semihalf.com,
	tn@semihalf.com
Subject: Re: [PATCH 2/2] arm64: marvell: dts: add second 1G port on the Armada 8040 DB
Date: Tue, 23 May 2017 16:24:53 +0200	[thread overview]
Message-ID: <87zie3wszu.fsf@free-electrons.com> (raw)
In-Reply-To: <1494890913-8360-3-git-send-email-mw@semihalf.com> (Marcin Wojtas's message of "Tue, 16 May 2017 01:28:33 +0200")

Hi Marcin,
 
 On mar., mai 16 2017, Marcin Wojtas <mw@semihalf.com> wrote:

> Armada 8040 DB is equipped with 4 (2x 10G SFI + 2x 1G RGMII)
> ethernet ports of which only one was hitherto enabled.
> Because currently mvpp2 driver is capable of supporting only
> 1G RGMII/SGMII, enable second port from CP slave HW block.
>

Applied on mvebu/dt64

Thanks,

Gregory

> Signed-off-by: Marcin Wojtas <mw@semihalf.com>
> ---
>  arch/arm64/boot/dts/marvell/armada-8040-db.dts | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> index dc0d084..3cde649 100644
> --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> @@ -169,6 +169,22 @@
>  	status = "okay";
>  };
>  
> +&cps_mdio {
> +	phy0: ethernet-phy@0 {
> +		reg = <0>;
> +	};
> +};
> +
> +&cps_ethernet {
> +	status = "okay";
> +};
> +
> +&cps_eth1 {
> +	status = "okay";
> +	phy = <&phy0>;
> +	phy-mode = "rgmii-id";
> +};
> +
>  &ap_sdhci0 {
>  	status = "okay";
>  	bus-width = <4>;
> -- 
> 1.8.3.1
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

WARNING: multiple messages have this Message-ID (diff)
From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] arm64: marvell: dts: add second 1G port on the Armada 8040 DB
Date: Tue, 23 May 2017 16:24:53 +0200	[thread overview]
Message-ID: <87zie3wszu.fsf@free-electrons.com> (raw)
In-Reply-To: <1494890913-8360-3-git-send-email-mw@semihalf.com> (Marcin Wojtas's message of "Tue, 16 May 2017 01:28:33 +0200")

Hi Marcin,
 
 On mar., mai 16 2017, Marcin Wojtas <mw@semihalf.com> wrote:

> Armada 8040 DB is equipped with 4 (2x 10G SFI + 2x 1G RGMII)
> ethernet ports of which only one was hitherto enabled.
> Because currently mvpp2 driver is capable of supporting only
> 1G RGMII/SGMII, enable second port from CP slave HW block.
>

Applied on mvebu/dt64

Thanks,

Gregory

> Signed-off-by: Marcin Wojtas <mw@semihalf.com>
> ---
>  arch/arm64/boot/dts/marvell/armada-8040-db.dts | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> index dc0d084..3cde649 100644
> --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> @@ -169,6 +169,22 @@
>  	status = "okay";
>  };
>  
> +&cps_mdio {
> +	phy0: ethernet-phy at 0 {
> +		reg = <0>;
> +	};
> +};
> +
> +&cps_ethernet {
> +	status = "okay";
> +};
> +
> +&cps_eth1 {
> +	status = "okay";
> +	phy = <&phy0>;
> +	phy-mode = "rgmii-id";
> +};
> +
>  &ap_sdhci0 {
>  	status = "okay";
>  	bus-width = <4>;
> -- 
> 1.8.3.1
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2017-05-23 14:25 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-15 23:28 [PATCH 0/2] Armada 8040 MachiatoBin and DB improvements Marcin Wojtas
2017-05-15 23:28 ` Marcin Wojtas
2017-05-15 23:28 ` [PATCH 1/2] arm64: marvell: dts: fill MachiatoBin board description Marcin Wojtas
2017-05-15 23:28   ` Marcin Wojtas
2017-05-15 23:28   ` Russell King - ARM Linux
2017-05-15 23:28     ` Russell King - ARM Linux
2017-05-16  9:27     ` Marcin Wojtas
2017-05-16  9:27       ` Marcin Wojtas
2017-05-16  9:50       ` Russell King - ARM Linux
2017-05-16  9:50         ` Russell King - ARM Linux
2017-05-16  9:55         ` Thomas Petazzoni
2017-05-16  9:55           ` Thomas Petazzoni
2017-05-16 10:02           ` Russell King - ARM Linux
2017-05-16 10:02             ` Russell King - ARM Linux
2017-05-16 11:52             ` Thomas Petazzoni
2017-05-16 11:52               ` Thomas Petazzoni
2017-05-16 12:13               ` Russell King - ARM Linux
2017-05-16 12:13                 ` Russell King - ARM Linux
2017-05-16 12:44                 ` Marcin Wojtas
2017-05-16 12:44                   ` Marcin Wojtas
2017-05-16 13:45                   ` Russell King - ARM Linux
2017-05-16 13:45                     ` Russell King - ARM Linux
2017-05-16 11:16       ` Russell King - ARM Linux
2017-05-16 11:16         ` Russell King - ARM Linux
2017-05-16 11:33         ` Marcin Wojtas
2017-05-16 11:33           ` Marcin Wojtas
2017-05-16 11:14   ` Russell King - ARM Linux
2017-05-16 11:14     ` Russell King - ARM Linux
2017-05-16 12:34   ` Thomas Petazzoni
2017-05-16 12:34     ` Thomas Petazzoni
2017-05-16 12:40     ` Russell King - ARM Linux
2017-05-16 12:40       ` Russell King - ARM Linux
2017-05-15 23:28 ` [PATCH 2/2] arm64: marvell: dts: add second 1G port on the Armada 8040 DB Marcin Wojtas
2017-05-15 23:28   ` Marcin Wojtas
2017-05-23 14:24   ` Gregory CLEMENT [this message]
2017-05-23 14:24     ` Gregory CLEMENT

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=87zie3wszu.fsf@free-electrons.com \
    --to=gregory.clement@free-electrons.com \
    --cc=andrew@lunn.ch \
    --cc=jason@lakedaemon.net \
    --cc=jaz@semihalf.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mw@semihalf.com \
    --cc=nadavh@marvell.com \
    --cc=neta@marvell.com \
    --cc=robh+dt@kernel.org \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=thomas.petazzoni@free-electrons.com \
    --cc=tn@semihalf.com \
    --cc=will.deacon@arm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.