bcm53xx: backport BCM5301X patches
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.9 / 033-0017-ARM-dts-BCM953012HR-Add-ethernet-aliases.patch
1 From a7996761d1dacbac10c892c16faa90dfe46affcd Mon Sep 17 00:00:00 2001
2 From: Steve Lin <steven.lin1@broadcom.com>
3 Date: Wed, 15 Mar 2017 16:59:35 -0400
4 Subject: [PATCH] ARM: dts: BCM953012HR: Add ethernet aliases
5
6 Adding ethernet aliases. These are used, for example, by bootloaders,
7 to modify the MAC addresses in the device tree.
8
9 Signed-off-by: Steve Lin <steven.lin1@broadcom.com>
10 Acked-by: Jon Mason <jon.mason@broadcom.com>
11 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
12 ---
13 arch/arm/boot/dts/bcm953012hr.dts | 3 +++
14 1 file changed, 3 insertions(+)
15
16 --- a/arch/arm/boot/dts/bcm953012hr.dts
17 +++ b/arch/arm/boot/dts/bcm953012hr.dts
18 @@ -41,6 +41,9 @@
19
20 aliases {
21 serial0 = &uart0;
22 + ethernet0 = &gmac0;
23 + ethernet1 = &gmac1;
24 + ethernet2 = &gmac2;
25 };
26
27 chosen {