Go to the documentation of this file.
12 #ifndef __ASM_ARCH_ASSABET_H
13 #define __ASM_ARCH_ASSABET_H
18 #define ASSABET_SCR_SDRAM_LOW (1<<2)
19 #define ASSABET_SCR_SDRAM_HIGH (1<<3)
20 #define ASSABET_SCR_FLASH_LOW (1<<4)
21 #define ASSABET_SCR_FLASH_HIGH (1<<5)
22 #define ASSABET_SCR_GFX (1<<8)
23 #define ASSABET_SCR_SA1111 (1<<9)
25 #define ASSABET_SCR_INIT -1
29 #ifdef CONFIG_ASSABET_NEPONSET
30 #define machine_has_neponset() ((SCR_value & ASSABET_SCR_SA1111) == 0)
32 #define machine_has_neponset() (0)
37 #define ASSABET_BCR_BASE 0xf1000000
38 #define ASSABET_BCR (*(volatile unsigned int *)(ASSABET_BCR_BASE))
40 #define ASSABET_BCR_CF_PWR (1<<0)
41 #define ASSABET_BCR_CF_RST (1<<1)
42 #define ASSABET_BCR_GFX_RST (1<<1)
43 #define ASSABET_BCR_CODEC_RST (1<<2)
44 #define ASSABET_BCR_IRDA_FSEL (1<<3)
45 #define ASSABET_BCR_IRDA_MD0 (1<<4)
46 #define ASSABET_BCR_IRDA_MD1 (1<<5)
47 #define ASSABET_BCR_STEREO_LB (1<<6)
48 #define ASSABET_BCR_CF_BUS_OFF (1<<7)
49 #define ASSABET_BCR_AUDIO_ON (1<<8)
50 #define ASSABET_BCR_LIGHT_ON (1<<9)
51 #define ASSABET_BCR_LCD_12RGB (1<<10)
52 #define ASSABET_BCR_LCD_ON (1<<11)
53 #define ASSABET_BCR_RS232EN (1<<12)
54 #define ASSABET_BCR_LED_RED (1<<13)
55 #define ASSABET_BCR_LED_GREEN (1<<14)
56 #define ASSABET_BCR_VIB_ON (1<<15)
57 #define ASSABET_BCR_COM_DTR (1<<16)
58 #define ASSABET_BCR_COM_RTS (1<<17)
59 #define ASSABET_BCR_RAD_WU (1<<18)
60 #define ASSABET_BCR_SMB_EN (1<<19)
61 #define ASSABET_BCR_TV_IR_DEC (1<<20)
62 #define ASSABET_BCR_QMUTE (1<<21)
63 #define ASSABET_BCR_RAD_ON (1<<22)
64 #define ASSABET_BCR_SPK_OFF (1<<23)
66 #ifdef CONFIG_SA1100_ASSABET
69 #define ASSABET_BCR_frob(x,y) do { } while (0)
72 #define ASSABET_BCR_set(x) ASSABET_BCR_frob((x), (x))
73 #define ASSABET_BCR_clear(x) ASSABET_BCR_frob((x), 0)
75 #define ASSABET_BSR_BASE 0xf1000000
76 #define ASSABET_BSR (*(volatile unsigned int*)(ASSABET_BSR_BASE))
78 #define ASSABET_BSR_RS232_VALID (1 << 24)
79 #define ASSABET_BSR_COM_DCD (1 << 25)
80 #define ASSABET_BSR_COM_CTS (1 << 26)
81 #define ASSABET_BSR_COM_DSR (1 << 27)
82 #define ASSABET_BSR_RAD_CTS (1 << 28)
83 #define ASSABET_BSR_RAD_DSR (1 << 29)
84 #define ASSABET_BSR_RAD_DCD (1 << 30)
85 #define ASSABET_BSR_RAD_RI (1 << 31)
89 #define ASSABET_GPIO_RADIO_IRQ GPIO_GPIO (14)
90 #define ASSABET_GPIO_PS_MODE_SYNC GPIO_GPIO (16)
91 #define ASSABET_GPIO_STEREO_64FS_CLK GPIO_GPIO (19)
92 #define ASSABET_GPIO_GFX_IRQ GPIO_GPIO (24)
93 #define ASSABET_GPIO_BATT_LOW GPIO_GPIO (26)
94 #define ASSABET_GPIO_RCLK GPIO_GPIO (26)
97 #define ASSABET_GPIO_CF_IRQ 21
98 #define ASSABET_GPIO_CF_CD 22
99 #define ASSABET_GPIO_CF_BVD2 24
100 #define ASSABET_GPIO_CF_BVD1 25