mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: phycore-imx6ul: use MAC address from OCOTP
@ 2017-08-25 14:05 Lucas Stach
  2017-09-06 11:58 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2017-08-25 14:05 UTC (permalink / raw)
  To: barebox

The Phycore MX6UL modules are correctly fused with a MAC address.
Use this for the Barebox network connection and fixing up the kernel
DT.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi b/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
index 96beef4e72f7..8cec1296a7f4 100644
--- a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
+++ b/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
@@ -176,3 +176,7 @@
 		};
 	};
 };
+
+&ocotp {
+	barebox,provide-mac-address = <&fec1 0x620 &fec2 0x632>;
+};
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] ARM: phycore-imx6ul: use MAC address from OCOTP
  2017-08-25 14:05 [PATCH] ARM: phycore-imx6ul: use MAC address from OCOTP Lucas Stach
@ 2017-09-06 11:58 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2017-09-06 11:58 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Fri, Aug 25, 2017 at 04:05:07PM +0200, Lucas Stach wrote:
> The Phycore MX6UL modules are correctly fused with a MAC address.
> Use this for the Barebox network connection and fixing up the kernel
> DT.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi b/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
> index 96beef4e72f7..8cec1296a7f4 100644
> --- a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
> +++ b/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
> @@ -176,3 +176,7 @@
>  		};
>  	};
>  };
> +
> +&ocotp {
> +	barebox,provide-mac-address = <&fec1 0x620 &fec2 0x632>;
> +};
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2017-09-06 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-25 14:05 [PATCH] ARM: phycore-imx6ul: use MAC address from OCOTP Lucas Stach
2017-09-06 11:58 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox