[PATCH 1/1] animeo_ip: fix macb pin mux and set phy interface as MII

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Sep 17 03:49:12 EDT 2013


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 arch/arm/boards/animeo_ip/init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boards/animeo_ip/init.c b/arch/arm/boards/animeo_ip/init.c
index 06d542e..56b8df2 100644
--- a/arch/arm/boards/animeo_ip/init.c
+++ b/arch/arm/boards/animeo_ip/init.c
@@ -123,6 +123,8 @@ static void animeo_ip_add_device_nand(void)
 
 static struct macb_platform_data macb_pdata = {
 	.phy_addr = 0,
+	.phy_interface = PHY_INTERFACE_MODE_MII,
+	.flags = AT91SAM_ETX2_ETX3_ALTERNATIVE,
 };
 
 /*
-- 
1.8.4.rc1




More information about the barebox mailing list