* [PATCH] arm64: dts: marvell: add Ethernet aliases @ 2018-01-03 15:18 ` Antoine Tenart 0 siblings, 0 replies; 4+ messages in thread From: Antoine Tenart @ 2018-01-03 15:18 UTC (permalink / raw) To: linux-arm-kernel From: Yan Markman <ymarkman@marvell.com> 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> --- 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 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] arm64: dts: marvell: add Ethernet aliases @ 2018-01-03 15:18 ` Antoine Tenart 0 siblings, 0 replies; 4+ messages in thread From: Antoine Tenart @ 2018-01-03 15:18 UTC (permalink / raw) To: andrew, jason, sebastian.hesselbarth, gregory.clement, linux Cc: Yan Markman, mw, stefanc, thomas.petazzoni, miquel.raynal, nadavh, linux-arm-kernel, linux-kernel, Antoine Tenart From: Yan Markman <ymarkman@marvell.com> 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> --- 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 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] arm64: dts: marvell: add Ethernet aliases 2018-01-03 15:18 ` Antoine Tenart @ 2018-01-03 16:09 ` Gregory CLEMENT -1 siblings, 0 replies; 4+ messages in thread From: Gregory CLEMENT @ 2018-01-03 16:09 UTC (permalink / raw) To: linux-arm-kernel Hi Antoine, On mer., janv. 03 2018, Antoine Tenart <antoine.tenart@free-electrons.com> wrote: > From: Yan Markman <ymarkman@marvell.com> > > 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> 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 at 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: marvell: add Ethernet aliases @ 2018-01-03 16:09 ` Gregory CLEMENT 0 siblings, 0 replies; 4+ messages in thread From: Gregory CLEMENT @ 2018-01-03 16:09 UTC (permalink / raw) To: Antoine Tenart Cc: andrew, jason, sebastian.hesselbarth, linux, thomas.petazzoni, Yan Markman, linux-kernel, nadavh, miquel.raynal, stefanc, mw, linux-arm-kernel Hi Antoine, On mer., janv. 03 2018, Antoine Tenart <antoine.tenart@free-electrons.com> wrote: > From: Yan Markman <ymarkman@marvell.com> > > 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> 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-01-03 16:09 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-01-03 15:18 [PATCH] arm64: dts: marvell: add Ethernet aliases Antoine Tenart 2018-01-03 15:18 ` Antoine Tenart 2018-01-03 16:09 ` Gregory CLEMENT 2018-01-03 16:09 ` Gregory CLEMENT
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.