2 * Milkymist SoC (Software)
3 * Copyright (C) 2007, 2008, 2009, 2010 Sebastien Bourdeauducq
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #define GPIO_BTN1 (0x00000001)
23 #define GPIO_BTN2 (0x00000002)
24 #define GPIO_BTN3 (0x00000004)
26 #define GPIO_PCBREV0 (0x00000008)
27 #define GPIO_PCBREV1 (0x00000010)
28 #define GPIO_PCBREV2 (0x00000020)
29 #define GPIO_PCBREV3 (0x00000040)
32 #define GPIO_LED1 (0x00000001)
33 #define GPIO_LED2 (0x00000002)
35 #endif /* __HW_GPIO_H */