xref: /openbmc/u-boot/include/mc13783.h (revision d9b23e26)
1 /*
2  * (C) Copyright 2011
3  * Helmut Raiger, HALE electronic GmbH, helmut.raiger@hale.at
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 
9 #ifndef __MC13783_H__
10 #define __MC13783_H__
11 
12 /* REG_MODE_0 */
13 #define VAUDIOEN	(1 << 0)
14 #define VAUDIOSTBY	(1 << 1)
15 #define VAUDIOMODE	(1 << 2)
16 #define VIOHIEN		(1 << 3)
17 #define VIOHISTBY	(1 << 4)
18 #define VIOHIMODE	(1 << 5)
19 #define VIOLOEN		(1 << 6)
20 #define VIOLOSTBY	(1 << 7)
21 #define VIOLOMODE	(1 << 8)
22 #define VDIGEN 		(1 << 9)
23 #define VDIGSTBY	(1 << 10)
24 #define VDIGMODE	(1 << 11)
25 #define VGENEN		(1 << 12)
26 #define VGENSTBY	(1 << 13)
27 #define VGENMODE	(1 << 14)
28 #define VRFDIGEN	(1 << 15)
29 #define VRFDIGSTBY	(1 << 16)
30 #define VRFDIGMODE	(1 << 17)
31 #define VRFREFEN	(1 << 18)
32 #define VRFREFSTBY	(1 << 19)
33 #define VRFREFMODE	(1 << 20)
34 #define VRFCPEN		(1 << 21)
35 #define VRFCPSTBY	(1 << 22)
36 #define VRFCPMODE	(1 << 23)
37 
38 /* REG_MODE_1 */
39 #define VSIMEN		(1 << 0)
40 #define VSIMSTBY	(1 << 1)
41 #define VSIMMODE	(1 << 2)
42 #define VESIMEN		(1 << 3)
43 #define VESIMSTBY	(1 << 4)
44 #define VESIMMODE	(1 << 5)
45 #define VCAMEN		(1 << 6)
46 #define VCAMSTBY	(1 << 7)
47 #define VCAMMODE	(1 << 8)
48 #define VRFBGEN		(1 << 9)
49 #define VRFBGSTBY	(1 << 10)
50 #define VVIBEN		(1 << 11)
51 #define VRF1EN		(1 << 12)
52 #define VRF1STBY	(1 << 13)
53 #define VRF1MODE	(1 << 14)
54 #define VRF2EN		(1 << 15)
55 #define VRF2STBY	(1 << 16)
56 #define VRF2MODE	(1 << 17)
57 #define VMMC1EN		(1 << 18)
58 #define VMMC1STBY	(1 << 19)
59 #define VMMC1MODE	(1 << 20)
60 #define VMMC2EN		(1 << 21)
61 #define VMMC2STBY	(1 << 22)
62 #define VMMC2MODE	(1 << 23)
63 
64 #endif
65