aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/hp6xx/hp6xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/hp6xx/hp6xx.h')
-rw-r--r--include/asm-sh/hp6xx/hp6xx.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/asm-sh/hp6xx/hp6xx.h b/include/asm-sh/hp6xx/hp6xx.h
new file mode 100644
index 000000000000..a26247fd3d87
--- /dev/null
+++ b/include/asm-sh/hp6xx/hp6xx.h
@@ -0,0 +1,31 @@
1#ifndef __ASM_SH_HP6XX_H
2#define __ASM_SH_HP6XX_H
3
4/*
5 * Copyright (C) 2003 Andriy Skulysh
6 */
7
8#define HP680_TS_IRQ IRQ3_IRQ
9
10#define DAC_LCD_BRIGHTNESS 0
11#define DAC_SPEAKER_VOLUME 1
12
13#define PHDR_TS_PEN_DOWN 0x08
14
15#define SCPDR_TS_SCAN_ENABLE 0x20
16#define SCPDR_TS_SCAN_Y 0x02
17#define SCPDR_TS_SCAN_X 0x01
18
19#define SCPCR_TS_ENABLE 0x405
20#define SCPCR_TS_MASK 0xc0f
21
22#define ADC_CHANNEL_TS_Y 1
23#define ADC_CHANNEL_TS_X 2
24
25#define HD64461_GPADR_SPEAKER 0x01
26#define HD64461_GPADR_PCMCIA0 (0x02|0x08)
27#define HD64461_GPBDR_LCDOFF 0x01
28#define HD64461_GPBDR_LED_RED 0x80
29
30
31#endif /* __ASM_SH_HP6XX_H */