* [PATCH net-next 1/1] ARM: dts: imx6sx: correct i.MX6sx sdb board enet phy address
@ 2015-01-19 9:38 Fugang Duan
2015-01-19 10:04 ` Stefan Agner
2015-01-20 8:31 ` Shawn Guo
0 siblings, 2 replies; 4+ messages in thread
From: Fugang Duan @ 2015-01-19 9:38 UTC (permalink / raw)
To: shawn.guo, davem; +Cc: netdev, s.hauer, b38611, stefan, linux-arm-kernel
The commit (3d125f9c91c5) cause i.MX6SX sdb enet cannot work. The cause is
the commit add mdio node with un-correct phy address.
The patch just correct i.MX6sx sdb board enet phy address.
Signed-off-by: Fugang Duan <B38611@freescale.com>
---
arch/arm/boot/dts/imx6sx-sdb.dts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts
index 8c1febd..9db123f 100644
--- a/arch/arm/boot/dts/imx6sx-sdb.dts
+++ b/arch/arm/boot/dts/imx6sx-sdb.dts
@@ -167,11 +167,11 @@
#size-cells = <0>;
ethphy1: ethernet-phy@0 {
- reg = <0>;
+ reg = <1>;
};
ethphy2: ethernet-phy@1 {
- reg = <1>;
+ reg = <2>;
};
};
};
--
1.7.8
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next 1/1] ARM: dts: imx6sx: correct i.MX6sx sdb board enet phy address
2015-01-19 9:38 [PATCH net-next 1/1] ARM: dts: imx6sx: correct i.MX6sx sdb board enet phy address Fugang Duan
@ 2015-01-19 10:04 ` Stefan Agner
2015-01-20 8:31 ` Shawn Guo
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Agner @ 2015-01-19 10:04 UTC (permalink / raw)
To: Fugang Duan; +Cc: shawn.guo, davem, netdev, linux-arm-kernel, s.hauer
On 2015-01-19 10:38, Fugang Duan wrote:
> The commit (3d125f9c91c5) cause i.MX6SX sdb enet cannot work. The cause is
> the commit add mdio node with un-correct phy address.
Sorry about that, somehow I did not take in consideration that that
could be different on the SoloX board.. Just checked again on Vybrid, it
is correct there, the dual PHY DP83849I addresses the two ports with 0
and 1 respectively.
>
> The patch just correct i.MX6sx sdb board enet phy address.
Acked-by: Stefan Agner <stefan@agner.ch>
>
> Signed-off-by: Fugang Duan <B38611@freescale.com>
> ---
> arch/arm/boot/dts/imx6sx-sdb.dts | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts
> index 8c1febd..9db123f 100644
> --- a/arch/arm/boot/dts/imx6sx-sdb.dts
> +++ b/arch/arm/boot/dts/imx6sx-sdb.dts
> @@ -167,11 +167,11 @@
> #size-cells = <0>;
>
> ethphy1: ethernet-phy@0 {
> - reg = <0>;
> + reg = <1>;
> };
>
> ethphy2: ethernet-phy@1 {
> - reg = <1>;
> + reg = <2>;
> };
> };
> };
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next 1/1] ARM: dts: imx6sx: correct i.MX6sx sdb board enet phy address
2015-01-19 9:38 [PATCH net-next 1/1] ARM: dts: imx6sx: correct i.MX6sx sdb board enet phy address Fugang Duan
2015-01-19 10:04 ` Stefan Agner
@ 2015-01-20 8:31 ` Shawn Guo
2015-01-20 8:44 ` fugang.duan
1 sibling, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2015-01-20 8:31 UTC (permalink / raw)
To: Fugang Duan; +Cc: davem, netdev, linux-arm-kernel, s.hauer, stefan
On Mon, Jan 19, 2015 at 05:38:02PM +0800, Fugang Duan wrote:
> The commit (3d125f9c91c5) cause i.MX6SX sdb enet cannot work. The cause is
> the commit add mdio node with un-correct phy address.
>
> The patch just correct i.MX6sx sdb board enet phy address.
>
> Signed-off-by: Fugang Duan <B38611@freescale.com>
> ---
> arch/arm/boot/dts/imx6sx-sdb.dts | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts
> index 8c1febd..9db123f 100644
> --- a/arch/arm/boot/dts/imx6sx-sdb.dts
> +++ b/arch/arm/boot/dts/imx6sx-sdb.dts
> @@ -167,11 +167,11 @@
> #size-cells = <0>;
>
> ethphy1: ethernet-phy@0 {
The unit-address should match 'reg' property, so it needs an update too.
Shawn
> - reg = <0>;
> + reg = <1>;
> };
>
> ethphy2: ethernet-phy@1 {
> - reg = <1>;
> + reg = <2>;
> };
> };
> };
> --
> 1.7.8
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH net-next 1/1] ARM: dts: imx6sx: correct i.MX6sx sdb board enet phy address
2015-01-20 8:31 ` Shawn Guo
@ 2015-01-20 8:44 ` fugang.duan
0 siblings, 0 replies; 4+ messages in thread
From: fugang.duan @ 2015-01-20 8:44 UTC (permalink / raw)
To: Shawn Guo
Cc: davem@davemloft.net, netdev@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, s.hauer@pengutronix.de,
stefan@agner.ch
From: Shawn Guo <shawn.guo@linaro.org> Sent: Tuesday, January 20, 2015 4:32 PM
> To: Duan Fugang-B38611
> Cc: davem@davemloft.net; netdev@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org; s.hauer@pengutronix.de; stefan@agner.ch
> Subject: Re: [PATCH net-next 1/1] ARM: dts: imx6sx: correct i.MX6sx sdb
> board enet phy address
>
> On Mon, Jan 19, 2015 at 05:38:02PM +0800, Fugang Duan wrote:
> > The commit (3d125f9c91c5) cause i.MX6SX sdb enet cannot work. The
> > cause is the commit add mdio node with un-correct phy address.
> >
> > The patch just correct i.MX6sx sdb board enet phy address.
> >
> > Signed-off-by: Fugang Duan <B38611@freescale.com>
> > ---
> > arch/arm/boot/dts/imx6sx-sdb.dts | 4 ++--
> > 1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts
> > b/arch/arm/boot/dts/imx6sx-sdb.dts
> > index 8c1febd..9db123f 100644
> > --- a/arch/arm/boot/dts/imx6sx-sdb.dts
> > +++ b/arch/arm/boot/dts/imx6sx-sdb.dts
> > @@ -167,11 +167,11 @@
> > #size-cells = <0>;
> >
> > ethphy1: ethernet-phy@0 {
>
> The unit-address should match 'reg' property, so it needs an update too.
>
> Shawn
Yes, you are right.
I update it and send the next version.
Thanks,
Andy
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-20 8:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 9:38 [PATCH net-next 1/1] ARM: dts: imx6sx: correct i.MX6sx sdb board enet phy address Fugang Duan
2015-01-19 10:04 ` Stefan Agner
2015-01-20 8:31 ` Shawn Guo
2015-01-20 8:44 ` fugang.duan
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).