1.1 --- a/include/minipc.h Tue Jul 11 18:45:08 2017 +0200
1.2 +++ b/include/minipc.h Wed Jul 12 15:46:53 2017 +0200
1.3 @@ -22,13 +22,26 @@
1.4 #ifndef __MINIPC_H__
1.5 #define __MINIPC_H__
1.6
1.7 -/*
1.8 - * GPIO definition
1.9 - */
1.10 -#define GPIO_LED_EN 92
1.11 -#define GPIO_DISP_OFF_N 93
1.12 -#define GPIO_PWM0 94
1.13 -#define GPIO_POWER 97
1.14 +/* GPIO definitions. */
1.15 +
1.16 +#define GPIO_PORT_DMA 0
1.17 +
1.18 +#define GPIO_PORT_LCD 1
1.19 +#define GPIO_PORT_MSC 1
1.20 +
1.21 +#define GPIO_PORT_LED 2
1.22 +#define GPIO_PORT_PWM 2
1.23 +
1.24 +#define GPIO_LED_EN 28
1.25 +#define GPIO_DISP_OFF_N 29
1.26 +#define GPIO_PWM0 30
1.27 +
1.28 +#define GPIO_PORT_EMC 2
1.29 +
1.30 +#define GPIO_PORT_POWER 3
1.31 +#define GPIO_POWER 1
1.32 +
1.33 +/* Other details. */
1.34
1.35 #define GPIO_KEYIN_COUNT 8
1.36 #define GPIO_KEYOUT_COUNT 17