* [U-Boot] [PATCH] arm: socfpga: Do not enable gmac1 in Cyclone V dtsi
@ 2015-08-10 23:03 Marek Vasut
2015-08-18 20:41 ` Dinh Nguyen
0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2015-08-10 23:03 UTC (permalink / raw)
To: u-boot
The GMAC which is enabled is purely board property, so do not enable
arbitrary GMAC in DT include files. Same goes for PHY mode, which is
again a board property. The CycloneV SoCDK does this correctly, but
SoCrates doesn't. This bug never manifested itself though, since all
the boards ever used the GMAC1 . This bug manifests itself only on
boards that utilise GMAC0.
Signed-off-by: Marek Vasut <marex@denx.de>
---
arch/arm/dts/socfpga_cyclone5.dtsi | 6 ------
arch/arm/dts/socfpga_cyclone5_socrates.dts | 1 +
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/arm/dts/socfpga_cyclone5.dtsi b/arch/arm/dts/socfpga_cyclone5.dtsi
index 234a901..de36209 100644
--- a/arch/arm/dts/socfpga_cyclone5.dtsi
+++ b/arch/arm/dts/socfpga_cyclone5.dtsi
@@ -27,12 +27,6 @@
cap-sd-highspeed;
};
- ethernet at ff702000 {
- phy-mode = "rgmii";
- phy-addr = <0xffffffff>; /* probe for phy addr */
- status = "okay";
- };
-
sysmgr at ffd08000 {
cpu1-start-addr = <0xffd080c4>;
};
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 3c98558..6782691 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
@@ -23,6 +23,7 @@
&gmac1 {
status = "okay";
+ phy-mode = "rgmii";
};
&i2c0 {
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] arm: socfpga: Do not enable gmac1 in Cyclone V dtsi
2015-08-10 23:03 [U-Boot] [PATCH] arm: socfpga: Do not enable gmac1 in Cyclone V dtsi Marek Vasut
@ 2015-08-18 20:41 ` Dinh Nguyen
2015-08-18 22:06 ` Marek Vasut
0 siblings, 1 reply; 3+ messages in thread
From: Dinh Nguyen @ 2015-08-18 20:41 UTC (permalink / raw)
To: u-boot
On 8/10/15 6:03 PM, Marek Vasut wrote:
> The GMAC which is enabled is purely board property, so do not enable
> arbitrary GMAC in DT include files. Same goes for PHY mode, which is
> again a board property. The CycloneV SoCDK does this correctly, but
> SoCrates doesn't. This bug never manifested itself though, since all
> the boards ever used the GMAC1 . This bug manifests itself only on
> boards that utilise GMAC0.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
> arch/arm/dts/socfpga_cyclone5.dtsi | 6 ------
> arch/arm/dts/socfpga_cyclone5_socrates.dts | 1 +
> 2 files changed, 1 insertion(+), 6 deletions(-)
>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Thanks,
Dinh
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] arm: socfpga: Do not enable gmac1 in Cyclone V dtsi
2015-08-18 20:41 ` Dinh Nguyen
@ 2015-08-18 22:06 ` Marek Vasut
0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2015-08-18 22:06 UTC (permalink / raw)
To: u-boot
On Tuesday, August 18, 2015 at 10:41:26 PM, Dinh Nguyen wrote:
> On 8/10/15 6:03 PM, Marek Vasut wrote:
> > The GMAC which is enabled is purely board property, so do not enable
> > arbitrary GMAC in DT include files. Same goes for PHY mode, which is
> > again a board property. The CycloneV SoCDK does this correctly, but
> > SoCrates doesn't. This bug never manifested itself though, since all
> > the boards ever used the GMAC1 . This bug manifests itself only on
> > boards that utilise GMAC0.
> >
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > ---
> >
> > arch/arm/dts/socfpga_cyclone5.dtsi | 6 ------
> > arch/arm/dts/socfpga_cyclone5_socrates.dts | 1 +
> > 2 files changed, 1 insertion(+), 6 deletions(-)
>
> Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Applied to u-boot-socfpga/master, thanks!
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-18 22:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 23:03 [U-Boot] [PATCH] arm: socfpga: Do not enable gmac1 in Cyclone V dtsi Marek Vasut
2015-08-18 20:41 ` Dinh Nguyen
2015-08-18 22:06 ` Marek Vasut
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox