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