Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17:54 Mon 19 Jan     , Bo Shen wrote:
> On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
> So, let the GMAC auto detect phy id, or else hard code to 7,
> it can not work on these two boards.
> 
> Signed-off-by: Bo Shen <voice.shen@xxxxxxxxx>
> ---
> 
>  arch/arm/boards/sama5d3xek/init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
> index 49d2b37..0b83147 100644
> --- a/arch/arm/boards/sama5d3xek/init.c
> +++ b/arch/arm/boards/sama5d3xek/init.c
> @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
>  #if defined(CONFIG_DRIVER_NET_MACB)
>  static struct macb_platform_data gmac_pdata = {
>  	.phy_interface = PHY_INTERFACE_MODE_RGMII,
> -	.phy_addr = 7,
> +	.phy_addr = -1,
IIRC the auto detect do not work on all board
NACK

Best Regards,
J.
>  };
>  
>  static struct macb_platform_data macb_pdata = {
> -- 
> 2.3.0.rc0
> 

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux