1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* IT8380 development board configuration */
#ifndef __BOARD_H
#define __BOARD_H
#ifndef __ASSEMBLER__
/* stubbed features */
#undef CONFIG_LID_SWITCH
enum gpio_signal {
GPIO_H_LED0,
GPIO_H_LED1,
GPIO_H_LED2,
GPIO_H_LED3,
GPIO_H_LED4,
GPIO_H_LED5,
GPIO_H_LED6,
GPIO_L_LED0,
GPIO_L_LED1,
GPIO_L_LED2,
GPIO_L_LED3,
GPIO_L_LED4,
GPIO_L_LED5,
GPIO_L_LED6,
GPIO_BUSY_LED,
GPIO_GOOD_LED,
GPIO_FAIL_LED,
GPIO_SW1,
GPIO_SW2,
GPIO_SW3,
GPIO_SW4,
GPIO_START_SW,
/* Unimplemented GPIOs */
GPIO_ENTERING_RW,
/* Number of GPIOs; not an actual GPIO */
GPIO_COUNT
};
#endif /* !__ASSEMBLER__ */
#endif /* __BOARD_H */
|