paul@41 | 1 | /* |
paul@63 | 2 | * MiniPC configuration parameters. |
paul@41 | 3 | * |
paul@41 | 4 | * Copyright (C) 2009 Qi Hardware Inc. |
paul@41 | 5 | * Authors: Xiangfu Liu <xiangfu@openmobilefree.net> |
paul@219 | 6 | * Copyright (C) 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk> |
paul@41 | 7 | * |
paul@63 | 8 | * This program is free software: you can redistribute it and/or modify |
paul@63 | 9 | * it under the terms of the GNU General Public License as published by |
paul@63 | 10 | * the Free Software Foundation, either version 3 of the License, or |
paul@63 | 11 | * (at your option) any later version. |
paul@41 | 12 | * |
paul@41 | 13 | * This program is distributed in the hope that it will be useful, |
paul@41 | 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
paul@41 | 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
paul@41 | 16 | * GNU General Public License for more details. |
paul@41 | 17 | * |
paul@41 | 18 | * You should have received a copy of the GNU General Public License |
paul@63 | 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
paul@41 | 20 | */ |
paul@41 | 21 | |
paul@41 | 22 | #ifndef __MINIPC_H__ |
paul@41 | 23 | #define __MINIPC_H__ |
paul@41 | 24 | |
paul@41 | 25 | /* |
paul@43 | 26 | * GPIO definition |
paul@43 | 27 | */ |
paul@43 | 28 | #define GPIO_LED_EN 92 |
paul@43 | 29 | #define GPIO_DISP_OFF_N 93 |
paul@112 | 30 | #define GPIO_PWM0 94 |
paul@112 | 31 | #define GPIO_POWER 97 |
paul@43 | 32 | |
paul@204 | 33 | #define GPIO_KEYIN_COUNT 8 |
paul@204 | 34 | #define GPIO_KEYOUT_COUNT 17 |
paul@199 | 35 | |
paul@199 | 36 | #define GPIO_IRQ IRQ_GPIO0 |
paul@197 | 37 | |
paul@220 | 38 | #define GPIO_REGION_SIZE 0x1000 |
paul@204 | 39 | |
paul@41 | 40 | #endif /* __MINIPC_H__ */ |