xref: /openbmc/qemu/hw/hppa/hppa_hardware.h (revision 2b42f31e)
1a72bd606SHelge Deller /* HPPA cores and system support chips.  */
2a72bd606SHelge Deller 
3a72bd606SHelge Deller #define FIRMWARE_START  0xf0000000
4a72bd606SHelge Deller #define FIRMWARE_END    0xf0800000
5a72bd606SHelge Deller 
6a72bd606SHelge Deller #define DEVICE_HPA_LEN  0x00100000
7a72bd606SHelge Deller 
8a72bd606SHelge Deller #define GSC_HPA         0xffc00000
9a72bd606SHelge Deller #define DINO_HPA        0xfff80000
10a72bd606SHelge Deller #define DINO_UART_HPA   0xfff83000
11a72bd606SHelge Deller #define  DINO_UART_BASE 0xfff83800
12a72bd606SHelge Deller #define DINO_SCSI_HPA   0xfff8c000
13a72bd606SHelge Deller #define LASI_HPA        0xffd00000
14a72bd606SHelge Deller #define LASI_UART_HPA   0xffd05000
15a72bd606SHelge Deller #define LASI_SCSI_HPA   0xffd06000
16a72bd606SHelge Deller #define LASI_LAN_HPA    0xffd07000
17a72bd606SHelge Deller #define LASI_LPT_HPA    0xffd02000
18a72bd606SHelge Deller #define LASI_AUDIO_HPA  0xffd04000
19a72bd606SHelge Deller #define LASI_PS2KBD_HPA 0xffd08000
20a72bd606SHelge Deller #define LASI_PS2MOU_HPA 0xffd08100
21a72bd606SHelge Deller #define LASI_GFX_HPA    0xf8000000
22*2b42f31eSHelge Deller #define CPU_HPA         0xfffb0000
23a72bd606SHelge Deller #define MEMORY_HPA      0xfffbf000
24a72bd606SHelge Deller 
25a72bd606SHelge Deller #define PCI_HPA         DINO_HPA        /* PCI bus */
26a72bd606SHelge Deller #define IDE_HPA         0xf9000000      /* Boot disc controller */
27a72bd606SHelge Deller 
28a72bd606SHelge Deller /* offsets to DINO HPA: */
29a72bd606SHelge Deller #define DINO_PCI_ADDR           0x064
30a72bd606SHelge Deller #define DINO_CONFIG_DATA        0x068
31a72bd606SHelge Deller #define DINO_IO_DATA            0x06c
32a72bd606SHelge Deller 
33a72bd606SHelge Deller #define PORT_PCI_CMD    (PCI_HPA + DINO_PCI_ADDR)
34a72bd606SHelge Deller #define PORT_PCI_DATA   (PCI_HPA + DINO_CONFIG_DATA)
35a72bd606SHelge Deller 
36a72bd606SHelge Deller #define PORT_SERIAL1    (DINO_UART_HPA + 0x800)
37a72bd606SHelge Deller #define PORT_SERIAL2    (LASI_UART_HPA + 0x800)
38a72bd606SHelge Deller 
39*2b42f31eSHelge Deller #define HPPA_MAX_CPUS   8       /* max. number of SMP CPUs */
40a72bd606SHelge Deller #define CPU_CLOCK_MHZ   250     /* emulate a 250 MHz CPU */
41