2013-10-02 17:59:05

by Dan Murphy

[permalink] [raw]
Subject: [PATCH] ARM: dts: AM33XX: add ethernet alias's for am33xx

Set the alias for ethernet0 and ethernet1 so that uBoot
can set the MAC address appropriately.

Currently uBoot cannot find the alias and there for does not set the
MAC address.

Signed-off-by: Dan Murphy <[email protected]>
---
arch/arm/boot/dts/am33xx.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 553adc6..8aabaa0 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -30,6 +30,8 @@
usb1 = &usb1;
phy0 = &usb0_phy;
phy1 = &usb1_phy;
+ ethernet0 = &cpsw_emac0;
+ ethernet1 = &cpsw_emac1;
};

cpus {
--
1.7.9.5


2013-10-02 23:41:08

by Mugunthan V N

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: AM33XX: add ethernet alias's for am33xx

On Wednesday 02 October 2013 12:58 PM, Dan Murphy wrote:
> Set the alias for ethernet0 and ethernet1 so that uBoot
> can set the MAC address appropriately.
>
> Currently uBoot cannot find the alias and there for does not set the
> MAC address.
>
> Signed-off-by: Dan Murphy <[email protected]>

Tested this with beagle bone black.

Tested-by: Mugunthan V N <[email protected]>

Regards
Mugunthan V N

2013-10-03 14:37:52

by Benoit Cousson

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: AM33XX: add ethernet alias's for am33xx

Hi Dan,

On 03/10/2013 01:39, Mugunthan V N wrote:
> On Wednesday 02 October 2013 12:58 PM, Dan Murphy wrote:
>> Set the alias for ethernet0 and ethernet1 so that uBoot
>> can set the MAC address appropriately.
>>
>> Currently uBoot cannot find the alias and there for does not set the
>> MAC address.
>>
>> Signed-off-by: Dan Murphy <[email protected]>
>
> Tested this with beagle bone black.
>
> Tested-by: Mugunthan V N <[email protected]>
>
> Regards
> Mugunthan V N

Thanks, pulled in my for_3.13/dts branch.

Regards,
Benoit