summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pdata-quirks.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-09-18 09:03:36 -0700
committerTony Lindgren <tony@atomide.com>2014-09-18 09:03:36 -0700
commit271d4c6bc709d922e5f8913bcb64d6c53a752e31 (patch)
treea3deef7d05862e062d69bba8a043a126b13f7ee3 /arch/arm/mach-omap2/pdata-quirks.c
parenta4ff93c185787412936bc8414f14f50bdd56e546 (diff)
downloadlinux-stable-271d4c6bc709d922e5f8913bcb64d6c53a752e31.tar.gz
linux-stable-271d4c6bc709d922e5f8913bcb64d6c53a752e31.tar.bz2
linux-stable-271d4c6bc709d922e5f8913bcb64d6c53a752e31.zip
ARM: dts: Add support for Ethernet on some N900 macro boards
As we have support for this in board-rx51-peripherals.c, let's add it to the .dts files too. Note that the reset GPIO will eventually go to the driver. For now let's just pull it down and skip any further reset in case the bootloader has configured the MAC address so NFSroot works. Also note that after 3430-sdp are using proper GPMC timings we can remove the tests for smsc,lan91c94 in gpmc.c. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pdata-quirks.c')
-rw-r--r--arch/arm/mach-omap2/pdata-quirks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index b9d091b4d983..61e8394a7d13 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -252,6 +252,9 @@ static void __init nokia_n900_legacy_init(void)
platform_device_register(&omap3_rom_rng_device);
}
+
+ /* Only on some development boards */
+ gpio_request_one(164, GPIOF_OUT_INIT_LOW, "smc91x reset");
}
static void __init omap3_tao3530_legacy_init(void)