Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 2 | |
| 3 | chip northbridge/intel/i945 |
| 4 | |
| 5 | device cpu_cluster 0 on |
Arthur Heymans | 22d6ee8 | 2022-11-07 10:03:40 +0100 | [diff] [blame^] | 6 | ops i945_cpu_bus_ops |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 7 | chip cpu/intel/socket_LGA775 |
| 8 | device lapic 0 on end |
| 9 | end |
| 10 | chip cpu/intel/model_1067x |
| 11 | device lapic 0xACAC off end |
| 12 | end |
| 13 | end |
| 14 | |
| 15 | device domain 0 on |
Arthur Heymans | 22d6ee8 | 2022-11-07 10:03:40 +0100 | [diff] [blame^] | 16 | ops i945_pci_domain_ops |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 17 | device pci 00.0 on # host bridge |
| 18 | subsystemid 0x1458 0x5000 |
| 19 | end |
| 20 | device pci 01.0 on # i945 PCIe root port |
| 21 | subsystemid 0x1458 0x5000 |
| 22 | ioapic_irq 2 INTA 0x10 |
| 23 | end |
| 24 | device pci 02.0 on # vga controller |
| 25 | subsystemid 0x1458 0xd000 |
| 26 | ioapic_irq 2 INTA 0x10 |
| 27 | end |
| 28 | |
| 29 | chip southbridge/intel/i82801gx |
Angel Pons | 4276050 | 2020-07-25 13:44:34 +0200 | [diff] [blame] | 30 | register "pirqa_routing" = "0x80" |
| 31 | register "pirqb_routing" = "0x80" |
| 32 | register "pirqc_routing" = "0x80" |
| 33 | register "pirqd_routing" = "0x80" |
| 34 | register "pirqe_routing" = "0x80" |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 35 | register "pirqf_routing" = "0x80" |
| 36 | register "pirqg_routing" = "0x80" |
Angel Pons | 4276050 | 2020-07-25 13:44:34 +0200 | [diff] [blame] | 37 | register "pirqh_routing" = "0x80" |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 38 | |
| 39 | register "gpe0_en" = "0" |
| 40 | |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 41 | register "ide_enable_primary" = "0x1" |
| 42 | register "ide_enable_secondary" = "0x0" |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 43 | |
| 44 | register "p_cnt_throttling_supported" = "0" |
| 45 | |
Arthur Heymans | fecf777 | 2019-11-09 14:19:04 +0100 | [diff] [blame] | 46 | # SuperIO Power Management Events |
| 47 | register "gen1_dec" = "0x00040291" |
| 48 | |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 49 | device pci 1b.0 on # High Definition Audio |
| 50 | ioapic_irq 2 INTA 0x10 |
| 51 | end |
| 52 | device pci 1c.0 on end # PCIe |
| 53 | device pci 1c.1 on end # PCIe |
Arthur Heymans | b9d2589 | 2018-06-15 22:02:28 +0200 | [diff] [blame] | 54 | device pci 1c.2 off end # PCIe port 3 |
| 55 | device pci 1c.3 off end # PCIe port 4 |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 56 | device pci 1d.0 on # USB UHCI |
| 57 | ioapic_irq 2 INTA 0x10 |
| 58 | end |
| 59 | device pci 1d.1 on # USB UHCI |
| 60 | ioapic_irq 2 INTB 0x11 |
| 61 | end |
| 62 | device pci 1d.2 on # USB UHCI |
| 63 | ioapic_irq 2 INTC 0x12 |
| 64 | end |
| 65 | device pci 1d.3 on # USB UHCI |
| 66 | ioapic_irq 2 INTD 0x13 |
| 67 | end |
| 68 | device pci 1d.7 on # USB2 EHCI |
| 69 | ioapic_irq 2 INTA 0x10 |
| 70 | end |
| 71 | device pci 1e.0 on end # PCI bridge |
Arthur Heymans | b9d2589 | 2018-06-15 22:02:28 +0200 | [diff] [blame] | 72 | device pci 1e.2 off end # AC'97 Audio |
| 73 | device pci 1e.3 off end # AC'97 Modem |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 74 | |
| 75 | device pci 1f.0 on # LPC bridge |
| 76 | ioapic_irq 2 INTA 0x10 |
Arthur Heymans | 9677fbf | 2016-12-25 17:52:15 +0100 | [diff] [blame] | 77 | chip superio/winbond/w83627dhg |
| 78 | device pnp 2e.0 on # Floppy |
| 79 | io 0x60 = 0x3f0 |
| 80 | irq 0x70 = 6 |
| 81 | drq 0x74 = 2 |
| 82 | end |
| 83 | device pnp 2e.1 on # Parallel port |
| 84 | io 0x60 = 0x378 |
| 85 | irq 0x70 = 7 |
| 86 | drq 0x74 = 3 |
| 87 | end |
| 88 | device pnp 2e.2 on # COM1 |
| 89 | io 0x60 = 0x3f8 |
| 90 | irq 0x70 = 4 |
| 91 | end |
| 92 | device pnp 2e.3 on # COM2 |
| 93 | io 0x60 = 0x2f8 |
| 94 | irq 0x70 = 3 |
| 95 | end |
| 96 | device pnp 2e.5 on # Keyboard |
| 97 | io 0x60 = 0x60 |
| 98 | io 0x62 = 0x64 |
| 99 | irq 0x70 = 1 # Keyboard |
| 100 | irq 0x72 = 12 # Mouse |
| 101 | end |
| 102 | device pnp 2e.6 off end # SPI |
| 103 | device pnp 2e.7 on end # GPIO6 |
| 104 | device pnp 2e.8 off end # WDTO# & PLED |
Arthur Heymans | 4231568 | 2017-05-06 00:28:12 +0200 | [diff] [blame] | 105 | device pnp 2e.9 off end # GPIO2 |
| 106 | device pnp 2e.109 on # GPIO3 |
| 107 | irq 0xf0 = 0xf3 # BSEL straps to output |
| 108 | irq 0xf2 = 0x08 # INVERT GPIO33 |
| 109 | end |
| 110 | device pnp 2e.209 on # GPIO4 |
| 111 | irq 0xf5 = 0xf8 |
| 112 | end |
| 113 | device pnp 2e.309 on # GPIO5 |
| 114 | irq 0xe0 = 0xde |
| 115 | end |
Arthur Heymans | 9677fbf | 2016-12-25 17:52:15 +0100 | [diff] [blame] | 116 | device pnp 2e.a on # ACPI |
| 117 | irq 0x70 = 0 |
Arthur Heymans | 4231568 | 2017-05-06 00:28:12 +0200 | [diff] [blame] | 118 | irq 0xe4 = 0x10 # VSBGATE# to power dram during S3 |
Arthur Heymans | 9677fbf | 2016-12-25 17:52:15 +0100 | [diff] [blame] | 119 | end |
| 120 | device pnp 2e.b on # HWM |
| 121 | io 0x60 = 0x290 |
| 122 | irq 0x70 = 0 |
| 123 | end |
| 124 | device pnp 2e.c on end # PECI, SST |
Arthur Heymans | 6390e52 | 2016-11-21 17:11:48 +0100 | [diff] [blame] | 125 | end |
| 126 | end |
| 127 | device pci 1f.1 on # IDE |
| 128 | ioapic_irq 2 INTB 0x11 |
| 129 | end |
| 130 | device pci 1f.2 on # SATA |
| 131 | ioapic_irq 2 INTC 0x12 |
| 132 | end |
| 133 | device pci 1f.3 on # SMBus |
| 134 | ioapic_irq 2 INTD 0x13 |
| 135 | end |
| 136 | end |
| 137 | end |
| 138 | end |