Path: blob/master/arch/sh/include/mach-common/mach/hp6xx.h
15162 views
#ifndef __ASM_SH_HP6XX_H1#define __ASM_SH_HP6XX_H23/*4* Copyright (C) 2003, 2004, 2005 Andriy Skulysh5*6* This file is subject to the terms and conditions of the GNU General Public7* License. See the file "COPYING" in the main directory of this archive8* for more details.9*10*/1112#define HP680_BTN_IRQ 32 /* IRQ0_IRQ */13#define HP680_TS_IRQ 35 /* IRQ3_IRQ */14#define HP680_HD64461_IRQ 36 /* IRQ4_IRQ */1516#define DAC_LCD_BRIGHTNESS 017#define DAC_SPEAKER_VOLUME 11819#define PGDR_OPENED 0x0120#define PGDR_MAIN_BATTERY_OUT 0x0421#define PGDR_PLAY_BUTTON 0x0822#define PGDR_REWIND_BUTTON 0x1023#define PGDR_RECORD_BUTTON 0x202425#define PHDR_TS_PEN_DOWN 0x082627#define PJDR_LED_BLINK 0x022829#define PKDR_LED_GREEN 0x103031/* HP Palmtop 620lx/660lx speaker on/off */32#define PKDR_SPEAKER 0x203334#define SCPDR_TS_SCAN_ENABLE 0x2035#define SCPDR_TS_SCAN_Y 0x0236#define SCPDR_TS_SCAN_X 0x013738#define SCPCR_TS_ENABLE 0x40539#define SCPCR_TS_MASK 0xc0f4041#define ADC_CHANNEL_TS_Y 142#define ADC_CHANNEL_TS_X 243#define ADC_CHANNEL_BATTERY 344#define ADC_CHANNEL_BACKUP 445#define ADC_CHANNEL_CHARGE 54647/* HP Jornada 680/690 speaker on/off */48#define HD64461_GPADR_SPEAKER 0x0149#define HD64461_GPADR_PCMCIA0 (0x02|0x08)5051#define HD64461_GPBDR_LCDOFF 0x0152#define HD64461_GPBDR_LCD_CONTRAST_MASK 0x7853#define HD64461_GPBDR_LED_RED 0x805455#include <asm/hd64461.h>56#include <asm/io.h>5758#define PJDR 0xa400013059#define PKDR 0xa40001326061#endif /* __ASM_SH_HP6XX_H */626364