2 * linux/include/asm-arm/arch-sa1100/huw_webpanel.h
6 * This file contains the hardware specific definitions for HUW_Webpanel
8 * 2000/11/13 Roman Jordan <jor@hoeft-wessel.de>
11 #ifndef __ASM_ARCH_HARDWARE_H
12 #error "include <asm/hardware.h> instead"
15 /* System Configuration Register flags */
17 #define SCR_SDRAM_LOW (1<<2) /* SDRAM size (low bit) */
18 #define SCR_SDRAM_HIGH (1<<3) /* SDRAM size (high bit) */
19 #define SCR_FLASH_LOW (1<<4) /* Flash size (low bit) */
20 #define SCR_FLASH_HIGH (1<<5) /* Flash size (high bit) */
21 #define SCR_GFX (1<<8) /* Graphics Accelerator (0 = present) */
22 #define SCR_SA1111 (1<<9) /* Neponset (0 = present) */
27 /* Board Control Register */
29 #define BCR_BASE 0xf1000000
30 #define BCR (*(volatile unsigned int *)(BCR_BASE))
32 #define BCR_PSIO_DTR1 (1<<29)
33 #define BCR_TFT_NPWR (1<<28)
34 #define BCR_PSIO_DTR3 (1<<27)
35 #define BCR_TFT_ENA (1<<26)
36 #define BCR_CCFL_POW (1<<25)
37 #define BCR_PSIO_RTS1 (1<<24)
38 #define BCR_PWM_BACKLIGHT (1<<23)
42 extern unsigned long SCR_value;
43 extern unsigned long BCR_value;
44 #define BCR_set( x ) BCR = (BCR_value |= (x))
45 #define BCR_clear( x ) BCR = (BCR_value &= ~(x))