blob: 36749b566b9be46d80a6c98fb5cf7132f3e7076c [file] [log] [blame]
/* HP C3700 workstation */
/* AUTO-GENERATED HEADER FILE FOR SEABIOS FIRMWARE */
/* generated with Linux kernel */
/* search for PARISC_QEMU_MACHINE_HEADER in Linux */
#if 0
1. Astro BC Runway Port [10] at 0xfffffffffed00000 { type:12, hv:0x582, sv:0xb, rev:0x0 }
2. Elroy PCI Bridge [10:0] at 0xfffffffffed30000 { type:13, hv:0x782, sv:0xa, rev:0x0 }
3. Elroy PCI Bridge [10:1] at 0xfffffffffed32000 { type:13, hv:0x782, sv:0xa, rev:0x0 }
4. Elroy PCI Bridge [10:4] at 0xfffffffffed38000 { type:13, hv:0x782, sv:0xa, rev:0x0 }
5. Elroy PCI Bridge [10:6] at 0xfffffffffed3c000 { type:13, hv:0x782, sv:0xa, rev:0x0 }
6. Allegro W2 [32] at 0xfffffffffffa0000 { type:0, hv:0x5dc, sv:0x4, rev:0x0 }
7. Memory [49] at 0xfffffffffed10200 { type:1, hv:0x9c, sv:0x9, rev:0x0 }
#endif
#define PARISC_MODEL "9000/785/C3700"
#define PARISC_PDC_MODEL 0x5dc0, 0x481, 0x0, 0x2, 2004003700, 0x100000f0, 0x8, 0xb2, 0xb2, 1
#define PARISC_PDC_VERSION 0x0301
#define PARISC_PDC_CPUID 0x26b
#define PARISC_PDC_CAPABILITIES 0x0007
#define PARISC_PDC_ENTRY_ORG 0xfffffff0f0000018
#define PARISC_PDC_CACHE_INFO \
0xc0000, 0x91802000, 0x20000, 0x0040, 0x0c00 \
, 0x0001, 0x180000, 0xb1802000, 0x0000, 0x0040 \
, 0x6000, 0x0001, 0x00f0, 0xd2300, 0x0000 \
, 0x0000, 0x0001, 0x0000, 0x0000, 0x0001 \
, 0x0001, 0x00f0, 0xd2000, 0x0000, 0x0000 \
, 0x0001, 0x0000, 0x0000, 0x0001, 0x0001
#define HPA_fed00000_DESCRIPTION "Astro BC Runway Port"
static struct pdc_system_map_mod_info mod_info_hpa_fed00000 = {
.mod_addr = ASTRO_HPA,
.mod_pgs = 0x8,
.add_addrs = 0x0,
};
static struct pdc_module_path mod_path_hpa_fed00000 = {
.path = { .flags = 0x0, .bc = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }, .mod = ASTRO_BUS_MODULE },
.layers = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }
};
static struct pdc_iodc iodc_data_hpa_fed00000 = {
.hversion_model = 0x0058,
.hversion = 0x0020,
.spa = 0x0000,
.type = 0x000c,
.sversion_rev = 0x0000,
.sversion_model = 0x0005,
.sversion_opt = 0x0088,
.rev = 0x0000,
.dep = 0x0000,
.features = 0x0000,
.checksum = 0x0000,
.length = 0x0000,
/* pad: 0x0000, 0x0000 */
};
#define HPA_fed00000_num_addr 0
#define HPA_fed00000_add_addr 0
#define HPA_fed30000_DESCRIPTION "Elroy PCI Bridge"
static struct pdc_system_map_mod_info mod_info_hpa_fed30000 = {
.mod_addr = ELROY0_HPA,
.mod_pgs = 0x2,
.add_addrs = 0x0,
};
static struct pdc_module_path mod_path_hpa_fed30000 = {
.path = { .flags = 0x0, .bc = { 0xff, 0xff, 0xff, 0xff, 0xff, ASTRO_BUS_MODULE }, .mod = 0x0 },
.layers = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }
};
static struct pdc_iodc iodc_data_hpa_fed30000 = {
.hversion_model = 0x0078,
.hversion = 0x0020,
.spa = 0x0000,
.type = 0x000d,
.sversion_rev = 0x0000,
.sversion_model = 0x0005,
.sversion_opt = 0x0000,
.rev = 0x0000,
.dep = 0x0000,
.features = 0x0000,
.checksum = 0x0000,
.length = 0x0000,
/* pad: 0x0000, 0x0000 */
};
#define HPA_fed30000_num_addr 0
#define HPA_fed30000_add_addr 0
#define HPA_fed32000_DESCRIPTION "Elroy PCI Bridge"
static struct pdc_system_map_mod_info mod_info_hpa_fed32000 = {
.mod_addr = ELROY2_HPA,
.mod_pgs = 0x2,
.add_addrs = 0x0,
};
static struct pdc_module_path mod_path_hpa_fed32000 = {
.path = { .flags = 0x0, .bc = { 0xff, 0xff, 0xff, 0xff, 0xff, ASTRO_BUS_MODULE }, .mod = 0x1 },
.layers = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }
};
static struct pdc_iodc iodc_data_hpa_fed32000 = {
.hversion_model = 0x0078,
.hversion = 0x0020,
.spa = 0x0000,
.type = 0x000d,
.sversion_rev = 0x0000,
.sversion_model = 0x0005,
.sversion_opt = 0x0000,
.rev = 0x0000,
.dep = 0x0000,
.features = 0x0000,
.checksum = 0x0000,
.length = 0x0000,
/* pad: 0x0000, 0x0000 */
};
#define HPA_fed32000_num_addr 0
#define HPA_fed32000_add_addr 0
#define HPA_fed38000_DESCRIPTION "Elroy PCI Bridge"
static struct pdc_system_map_mod_info mod_info_hpa_fed38000 = {
.mod_addr = ELROY8_HPA,
.mod_pgs = 0x2,
.add_addrs = 0x0,
};
static struct pdc_module_path mod_path_hpa_fed38000 = {
.path = { .flags = 0x0, .bc = { 0xff, 0xff, 0xff, 0xff, 0xff, ASTRO_BUS_MODULE }, .mod = 0x4 },
.layers = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }
};
static struct pdc_iodc iodc_data_hpa_fed38000 = {
.hversion_model = 0x0078,
.hversion = 0x0020,
.spa = 0x0000,
.type = 0x000d,
.sversion_rev = 0x0000,
.sversion_model = 0x0005,
.sversion_opt = 0x0000,
.rev = 0x0000,
.dep = 0x0000,
.features = 0x0000,
.checksum = 0x0000,
.length = 0x0000,
/* pad: 0x0000, 0x0000 */
};
#define HPA_fed38000_num_addr 0
#define HPA_fed38000_add_addr 0
#define HPA_fed3c000_DESCRIPTION "Elroy PCI Bridge"
static struct pdc_system_map_mod_info mod_info_hpa_fed3c000 = {
.mod_addr = ELROYc_HPA,
.mod_pgs = 0x2,
.add_addrs = 0x0,
};
static struct pdc_module_path mod_path_hpa_fed3c000 = {
.path = { .flags = 0x0, .bc = { 0xff, 0xff, 0xff, 0xff, 0xff, ASTRO_BUS_MODULE }, .mod = 0x6 },
.layers = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }
};
static struct pdc_iodc iodc_data_hpa_fed3c000 = {
.hversion_model = 0x0078,
.hversion = 0x0020,
.spa = 0x0000,
.type = 0x000d,
.sversion_rev = 0x0000,
.sversion_model = 0x0005,
.sversion_opt = 0x0000,
.rev = 0x0000,
.dep = 0x0000,
.features = 0x0000,
.checksum = 0x0000,
.length = 0x0000,
/* pad: 0x0000, 0x0000 */
};
#define HPA_fed3c000_num_addr 0
#define HPA_fed3c000_add_addr 0
#define HPA_fffa0000_DESCRIPTION "Allegro W2"
static struct pdc_system_map_mod_info mod_info_hpa_fffa0000 = {
.mod_addr = CPU_HPA /* 0xfffa0000 */,
.mod_pgs = 0x1,
.add_addrs = 0x0,
};
static struct pdc_module_path mod_path_hpa_fffa0000 = {
.path = { .flags = 0x0, .bc = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }, .mod = 0x10 },
.layers = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }
};
static struct pdc_iodc iodc_data_hpa_fffa0000 = {
#if 1 // original C3700:
.hversion_model = 0x005d,
.hversion = 0x00c0, // C3700: c0, B160: 20
#else
/* this is from B160L */
.hversion_model = 0x0050,
.hversion = 0x0020,
#endif
.spa = 0x0000,
.type = 0x0040,
.sversion_rev = 0x0000,
.sversion_model = 0x0002,
.sversion_opt = 0x0040,
.rev = 0x0000,
.dep = 0x0000,
.features = 0x0000,
.checksum = 0x0000,
.length = 0x0000,
/* pad: 0x0000, 0x0000 */
};
#define HPA_fffa0000_num_addr 0
#define HPA_fffa0000_add_addr 0
#define HPA_fed10200_DESCRIPTION "Memory"
static struct pdc_system_map_mod_info mod_info_hpa_fed10200 = {
.mod_addr = ASTRO_MEMORY_HPA,
.mod_pgs = 0x8,
.add_addrs = 0x0,
};
static struct pdc_module_path mod_path_hpa_fed10200 = {
.path = { .flags = 0x0, .bc = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }, .mod = 0x31 },
.layers = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }
};
static struct pdc_iodc iodc_data_hpa_fed10200 = {
.hversion_model = 0x0009,
.hversion = 0x00c0,
.spa = 0x001f,
.type = 0x0041,
.sversion_rev = 0x0000,
.sversion_model = 0x0004,
.sversion_opt = 0x0080,
.rev = 0x0000,
.dep = 0x0000,
.features = 0x0000,
.checksum = 0x0000,
.length = 0x0000,
/* pad: 0x0000, 0x0000 */
};
#define HPA_fed10200_num_addr 0
#define HPA_fed10200_add_addr 0
#define PARISC_DEVICE_LIST \
{ .hpa = ASTRO_HPA,\
.iodc = &iodc_data_hpa_fed00000,\
.mod_info = &mod_info_hpa_fed00000,\
.mod_path = &mod_path_hpa_fed00000,\
.num_addr = HPA_fed00000_num_addr,\
.add_addr = { HPA_fed00000_add_addr } },\
{ .hpa = ELROY0_HPA,\
.iodc = &iodc_data_hpa_fed30000,\
.mod_info = &mod_info_hpa_fed30000,\
.mod_path = &mod_path_hpa_fed30000,\
.num_addr = HPA_fed30000_num_addr,\
.add_addr = { HPA_fed30000_add_addr } },\
{ .hpa = ELROY2_HPA,\
.iodc = &iodc_data_hpa_fed32000,\
.mod_info = &mod_info_hpa_fed32000,\
.mod_path = &mod_path_hpa_fed32000,\
.num_addr = HPA_fed32000_num_addr,\
.add_addr = { HPA_fed32000_add_addr } },\
{ .hpa = ELROY8_HPA,\
.iodc = &iodc_data_hpa_fed38000,\
.mod_info = &mod_info_hpa_fed38000,\
.mod_path = &mod_path_hpa_fed38000,\
.num_addr = HPA_fed38000_num_addr,\
.add_addr = { HPA_fed38000_add_addr } },\
{ .hpa = ELROYc_HPA,\
.iodc = &iodc_data_hpa_fed3c000,\
.mod_info = &mod_info_hpa_fed3c000,\
.mod_path = &mod_path_hpa_fed3c000,\
.num_addr = HPA_fed3c000_num_addr,\
.add_addr = { HPA_fed3c000_add_addr } },\
{ .hpa = ASTRO_MEMORY_HPA,\
.iodc = &iodc_data_hpa_fed10200,\
.mod_info = &mod_info_hpa_fed10200,\
.mod_path = &mod_path_hpa_fed10200,\
.num_addr = HPA_fed10200_num_addr,\
.add_addr = { HPA_fed10200_add_addr } },\
{ .hpa = LASI_GFX_HPA, /* HACKED IN: Coral GSC graphics */ \
.iodc = &iodc_data_hpa_f8000000,\
.mod_info = &mod_info_hpa_f8000000,\
.mod_path = &mod_path_hpa_f8000000,\
.num_addr = HPA_f8000000_num_addr,\
.add_addr = { HPA_f8000000_add_addr } },\
{ .hpa = CPU_HPA /* XXX: 0xfffa0000 */ ,\
.iodc = &iodc_data_hpa_fffa0000,\
.mod_info = &mod_info_hpa_fffa0000,\
.mod_path = &mod_path_hpa_fffa0000,\
.num_addr = HPA_fffa0000_num_addr,\
.add_addr = { HPA_fffa0000_add_addr } },\
{ 0, }