All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4.14, 4.15] arm64: dts: marvell: add Ethernet aliases
@ 2018-02-14 20:49 Mikulas Patocka
  2018-02-15 14:05 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Mikulas Patocka @ 2018-02-14 20:49 UTC (permalink / raw)
  To: Greg Kroah-Hartman, stable; +Cc: Yan Markman, Antoine Tenart, Gregory CLEMENT

Hi

I'm submitting this upstream patch to be backported to stable branches 
4.14 and 4.15.

This patch fixes invalid ethernet addresses on the MacchiatoBIN board (I 
tested it on the kernel 4.4.19). This patch differs slightly from the 
upstream patch because in the kernel 4.16-rc1 "cpm" was renamed to "cp0" 
and "cps" to "cp1".

Mikulas



commit 474c5885582c4a79c21bcf01ed98f98c935f1f4a
Author: Yan Markman <ymarkman@marvell.com>
Date:   Wed Jan 3 16:18:52 2018 +0100

    arm64: dts: marvell: add Ethernet aliases
    
    This patch adds Ethernet aliases in the Marvell Armada 7040 DB, 8040 DB
    and 8040 mcbin device trees so that the bootloader setup the MAC
    addresses correctly.
    
    Signed-off-by: Yan Markman <ymarkman@marvell.com>
    [Antoine: commit message, small fixes]
    Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
    Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>

---
 arch/arm64/boot/dts/marvell/armada-7040-db.dts    |    6 ++++++
 arch/arm64/boot/dts/marvell/armada-8040-db.dts    |    7 +++++++
 arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts |    6 ++++++
 3 files changed, 19 insertions(+)

Index: linux-4.14.19/arch/arm64/boot/dts/marvell/armada-7040-db.dts
===================================================================
--- linux-4.14.19.orig/arch/arm64/boot/dts/marvell/armada-7040-db.dts	2018-02-14 01:39:33.000000000 +0100
+++ linux-4.14.19/arch/arm64/boot/dts/marvell/armada-7040-db.dts	2018-02-14 01:39:33.000000000 +0100
@@ -61,6 +61,12 @@
 		reg = <0x0 0x0 0x0 0x80000000>;
 	};
 
+	aliases {
+		ethernet0 = &cpm_eth0;
+		ethernet1 = &cpm_eth1;
+		ethernet2 = &cpm_eth2;
+	};
+
 	cpm_reg_usb3_0_vbus: cpm-usb3-0-vbus {
 		compatible = "regulator-fixed";
 		regulator-name = "usb3h0-vbus";
Index: linux-4.14.19/arch/arm64/boot/dts/marvell/armada-8040-db.dts
===================================================================
--- linux-4.14.19.orig/arch/arm64/boot/dts/marvell/armada-8040-db.dts	2018-02-14 01:39:33.000000000 +0100
+++ linux-4.14.19/arch/arm64/boot/dts/marvell/armada-8040-db.dts	2018-02-14 01:39:33.000000000 +0100
@@ -61,6 +61,13 @@
 		reg = <0x0 0x0 0x0 0x80000000>;
 	};
 
+	aliases {
+		ethernet0 = &cpm_eth0;
+		ethernet1 = &cpm_eth2;
+		ethernet2 = &cps_eth0;
+		ethernet3 = &cps_eth1;
+	};
+
 	cpm_reg_usb3_0_vbus: cpm-usb3-0-vbus {
 		compatible = "regulator-fixed";
 		regulator-name = "cpm-usb3h0-vbus";
Index: linux-4.14.19/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
===================================================================
--- linux-4.14.19.orig/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts	2018-02-14 01:39:33.000000000 +0100
+++ linux-4.14.19/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts	2018-02-14 01:45:05.000000000 +0100
@@ -62,6 +62,12 @@
 		reg = <0x0 0x0 0x0 0x80000000>;
 	};
 
+	aliases {
+		ethernet0 = &cpm_eth0;
+		ethernet1 = &cps_eth0;
+		ethernet2 = &cps_eth1;
+	};
+
 	/* Regulator labels correspond with schematics */
 	v_3_3: regulator-3-3v {
 		compatible = "regulator-fixed";

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

* Re: [PATCH 4.14, 4.15] arm64: dts: marvell: add Ethernet aliases
  2018-02-14 20:49 [PATCH 4.14, 4.15] arm64: dts: marvell: add Ethernet aliases Mikulas Patocka
@ 2018-02-15 14:05 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2018-02-15 14:05 UTC (permalink / raw)
  To: Mikulas Patocka; +Cc: stable, Yan Markman, Antoine Tenart, Gregory CLEMENT

On Wed, Feb 14, 2018 at 03:49:02PM -0500, Mikulas Patocka wrote:
> Hi
> 
> I'm submitting this upstream patch to be backported to stable branches 
> 4.14 and 4.15.
> 
> This patch fixes invalid ethernet addresses on the MacchiatoBIN board (I 
> tested it on the kernel 4.4.19). This patch differs slightly from the 
> upstream patch because in the kernel 4.16-rc1 "cpm" was renamed to "cp0" 
> and "cps" to "cp1".

Now applied, thanks.

greg k-h

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

end of thread, other threads:[~2018-02-15 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14 20:49 [PATCH 4.14, 4.15] arm64: dts: marvell: add Ethernet aliases Mikulas Patocka
2018-02-15 14:05 ` Greg Kroah-Hartman

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.