From: Chris Packham <Chris.Packham@alliedtelesis.co.nz> To: Gregory CLEMENT <gregory.clement@bootlin.com>, "andrew@lunn.ch" <andrew@lunn.ch>, "sebastian.hesselbarth@gmail.com" <sebastian.hesselbarth@gmail.com>, "robh+dt@kernel.org" <robh+dt@kernel.org>, "kostap@marvell.com" <kostap@marvell.com> Cc: "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: Re: [PATCH 1/2] arm/arm64: dts: Enable 2.5G Ethernet port on CN9130-CRB Date: Sun, 17 Oct 2021 22:15:45 +0000 [thread overview] Message-ID: <ec1d0227-5423-58be-4c73-edebf10dc05a@alliedtelesis.co.nz> (raw) In-Reply-To: <87czo9dlkd.fsf@BL-laptop> On 14/10/21 3:52 am, Gregory CLEMENT wrote: > Hello Chris, > >> Enable the 2.5G Ethernet port by setting the status to "okay" and the >> phy-mode to "2500base-x" on the cn9130-crb boards. Tested on a >> CN9130-CRB-A. >> >> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> > As I am not sure that next week the pull request will be accepted when > you will send the v2 for the second patch, I already applied the one on > mvebu/dt64 OK thanks. This patch is independent of the switch/sfp so this should be fine. > Thanks, > > Gregory > > >> --- >> >> The Marvell SDK adds 2500base-t and uses it in the equivalent dtsi but >> looking at the documentation for both the SoC and the PHY I think >> 2500base-x is correct for the system interface (the line side is >> 2500base-t). >> >> arch/arm64/boot/dts/marvell/cn9130-crb.dtsi | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi b/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi >> index 505ae69289f6..e7918f325646 100644 >> --- a/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi >> +++ b/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi >> @@ -214,8 +214,8 @@ &cp0_eth1 { >> }; >> >> &cp0_eth2 { >> - /* This port uses "2500base-t" phy-mode */ >> - status = "disabled"; >> + status = "okay"; >> + phy-mode = "2500base-x"; >> phy = <&nbaset_phy0>; >> phys = <&cp0_comphy5 2>; >> }; >> -- >> 2.33.0 >>
WARNING: multiple messages have this Message-ID (diff)
From: Chris Packham <Chris.Packham@alliedtelesis.co.nz> To: Gregory CLEMENT <gregory.clement@bootlin.com>, "andrew@lunn.ch" <andrew@lunn.ch>, "sebastian.hesselbarth@gmail.com" <sebastian.hesselbarth@gmail.com>, "robh+dt@kernel.org" <robh+dt@kernel.org>, "kostap@marvell.com" <kostap@marvell.com> Cc: "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: Re: [PATCH 1/2] arm/arm64: dts: Enable 2.5G Ethernet port on CN9130-CRB Date: Sun, 17 Oct 2021 22:15:45 +0000 [thread overview] Message-ID: <ec1d0227-5423-58be-4c73-edebf10dc05a@alliedtelesis.co.nz> (raw) In-Reply-To: <87czo9dlkd.fsf@BL-laptop> On 14/10/21 3:52 am, Gregory CLEMENT wrote: > Hello Chris, > >> Enable the 2.5G Ethernet port by setting the status to "okay" and the >> phy-mode to "2500base-x" on the cn9130-crb boards. Tested on a >> CN9130-CRB-A. >> >> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> > As I am not sure that next week the pull request will be accepted when > you will send the v2 for the second patch, I already applied the one on > mvebu/dt64 OK thanks. This patch is independent of the switch/sfp so this should be fine. > Thanks, > > Gregory > > >> --- >> >> The Marvell SDK adds 2500base-t and uses it in the equivalent dtsi but >> looking at the documentation for both the SoC and the PHY I think >> 2500base-x is correct for the system interface (the line side is >> 2500base-t). >> >> arch/arm64/boot/dts/marvell/cn9130-crb.dtsi | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi b/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi >> index 505ae69289f6..e7918f325646 100644 >> --- a/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi >> +++ b/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi >> @@ -214,8 +214,8 @@ &cp0_eth1 { >> }; >> >> &cp0_eth2 { >> - /* This port uses "2500base-t" phy-mode */ >> - status = "disabled"; >> + status = "okay"; >> + phy-mode = "2500base-x"; >> phy = <&nbaset_phy0>; >> phys = <&cp0_comphy5 2>; >> }; >> -- >> 2.33.0 >> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-10-17 22:16 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-07 23:06 [PATCH 0/2] arm/arm64: dts: Enable more network hardware Chris Packham 2021-10-07 23:06 ` Chris Packham 2021-10-07 23:06 ` [PATCH 1/2] arm/arm64: dts: Enable 2.5G Ethernet port on CN9130-CRB Chris Packham 2021-10-07 23:06 ` Chris Packham 2021-10-07 23:45 ` Andrew Lunn 2021-10-07 23:45 ` Andrew Lunn 2021-10-13 14:52 ` Gregory CLEMENT 2021-10-13 14:52 ` Gregory CLEMENT 2021-10-17 22:15 ` Chris Packham [this message] 2021-10-17 22:15 ` Chris Packham 2021-11-09 1:00 ` Chris Packham 2021-11-09 1:00 ` Chris Packham 2021-10-07 23:06 ` [PATCH 2/2] arm/arm64: dts: Add MV88E6393X to CN9130-CRB device tree Chris Packham 2021-10-07 23:06 ` Chris Packham 2021-10-07 23:51 ` Andrew Lunn 2021-10-07 23:51 ` Andrew Lunn 2021-10-08 0:09 ` Chris Packham 2021-10-08 0:09 ` Chris Packham 2021-10-10 14:45 ` Andrew Lunn 2021-10-10 14:45 ` Andrew Lunn 2021-10-10 15:21 ` Andrew Lunn 2021-10-10 15:21 ` 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=ec1d0227-5423-58be-4c73-edebf10dc05a@alliedtelesis.co.nz \ --to=chris.packham@alliedtelesis.co.nz \ --cc=andrew@lunn.ch \ --cc=devicetree@vger.kernel.org \ --cc=gregory.clement@bootlin.com \ --cc=kostap@marvell.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=robh+dt@kernel.org \ --cc=sebastian.hesselbarth@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: linkBe 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.