Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1601737 > unrolled thread

[PATCH] ARM: dts: BCM953012HR: Add ethernet aliases

Started bySteve Lin <steven.lin1@broadcom.com>
First post2017-03-15 22:10 +0100
Last post2017-03-16 18:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: dts: BCM953012HR: Add ethernet aliases Steve Lin <steven.lin1@broadcom.com> - 2017-03-15 22:10 +0100
    Re: [PATCH] ARM: dts: BCM953012HR: Add ethernet aliases Jon Mason <jon.mason@broadcom.com> - 2017-03-16 18:10 +0100

#1601737 — [PATCH] ARM: dts: BCM953012HR: Add ethernet aliases

FromSteve Lin <steven.lin1@broadcom.com>
Date2017-03-15 22:10 +0100
Subject[PATCH] ARM: dts: BCM953012HR: Add ethernet aliases
Message-ID<tlolc-4TJ-5@gated-at.bofh.it>
Adding ethernet aliases.  These are used, for example, by bootloaders,
to modify the MAC addresses in the device tree.

Signed-off-by: Steve Lin <steven.lin1@broadcom.com>
---
 arch/arm/boot/dts/bcm953012hr.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/bcm953012hr.dts b/arch/arm/boot/dts/bcm953012hr.dts
index 85f9b0b..766aa71 100644
--- a/arch/arm/boot/dts/bcm953012hr.dts
+++ b/arch/arm/boot/dts/bcm953012hr.dts
@@ -41,6 +41,9 @@
 
 	aliases {
 		serial0 = &uart0;
+		ethernet0 = &gmac0;
+		ethernet1 = &gmac1;
+		ethernet2 = &gmac2;
 	};
 
 	chosen {
-- 
2.1.0

[toc] | [next] | [standalone]


#1602667

FromJon Mason <jon.mason@broadcom.com>
Date2017-03-16 18:10 +0100
Message-ID<tlH4t-1sh-5@gated-at.bofh.it>
In reply to#1601737
On Wed, Mar 15, 2017 at 4:59 PM, Steve Lin <steven.lin1@broadcom.com> wrote:
> Adding ethernet aliases.  These are used, for example, by bootloaders,
> to modify the MAC addresses in the device tree.
>
> Signed-off-by: Steve Lin <steven.lin1@broadcom.com>

LGTM

Acked-by: Jon Mason <jon.mason@broadcom.com>

> ---
>  arch/arm/boot/dts/bcm953012hr.dts | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/boot/dts/bcm953012hr.dts b/arch/arm/boot/dts/bcm953012hr.dts
> index 85f9b0b..766aa71 100644
> --- a/arch/arm/boot/dts/bcm953012hr.dts
> +++ b/arch/arm/boot/dts/bcm953012hr.dts
> @@ -41,6 +41,9 @@
>
>         aliases {
>                 serial0 = &uart0;
> +               ethernet0 = &gmac0;
> +               ethernet1 = &gmac1;
> +               ethernet2 = &gmac2;
>         };
>
>         chosen {
> --
> 2.1.0
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web