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


Groups > linux.kernel > #1601737

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

From Steve Lin <steven.lin1@broadcom.com>
Newsgroups linux.kernel
Subject [PATCH] ARM: dts: BCM953012HR: Add ethernet aliases
Date 2017-03-15 22:10 +0100
Message-ID <tlolc-4TJ-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[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

csiph-web