blob: ad9b961dca008f4f7b916b40ad85849655884ab7 [file] [log] [blame]
Patrick Georgic49d7a32020-05-08 22:50:46 +02001## SPDX-License-Identifier: GPL-2.0-only
Arthur Heymans6390e522016-11-21 17:11:48 +01002
3chip northbridge/intel/i945
4
5 device cpu_cluster 0 on
Arthur Heymans22d6ee82022-11-07 10:03:40 +01006 ops i945_cpu_bus_ops
Arthur Heymans6390e522016-11-21 17:11:48 +01007 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 Heymans22d6ee82022-11-07 10:03:40 +010016 ops i945_pci_domain_ops
Arthur Heymans6390e522016-11-21 17:11:48 +010017 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 Pons42760502020-07-25 13:44:34 +020030 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 Heymans6390e522016-11-21 17:11:48 +010035 register "pirqf_routing" = "0x80"
36 register "pirqg_routing" = "0x80"
Angel Pons42760502020-07-25 13:44:34 +020037 register "pirqh_routing" = "0x80"
Arthur Heymans6390e522016-11-21 17:11:48 +010038
39 register "gpe0_en" = "0"
40
Arthur Heymans6390e522016-11-21 17:11:48 +010041 register "ide_enable_primary" = "0x1"
42 register "ide_enable_secondary" = "0x0"
Arthur Heymans6390e522016-11-21 17:11:48 +010043
44 register "p_cnt_throttling_supported" = "0"
45
Arthur Heymansfecf7772019-11-09 14:19:04 +010046 # SuperIO Power Management Events
47 register "gen1_dec" = "0x00040291"
48
Arthur Heymans6390e522016-11-21 17:11:48 +010049 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 Heymansb9d25892018-06-15 22:02:28 +020054 device pci 1c.2 off end # PCIe port 3
55 device pci 1c.3 off end # PCIe port 4
Arthur Heymans6390e522016-11-21 17:11:48 +010056 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 Heymansb9d25892018-06-15 22:02:28 +020072 device pci 1e.2 off end # AC'97 Audio
73 device pci 1e.3 off end # AC'97 Modem
Arthur Heymans6390e522016-11-21 17:11:48 +010074
75 device pci 1f.0 on # LPC bridge
76 ioapic_irq 2 INTA 0x10
Arthur Heymans9677fbf2016-12-25 17:52:15 +010077 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 Heymans42315682017-05-06 00:28:12 +0200105 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 Heymans9677fbf2016-12-25 17:52:15 +0100116 device pnp 2e.a on # ACPI
117 irq 0x70 = 0
Arthur Heymans42315682017-05-06 00:28:12 +0200118 irq 0xe4 = 0x10 # VSBGATE# to power dram during S3
Arthur Heymans9677fbf2016-12-25 17:52:15 +0100119 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 Heymans6390e522016-11-21 17:11:48 +0100125 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
138end