From 3d11f8ae36e60019509a202fa592dd12f4e54ffb Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Mon, 28 Dec 2015 04:56:27 +0000 Subject: imx6: fix device-tree mac address assignment for ventana sky2/eth1 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 Signed-off-by: Pushpal Sidhu SVN-Revision: 48013 --- .../209-ARM-imx-ventana-add-sky2-alias.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 target/linux/imx6/patches-4.3/209-ARM-imx-ventana-add-sky2-alias.patch (limited to 'target/linux/imx6/patches-4.3/209-ARM-imx-ventana-add-sky2-alias.patch') diff --git a/target/linux/imx6/patches-4.3/209-ARM-imx-ventana-add-sky2-alias.patch b/target/linux/imx6/patches-4.3/209-ARM-imx-ventana-add-sky2-alias.patch new file mode 100644 index 0000000..7377ce3 --- /dev/null +++ b/target/linux/imx6/patches-4.3/209-ARM-imx-ventana-add-sky2-alias.patch @@ -0,0 +1,24 @@ +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; -- cgit v1.1