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