diff options
author | Florian Vaussard <florian.vaussard@epfl.ch> | 2013-05-21 09:47:51 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-06-18 06:09:07 -0400 |
commit | 863c9638f451085dd223a307d7b7ce16457fe31b (patch) | |
tree | 2a0881ffd78fdacbe0b051cb7455c827e0e48a88 | |
parent | 7d132055814ef17a6c7b69f342244c410a5e000f (diff) |
arm: omap: board-overo: reset GPIO for SMSC911x
The reset GPIO should be set for the SMSC911x, otherwise the controller
will not work and probing will fail. In the case of the tobi-duo
expansion board, the second controller shares the same GPIO, thus no
more changes are required (not tested).
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 4ca6b680aa72..5748b5d06c23 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -68,6 +68,7 @@ | |||
68 | 68 | ||
69 | #define OVERO_SMSC911X_CS 5 | 69 | #define OVERO_SMSC911X_CS 5 |
70 | #define OVERO_SMSC911X_GPIO 176 | 70 | #define OVERO_SMSC911X_GPIO 176 |
71 | #define OVERO_SMSC911X_NRESET 64 | ||
71 | #define OVERO_SMSC911X2_CS 4 | 72 | #define OVERO_SMSC911X2_CS 4 |
72 | #define OVERO_SMSC911X2_GPIO 65 | 73 | #define OVERO_SMSC911X2_GPIO 65 |
73 | 74 | ||
@@ -122,7 +123,7 @@ static struct omap_smsc911x_platform_data smsc911x_cfg = { | |||
122 | .id = 0, | 123 | .id = 0, |
123 | .cs = OVERO_SMSC911X_CS, | 124 | .cs = OVERO_SMSC911X_CS, |
124 | .gpio_irq = OVERO_SMSC911X_GPIO, | 125 | .gpio_irq = OVERO_SMSC911X_GPIO, |
125 | .gpio_reset = -EINVAL, | 126 | .gpio_reset = OVERO_SMSC911X_NRESET, |
126 | .flags = SMSC911X_USE_32BIT, | 127 | .flags = SMSC911X_USE_32BIT, |
127 | }; | 128 | }; |
128 | 129 | ||