3d11f8ae36
Some Ventana boards have a Marvell sky2 GigE controller as eth1 however assigning the mac address through device-tree is difficult because the PCI slot can move around depending on board configuration and slot population. To work around this we add a patch to the sky2 driver to allow accessing its mac address via a device-tree alias. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 48013
25 lines
962 B
Diff
25 lines
962 B
Diff
Index: linux-4.3/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
|
|
===================================================================
|
|
--- linux-4.3.orig/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi 2015-12-18 10:39:44.959158318 -0800
|
|
+++ linux-4.3/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi 2015-12-18 10:43:21.000000000 -0800
|
|
@@ -15,6 +15,7 @@
|
|
/* these are used by bootloader for disabling nodes */
|
|
aliases {
|
|
ethernet1 = ð1;
|
|
+ sky2 = ð1;
|
|
led0 = &led0;
|
|
led1 = &led1;
|
|
led2 = &led2;
|
|
Index: linux-4.3/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
|
|
===================================================================
|
|
--- linux-4.3.orig/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi 2015-12-18 10:39:44.959158318 -0800
|
|
+++ linux-4.3/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi 2015-12-18 10:43:21.000000000 -0800
|
|
@@ -15,6 +15,7 @@
|
|
/* these are used by bootloader for disabling nodes */
|
|
aliases {
|
|
ethernet1 = ð1;
|
|
+ sky2 = ð1;
|
|
led0 = &led0;
|
|
led1 = &led1;
|
|
led2 = &led2;
|