add definitions for sciphone G2
[osmocom-bb.git] / src / target / firmware / include / mtk / bpi.h
1 #ifndef _MTK_BPI_H
2 #define _MTK_BPI_H
3
4 /* MTK Baseband Parallel Interface */
5
6 /* Chapter 9.2 of MT6235 Data Sheet */
7
8 #define BPI_BUF(n)      (BPI_BUF0 + ((n) * 4))
9
10 #define MTK_BPI(n)      (n)
11
12 enum mtk_bpi_reg {
13         BPI_CON         = 0x0000,
14         BPI_BUF0        = 0x0004,
15         BPI_ENA0        = 0x00b0,
16         BPI_ENA1        = 0x00b4,
17         BPI_ENA2        = 0x00b8,
18 };
19
20 #endif /* _MTK_BPI_H */