blob: 758c5c59d4bf954b333b6b55d011490b858c01c7 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* linux/include/asm-arm/arch-s3c2410/bast-pmu.h
2 *
3 * (c) 2003,2004 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
5 * Vincent Sanders <vince@simtec.co.uk>
6 *
7 * Machine BAST - Power Management chip
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 *
13 * Changelog:
14 * 08-Oct-2003 BJD Initial creation
15*/
16
17#ifndef __ASM_ARCH_BASTPMU_H
18#define __ASM_ARCH_BASTPMU_H "08_OCT_2004"
19
20#define BASTPMU_REG_IDENT (0x00)
21#define BASTPMU_REG_VERSION (0x01)
22#define BASTPMU_REG_DDCCTRL (0x02)
23#define BASTPMU_REG_POWER (0x03)
24#define BASTPMU_REG_RESET (0x04)
25#define BASTPMU_REG_GWO (0x05)
26#define BASTPMU_REG_WOL (0x06)
27#define BASTPMU_REG_WOR (0x07)
28#define BASTPMU_REG_UID (0x09)
29
30#define BASTPMU_EEPROM (0xC0)
31
32#define BASTPMU_EEP_UID (BASTPMU_EEPROM + 0)
33#define BASTPMU_EEP_WOL (BASTPMU_EEPROM + 8)
34#define BASTPMU_EEP_WOR (BASTPMU_EEPROM + 9)
35
36#define BASTPMU_IDENT_0 0x53
37#define BASTPMU_IDENT_1 0x42
38#define BASTPMU_IDENT_2 0x50
39#define BASTPMU_IDENT_3 0x4d
40
41#define BASTPMU_RESET_GUARD (0x55)
42
43#endif /* __ASM_ARCH_BASTPMU_H */