xref: /openbmc/u-boot/include/mc13783.h (revision 849fc424)
1 /*
2  * (C) Copyright 2011
3  * Helmut Raiger, HALE electronic GmbH, helmut.raiger@hale.at
4  *
5  * See file CREDITS for list of people who contributed to this
6  * project.
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 2 of
11  * the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21  * MA 02111-1307 USA
22  */
23 
24 
25 #ifndef __MC13783_H__
26 #define __MC13783_H__
27 
28 /* REG_MODE_0 */
29 #define VAUDIOEN	(1 << 0)
30 #define VAUDIOSTBY	(1 << 1)
31 #define VAUDIOMODE	(1 << 2)
32 #define VIOHIEN		(1 << 3)
33 #define VIOHISTBY	(1 << 4)
34 #define VIOHIMODE	(1 << 5)
35 #define VIOLOEN		(1 << 6)
36 #define VIOLOSTBY	(1 << 7)
37 #define VIOLOMODE	(1 << 8)
38 #define VDIGEN 		(1 << 9)
39 #define VDIGSTBY	(1 << 10)
40 #define VDIGMODE	(1 << 11)
41 #define VGENEN		(1 << 12)
42 #define VGENSTBY	(1 << 13)
43 #define VGENMODE	(1 << 14)
44 #define VRFDIGEN	(1 << 15)
45 #define VRFDIGSTBY	(1 << 16)
46 #define VRFDIGMODE	(1 << 17)
47 #define VRFREFEN	(1 << 18)
48 #define VRFREFSTBY	(1 << 19)
49 #define VRFREFMODE	(1 << 20)
50 #define VRFCPEN		(1 << 21)
51 #define VRFCPSTBY	(1 << 22)
52 #define VRFCPMODE	(1 << 23)
53 
54 /* REG_MODE_1 */
55 #define VSIMEN		(1 << 0)
56 #define VSIMSTBY	(1 << 1)
57 #define VSIMMODE	(1 << 2)
58 #define VESIMEN		(1 << 3)
59 #define VESIMSTBY	(1 << 4)
60 #define VESIMMODE	(1 << 5)
61 #define VCAMEN		(1 << 6)
62 #define VCAMSTBY	(1 << 7)
63 #define VCAMMODE	(1 << 8)
64 #define VRFBGEN		(1 << 9)
65 #define VRFBGSTBY	(1 << 10)
66 #define VVIBEN		(1 << 11)
67 #define VRF1EN		(1 << 12)
68 #define VRF1STBY	(1 << 13)
69 #define VRF1MODE	(1 << 14)
70 #define VRF2EN		(1 << 15)
71 #define VRF2STBY	(1 << 16)
72 #define VRF2MODE	(1 << 17)
73 #define VMMC1EN		(1 << 18)
74 #define VMMC1STBY	(1 << 19)
75 #define VMMC1MODE	(1 << 20)
76 #define VMMC2EN		(1 << 21)
77 #define VMMC2STBY	(1 << 22)
78 #define VMMC2MODE	(1 << 23)
79 
80 #endif
81