123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- /*
- * Copyright (C) 2010 Christian Glindkamp <christian.glindkamp@taskit.de>
- * taskit GmbH
- * 2010 Igor Plyatov <plyatov@gmail.com>
- * GeoSIG Ltd
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
- #include <linux/platform_device.h>
- #include <linux/gpio.h>
- #include <linux/w1-gpio.h>
- #include <linux/i2c.h>
- #include <linux/i2c/pcf857x.h>
- #include <linux/gpio_keys.h>
- #include <linux/input.h>
- #include <asm/mach-types.h>
- #include <asm/mach/arch.h>
- #include <mach/at91sam9_smc.h>
- #include "at91_aic.h"
- #include "board.h"
- #include "sam9_smc.h"
- #include "generic.h"
- #include "gsia18s.h"
- #include "stamp9g20.h"
- static void __init gsia18s_init_early(void)
- {
- stamp9g20_init_early();
- }
- /*
- * Two USB Host ports
- */
- static struct at91_usbh_data __initdata usbh_data = {
- .ports = 2,
- .vbus_pin = {-EINVAL, -EINVAL},
- .overcurrent_pin= {-EINVAL, -EINVAL},
- };
- /*
- * USB Device port
- */
- static struct at91_udc_data __initdata udc_data = {
- .vbus_pin = AT91_PIN_PA22,
- .pullup_pin = -EINVAL, /* pull-up driven by UDC */
- };
- /*
- * MACB Ethernet device
- */
|