2007-11-19 12:16:56 +00:00
|
|
|
/*
|
|
|
|
* Hardware definitions for the Toshiba eseries PDAs
|
|
|
|
*
|
|
|
|
* Copyright (c) 2003 Ian Molton <spyro@f2s.com>
|
|
|
|
*
|
|
|
|
* This file is licensed under
|
|
|
|
* the terms of the GNU General Public License version 2. This program
|
|
|
|
* is licensed "as is" without any warranty of any kind, whether express
|
|
|
|
* or implied.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2008-08-09 20:48:45 +00:00
|
|
|
#include <linux/kernel.h>
|
2007-11-19 12:16:56 +00:00
|
|
|
#include <linux/init.h>
|
|
|
|
|
|
|
|
#include <asm/setup.h>
|
|
|
|
#include <asm/mach/arch.h>
|
|
|
|
#include <asm/mach-types.h>
|
|
|
|
|
2008-08-09 20:48:45 +00:00
|
|
|
#include <mach/mfp-pxa25x.h>
|
|
|
|
#include <mach/hardware.h>
|
2008-08-19 12:34:56 +00:00
|
|
|
#include <mach/eseries-gpio.h>
|
|
|
|
#include <mach/udc.h>
|
2008-08-09 20:48:45 +00:00
|
|
|
|
2008-06-25 21:22:49 +00:00
|
|
|
#include "generic.h"
|
2007-11-19 12:16:56 +00:00
|
|
|
|
|
|
|
/* Only e800 has 128MB RAM */
|
2008-08-19 11:14:21 +00:00
|
|
|
void __init eseries_fixup(struct machine_desc *desc,
|
2008-07-25 23:51:12 +00:00
|
|
|
struct tag *tags, char **cmdline, struct meminfo *mi)
|
2007-11-19 12:16:56 +00:00
|
|
|
{
|
|
|
|
mi->nr_banks=1;
|
|
|
|
mi->bank[0].start = 0xa0000000;
|
|
|
|
mi->bank[0].node = 0;
|
|
|
|
if (machine_is_e800())
|
|
|
|
mi->bank[0].size = (128*1024*1024);
|
|
|
|
else
|
|
|
|
mi->bank[0].size = (64*1024*1024);
|
|
|
|
}
|
|
|
|
|
2008-08-19 12:34:56 +00:00
|
|
|
struct pxa2xx_udc_mach_info e7xx_udc_mach_info = {
|
|
|
|
.gpio_vbus = GPIO_E7XX_USB_DISC,
|
|
|
|
.gpio_pullup = GPIO_E7XX_USB_PULLUP,
|
|
|
|
.gpio_pullup_inverted = 1
|
|
|
|
};
|
|
|
|
|