Skip to contentSkip to conversation

ARM: dts: BCM953012HR: Add ethernet aliases

PATCH In review Steve Lin 2 participants 2 messages Mar 15, 2017 – Mar 16, 2017 Device tree bindings

lore
Share & tools
lore

Steve Lin

author
#0 lore raw

PATCH 1/1 ARM: dts: BCM953012HR: Add ethernet aliases

Adding ethernet aliases. These are used, for example, by bootloaders, to modify the MAC addresses in the device tree.

---
 arch/arm/boot/dts/bcm953012hr.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/boot/dts/bcm953012hr.dts +3 -0
index 85f9b0b..766aa71 100644
@@ -41,6 +41,9 @@
 
 	aliases {
 		serial0 = &uart0;
+		ethernet0 = &gmac0;
+		ethernet1 = &gmac1;
+		ethernet2 = &gmac2;
 	};
 
 	chosen {
Signature · 1 line
2.1.0
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Steve Lin

Adding ethernet aliases. These are used, for example, by bootloaders, to modify the MAC addresses in the device tree.

LGTM

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

2.1.0