NanoPayload

include/minipc.h

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