aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c6410
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2009-12-29 09:40:43 -0500
committerBen Dooks <ben-linux@fluff.org>2010-01-17 21:41:04 -0500
commita4e946947b966d018f3f712d5c7ca2932c2aadd2 (patch)
treef8d3559552eb4e86929a217619e74cd08d56bcab /arch/arm/mach-s3c6410
parent810f613c03a1614c71a2b27859e91ae155bd659f (diff)
ARM: SMDK6410: Add comments on ethernet connectivity
LAN9115 Ethernet only works on SMDK6410 if certain switches are set in specific ways. Document the requirement. Signed-off-by: Andy Green <andy@warmcat.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c6410')
-rw-r--r--arch/arm/mach-s3c6410/mach-smdk6410.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c
index e7bae539af43..eb5de981c094 100644
--- a/arch/arm/mach-s3c6410/mach-smdk6410.c
+++ b/arch/arm/mach-s3c6410/mach-smdk6410.c
@@ -155,6 +155,16 @@ static struct s3c_fb_platdata smdk6410_lcd_pdata __initdata = {
155 .vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC, 155 .vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC,
156}; 156};
157 157
158/*
159 * Configuring Ethernet on SMDK6410
160 *
161 * Both CS8900A and LAN9115 chips share one chip select mediated by CFG6.
162 * The constant address below corresponds to nCS1
163 *
164 * 1) Set CFGB2 p3 ON others off, no other CFGB selects "ethernet"
165 * 2) CFG6 needs to be switched to "LAN9115" side
166 */
167
158static struct resource smdk6410_smsc911x_resources[] = { 168static struct resource smdk6410_smsc911x_resources[] = {
159 [0] = { 169 [0] = {
160 .start = S3C64XX_PA_XM0CSN1, 170 .start = S3C64XX_PA_XM0CSN1,