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

Jon Mason jon.mason at broadcom.com
Thu Mar 16 10:07:33 PDT 2017


On Wed, Mar 15, 2017 at 4:59 PM, Steve Lin <steven.lin1 at 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 at broadcom.com>

LGTM

Acked-by: Jon Mason <jon.mason at 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
>



More information about the linux-arm-kernel mailing list