summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900/regs-gcr.h
blob: caf1090ecad832fd34c3f002f5a7a228da78cd38 (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
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * arch/arm/mach-w90x900/include/mach/regs-gcr.h
 *
 * Copyright (c) 2010 Nuvoton technology corporation
 * All rights reserved.
 *
 * Wan ZongShun <mcuos.com@gmail.com>
 */

#ifndef __ASM_ARCH_REGS_GCR_H
#define __ASM_ARCH_REGS_GCR_H

/* Global control registers */

#define GCR_BA		W90X900_VA_GCR
#define REG_PDID	(GCR_BA+0x000)
#define REG_PWRON	(GCR_BA+0x004)
#define REG_ARBCON	(GCR_BA+0x008)
#define REG_MFSEL	(GCR_BA+0x00C)
#define REG_EBIDPE	(GCR_BA+0x010)
#define REG_LCDDPE	(GCR_BA+0x014)
#define REG_GPIOCPE	(GCR_BA+0x018)
#define REG_GPIODPE	(GCR_BA+0x01C)
#define REG_GPIOEPE	(GCR_BA+0x020)
#define REG_GPIOFPE	(GCR_BA+0x024)
#define REG_GPIOGPE	(GCR_BA+0x028)
#define REG_GPIOHPE	(GCR_BA+0x02C)
#define REG_GPIOIPE	(GCR_BA+0x030)
#define REG_GTMP1	(GCR_BA+0x034)
#define REG_GTMP2	(GCR_BA+0x038)
#define REG_GTMP3	(GCR_BA+0x03C)

#endif /*  __ASM_ARCH_REGS_GCR_H */