All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: imx6q-arm2: Remove hardcoded mac address
@ 2012-04-11 19:07 Fabio Estevam
  2012-04-11 19:07 ` [PATCH 2/2] ARM: imx6q-arm2:: Pass GPIO for FEC PHY reset Fabio Estevam
  2012-04-15  0:49 ` [PATCH 1/2] ARM: imx6q-arm2: Remove hardcoded mac address Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2012-04-11 19:07 UTC (permalink / raw)
  To: linux-arm-kernel

Do not hardcode the local mac address.

Let bootloader retrieve it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx6q-arm2.dts |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boot/dts/imx6q-arm2.dts b/arch/arm/boot/dts/imx6q-arm2.dts
index ce1c823..04501d1 100644
--- a/arch/arm/boot/dts/imx6q-arm2.dts
+++ b/arch/arm/boot/dts/imx6q-arm2.dts
@@ -29,7 +29,6 @@
 		aips-bus at 02100000 { /* AIPS2 */
 			enet at 02188000 {
 				phy-mode = "rgmii";
-				local-mac-address = [00 04 9F 01 1B 61];
 				status = "okay";
 			};
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: imx6q-arm2:: Pass GPIO for FEC PHY reset
  2012-04-11 19:07 [PATCH 1/2] ARM: imx6q-arm2: Remove hardcoded mac address Fabio Estevam
@ 2012-04-11 19:07 ` Fabio Estevam
  2012-04-15  0:53   ` Shawn Guo
  2012-04-15  0:49 ` [PATCH 1/2] ARM: imx6q-arm2: Remove hardcoded mac address Shawn Guo
  1 sibling, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2012-04-11 19:07 UTC (permalink / raw)
  To: linux-arm-kernel

GPIO4_15 is used for FEC PHY reset.

Pass it to the FEC driver.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx6q-arm2.dts |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/imx6q-arm2.dts b/arch/arm/boot/dts/imx6q-arm2.dts
index 04501d1..aa230d2 100644
--- a/arch/arm/boot/dts/imx6q-arm2.dts
+++ b/arch/arm/boot/dts/imx6q-arm2.dts
@@ -29,6 +29,7 @@
 		aips-bus at 02100000 { /* AIPS2 */
 			enet at 02188000 {
 				phy-mode = "rgmii";
+				phy-reset-gpios = <&gpio4 15 0>;
 				status = "okay";
 			};
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: imx6q-arm2: Remove hardcoded mac address
  2012-04-11 19:07 [PATCH 1/2] ARM: imx6q-arm2: Remove hardcoded mac address Fabio Estevam
  2012-04-11 19:07 ` [PATCH 2/2] ARM: imx6q-arm2:: Pass GPIO for FEC PHY reset Fabio Estevam
@ 2012-04-15  0:49 ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2012-04-15  0:49 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Apr 11, 2012 at 04:07:35PM -0300, Fabio Estevam wrote:
> Do not hardcode the local mac address.
> 
> Let bootloader retrieve it.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.

Regards,
Shawn

> ---
>  arch/arm/boot/dts/imx6q-arm2.dts |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx6q-arm2.dts b/arch/arm/boot/dts/imx6q-arm2.dts
> index ce1c823..04501d1 100644
> --- a/arch/arm/boot/dts/imx6q-arm2.dts
> +++ b/arch/arm/boot/dts/imx6q-arm2.dts
> @@ -29,7 +29,6 @@
>  		aips-bus at 02100000 { /* AIPS2 */
>  			enet at 02188000 {
>  				phy-mode = "rgmii";
> -				local-mac-address = [00 04 9F 01 1B 61];
>  				status = "okay";
>  			};
>  
> -- 
> 1.7.1
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: imx6q-arm2:: Pass GPIO for FEC PHY reset
  2012-04-11 19:07 ` [PATCH 2/2] ARM: imx6q-arm2:: Pass GPIO for FEC PHY reset Fabio Estevam
@ 2012-04-15  0:53   ` Shawn Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2012-04-15  0:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Apr 11, 2012 at 04:07:36PM -0300, Fabio Estevam wrote:
> GPIO4_15 is used for FEC PHY reset.
> 
Is this the info you got from schematics?  The schematics on my hand
tells something different.

Regards,
Shawn

> Pass it to the FEC driver.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/boot/dts/imx6q-arm2.dts |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx6q-arm2.dts b/arch/arm/boot/dts/imx6q-arm2.dts
> index 04501d1..aa230d2 100644
> --- a/arch/arm/boot/dts/imx6q-arm2.dts
> +++ b/arch/arm/boot/dts/imx6q-arm2.dts
> @@ -29,6 +29,7 @@
>  		aips-bus at 02100000 { /* AIPS2 */
>  			enet at 02188000 {
>  				phy-mode = "rgmii";
> +				phy-reset-gpios = <&gpio4 15 0>;
>  				status = "okay";
>  			};
>  
> -- 
> 1.7.1
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-15  0:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 19:07 [PATCH 1/2] ARM: imx6q-arm2: Remove hardcoded mac address Fabio Estevam
2012-04-11 19:07 ` [PATCH 2/2] ARM: imx6q-arm2:: Pass GPIO for FEC PHY reset Fabio Estevam
2012-04-15  0:53   ` Shawn Guo
2012-04-15  0:49 ` [PATCH 1/2] ARM: imx6q-arm2: Remove hardcoded mac address Shawn Guo

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.