blob: c8c223a9fd83117834b57a4a7bb4e0599f6ba834 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/*
* arch/ubicom32/mach-ip7k/board-ip7500module.c
* Support for IP7500 CPU module board.
*
* This file supports the IP7500 CPU module board:
* 8007-0510 Rev 1.0
* 8007-0510A Rev 1.0 (with ethernet)
*
* DIP Switch SW2 configuration: (*) default
* POS 1: on(*) = PCI enabled, off = PCI disabled
* POS 2: on(*) = TTYX => PA6, off = TTYX => PF12
* POS 3: on(*) = TTYY => PA7, off = TTYY => PF15
* POS 4: unused
*
* (C) Copyright 2009, Ubicom, Inc.
*
* This file is part of the Ubicom32 Linux Kernel Port.
*
* The Ubicom32 Linux Kernel Port 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.
*
* The Ubicom32 Linux Kernel Port 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 the Ubicom32 Linux Kernel Port. If not,
* see <http://www.gnu.org/licenses/>.
*
* Ubicom32 implementation derived from (with many thanks):
* arch/m68knommu
* arch/blackfin
* arch/parisc
*/
#include <linux/device.h>
#include <linux/gpio.h>
#include <asm/board.h>
/*
* ip7500module_init
* Called to add the devices which we have on this board
*/
static int __init ip7500module_init(void)
{
board_init();
ubi_gpio_init();
return 0;
}
arch_initcall(ip7500module_init);
|