2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 #ifndef __GPIO_GLOBAL_H_INCLUDED__
16 #define __GPIO_GLOBAL_H_INCLUDED__
18 #define IS_GPIO_VERSION_1
20 #include <gpio_block_defs.h>
22 /* pqiao: following part only defines in hive_isp_css_defs.h in fpga system.
26 /* GPIO pin defines */
27 /*#define HIVE_GPIO_CAMERA_BOARD_RESET_PIN_NR 0
28 #define HIVE_GPIO_LCD_CLOCK_SELECT_PIN_NR 7
29 #define HIVE_GPIO_HDMI_CLOCK_SELECT_PIN_NR 8
30 #define HIVE_GPIO_LCD_VERT_FLIP_PIN_NR 8
31 #define HIVE_GPIO_LCD_HOR_FLIP_PIN_NR 9
32 #define HIVE_GPIO_AS3683_GPIO_P0_PIN_NR 1
33 #define HIVE_GPIO_AS3683_DATA_P1_PIN_NR 2
34 #define HIVE_GPIO_AS3683_CLK_P2_PIN_NR 3
35 #define HIVE_GPIO_AS3683_T1_F0_PIN_NR 4
36 #define HIVE_GPIO_AS3683_SFL_F1_PIN_NR 5
37 #define HIVE_GPIO_AS3683_STROBE_F2_PIN_NR 6
38 #define HIVE_GPIO_MAX1577_EN1_PIN_NR 1
39 #define HIVE_GPIO_MAX1577_EN2_PIN_NR 2
40 #define HIVE_GPIO_MAX8685A_EN_PIN_NR 3
41 #define HIVE_GPIO_MAX8685A_TRIG_PIN_NR 4*/
43 #define HIVE_GPIO_STROBE_TRIGGER_PIN 2
45 #endif /* __GPIO_GLOBAL_H_INCLUDED__ */