summaryrefslogtreecommitdiff
path: root/src/mainboard/samsung/lumpy/onboard.h
blob: d43e1bae775e520c2bb7d651a9b1de18bbfd0c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef LUMPY_ONBOARD_H
#define LUMPY_ONBOARD_H

#define BOARD_LIGHTSENSOR_NAME      "lightsensor"
#define BOARD_LIGHTSENSOR_I2C_ADDR  0x44
#define BOARD_LIGHTSENSOR_IRQ       20

#define BOARD_TRACKPAD_NAME         "trackpad"
#define BOARD_TRACKPAD_I2C_ADDR     0x67
#define BOARD_TRACKPAD_IRQ          21
#define BOARD_TRACKPAD_WAKE_GPIO    0x1b

/* Write Protect: GPIO24 = KBC3_SPI_WP#, active high */
#define GPIO_SPI_WP	24

/* Recovery: GPIO42 = CHP3_REC_MODE#, active low */
#define GPIO_REC_MODE	42

#endif