OMAP3EVM: Reset the smsc911x ethernet controller in board_init
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 24 Jan 2011 19:25:55 +0000 (19:25 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 17 Feb 2011 22:15:57 +0000 (14:15 -0800)
commit9bc64b89cd730a09b02c66af730229e0abc9e2bb
treee5e41fc873d4f2c8953c88f2a8a47fbdd228f2d2
parent741927f753a41c644840589a382a1d3500f86206
OMAP3EVM: Reset the smsc911x ethernet controller in board_init

With addition of hwmod support to gpio, the ethernet controller
goes undetected for OMAP35xEVM. So explicitly assert the reset signal to
ethernet controller smsc911x -

- GPIO7 (>=RevG version of EVM's)
- GPIO64 (<=RevD version of EVM's)

Tested this patch on RevG version of EVM with ES3.1 Si.

This patch is based on intial version from Charulatha V, reference
to original discussion -
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg35784.html

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3evm.c