soc/mediatek/mt8196: Initialize SSPM
[coreboot.git] / src / mainboard / protectli / vault_bsw / onboard.h
blob1704b68f97e5118d196df728f0b13d80fba63be4
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef ONBOARD_H
4 #define ONBOARD_H
6 /*
7 * Calculation of gpio based irq.
8 * Gpio banks ordering : GPSW, GPNC, GPEC, GPSE
9 * Max direct irq (MAX_DIRECT_IRQ) is 114.
10 * Size of gpio banks are
11 * GPSW_SIZE = 98
12 * GPNC_SIZE = 73
13 * GPEC_SIZE = 27
14 * GPSE_SIZE = 86
17 /* Audio: Gpio index in SW bank */
18 #define JACK_DETECT_GPIO_INDEX 77
20 /* SCI: Gpio index in N bank */
21 #define BOARD_SCI_GPIO_INDEX 15
23 #define SDCARD_CD 81
25 #define AUDIO_CODEC_HID "10EC5670"
26 #define AUDIO_CODEC_CID "10EC5670"
27 #define AUDIO_CODEC_DDN "RTEK Codec Controller "
28 #define AUDIO_CODEC_I2C_ADDR 0x1C
30 #define BCRD2_PMIC_I2C_BUS 0x01
32 #endif