Adding ethernet aliases. These are used, for example, by bootloaders,
to modify the MAC addresses in the device tree.
Signed-off-by: Steve Lin <[email protected]>
---
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
On Wed, Mar 15, 2017 at 4:59 PM, Steve Lin <[email protected]> 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 <[email protected]>
LGTM
Acked-by: Jon Mason <[email protected]>
> ---
> 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
>