Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751967AbeACQJz (ORCPT + 1 other); Wed, 3 Jan 2018 11:09:55 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:38097 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751195AbeACQJx (ORCPT ); Wed, 3 Jan 2018 11:09:53 -0500 From: Gregory CLEMENT To: Antoine Tenart Cc: andrew@lunn.ch, jason@lakedaemon.net, sebastian.hesselbarth@gmail.com, linux@armlinux.org.uk, thomas.petazzoni@free-electrons.com, Yan Markman , linux-kernel@vger.kernel.org, nadavh@marvell.com, miquel.raynal@free-electrons.com, stefanc@marvell.com, mw@semihalf.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: dts: marvell: add Ethernet aliases References: <20180103151852.15735-1-antoine.tenart@free-electrons.com> Date: Wed, 03 Jan 2018 17:09:52 +0100 In-Reply-To: <20180103151852.15735-1-antoine.tenart@free-electrons.com> (Antoine Tenart's message of "Wed, 3 Jan 2018 16:18:52 +0100") Message-ID: <87d12qc4a7.fsf@free-electrons.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi Antoine, On mer., janv. 03 2018, Antoine Tenart wrote: > From: Yan Markman > > 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 > [Antoine: commit message, small fixes] > Signed-off-by: Antoine Tenart Applied on mvebu/dt64 Thanks, Gregory > --- > > Hi, > > This patch is based on the latest mvebu/dt64 tree, which already > contains Thomas' DT de-duplication patches, so there shouldn't be any > conflict. > > Thanks! > Antoine > > 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(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts > index 44c95b97a422..3ae05eee2c9a 100644 > --- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts > +++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts > @@ -61,6 +61,12 @@ > reg = <0x0 0x0 0x0 0x80000000>; > }; > > + aliases { > + ethernet0 = &cp0_eth0; > + ethernet1 = &cp0_eth1; > + ethernet2 = &cp0_eth2; > + }; > + > cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus { > compatible = "regulator-fixed"; > regulator-name = "usb3h0-vbus"; > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts > index 13e3209d554a..dba55baff20f 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts > +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts > @@ -61,6 +61,13 @@ > reg = <0x0 0x0 0x0 0x80000000>; > }; > > + aliases { > + ethernet0 = &cp0_eth0; > + ethernet1 = &cp0_eth2; > + ethernet2 = &cp1_eth0; > + ethernet3 = &cp1_eth1; > + }; > + > cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus { > compatible = "regulator-fixed"; > regulator-name = "cp0-usb3h0-vbus"; > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts > index cf0ebd38a2b9..91c19dd04082 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts > +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts > @@ -62,6 +62,12 @@ > reg = <0x0 0x0 0x0 0x80000000>; > }; > > + aliases { > + ethernet0 = &cp0_eth0; > + ethernet1 = &cp1_eth0; > + ethernet2 = &cp1_eth1; > + }; > + > /* Regulator labels correspond with schematics */ > v_3_3: regulator-3-3v { > compatible = "regulator-fixed"; > -- > 2.14.3 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com