blob: d97801e86ec95972c428cfe32bf6f0b8b158962c (
plain)
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
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef ONBOARD_H
#define ONBOARD_H
/*
* Calculation of gpio based irq.
* Gpio banks ordering : GPSW, GPNC, GPEC, GPSE
* Max direct irq (MAX_DIRECT_IRQ) is 114.
* Size of gpio banks are
* GPSW_SIZE = 98
* GPNC_SIZE = 73
* GPEC_SIZE = 27
* GPSE_SIZE = 86
*/
/* Audio: Gpio index in SW bank */
#define JACK_DETECT_GPIO_INDEX 77
/* SCI: Gpio index in N bank */
#define BOARD_SCI_GPIO_INDEX 15
#define SDCARD_CD 81
#define AUDIO_CODEC_HID "10EC5670"
#define AUDIO_CODEC_CID "10EC5670"
#define AUDIO_CODEC_DDN "RTEK Codec Controller "
#define AUDIO_CODEC_I2C_ADDR 0x1C
#define BCRD2_PMIC_I2C_BUS 0x01
#endif
|