xref: /inferno-os/os/boot/mpc/archpaq.h (revision 74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a)
1 enum {
2 	/* memory controller CS assignment on PowerPAQ */
3 	BOOTCS = 0,
4 	DRAM1 = 1,	/* UPMB */
5 	DRAM2 = 2,	/* UPMB */
6 	/* CS3 also connected to DRAM */
7 	/* CS4 128mbyte 8-bit gpcm, trlx, 15 wait; it's DAC */
8 	/* CS5 is external*/
9 };
10 
11 enum {
12 	/* I2C addresses */
13 	PanelI2C = 0x21<<1,
14 	  /* the control bits are active low enables, or high disables */
15 	  DisableVGA = ~0xFD,	/* disable VGA signals */
16 	  DisableTFT = ~0xFB,	/* disable TFT panel signals */
17 	  DisableSPIBus = ~0xF7,	/* disable SPI/I2C to panel */
18 	  DisablePanelVCC5 = ~0xEF,	/* disable +5V to panel(s) */
19 	  DisablePanelVCC3 = ~0xDF,	/* disable +3.3V to panel(s) */
20 	  DisableMonoPanel = ~0xBF,	/* disable mono panel signals */
21 	  DisableSPISelect = ~0x7F,	/* disable SPI chip select to LVDS panel */
22 	ContrastI2C = 0x2E<<1,
23 	LEDRegI2C = 0x20<<1,
24 	  DisableGreenLED = ~0xFE,
25 	  DisableYellowLED = ~0xFD,
26 	  DisableRedLED = ~0xFB,
27 
28 	EnableLCD = IBIT(23),	/* LCD enable bit in i/o port B */
29 };
30