summaryrefslogtreecommitdiff
path: root/sys/arch/armv7/sunxi/sxiccmuvar.h
blob: eb47d0f04bbca000a13708c70ddc2713836e3991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*	$OpenBSD: sxiccmuvar.h,v 1.3 2016/08/13 21:48:44 kettenis Exp $	*/
/*
 * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

void sxiccmu_enablemodule(int);
void sxiccmu_disablemodule(int);

enum CCMU_MODULES {
	CCMU_EHCI0,
	CCMU_EHCI1,
	CCMU_OHCI0,
	CCMU_OHCI1,
	CCMU_AHCI,
	CCMU_EMAC,
	CCMU_GMAC_MII,
	CCMU_GMAC_RGMII,
	CCMU_DMA,
	CCMU_UART0,
	CCMU_UART1,
	CCMU_UART2,
	CCMU_UART3,
	CCMU_UART4,
	CCMU_UART5,
	CCMU_UART6,
	CCMU_UART7,
	CCMU_TWI0,
	CCMU_TWI1,
	CCMU_TWI2,
	CCMU_TWI3,
	CCMU_TWI4,
	CCMU_SDMMC0,
	CCMU_SDMMC1,
	CCMU_SDMMC2,
	CCMU_SDMMC3,
	CCMU_PIO
};