blob: 823882650e4245ef2da7699ee62530fa5eb381a8 [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
Arthur Heymans6390e522016-11-21 17:11:48 +010010 end
11
12 device domain 0 on
Arthur Heymans22d6ee82022-11-07 10:03:40 +010013 ops i945_pci_domain_ops
Arthur Heymans6390e522016-11-21 17:11:48 +010014 device pci 00.0 on # host bridge
15 subsystemid 0x1458 0x5000
16 end
17 device pci 01.0 on # i945 PCIe root port
18 subsystemid 0x1458 0x5000
19 ioapic_irq 2 INTA 0x10
20 end
21 device pci 02.0 on # vga controller
22 subsystemid 0x1458 0xd000
23 ioapic_irq 2 INTA 0x10
24 end
25
26 chip southbridge/intel/i82801gx
Angel Pons42760502020-07-25 13:44:34 +020027 register "pirqa_routing" = "0x80"
28 register "pirqb_routing" = "0x80"
29 register "pirqc_routing" = "0x80"
30 register "pirqd_routing" = "0x80"
31 register "pirqe_routing" = "0x80"
Arthur Heymans6390e522016-11-21 17:11:48 +010032 register "pirqf_routing" = "0x80"
33 register "pirqg_routing" = "0x80"
Angel Pons42760502020-07-25 13:44:34 +020034 register "pirqh_routing" = "0x80"
Arthur Heymans6390e522016-11-21 17:11:48 +010035
36 register "gpe0_en" = "0"
37
Elyes Haouasdc3beea2022-11-29 17:36:51 +010038 register "ide_enable_primary" = "true"
39 register "ide_enable_secondary" = "false"
Arthur Heymans6390e522016-11-21 17:11:48 +010040
41 register "p_cnt_throttling_supported" = "0"
42
Arthur Heymansfecf7772019-11-09 14:19:04 +010043 # SuperIO Power Management Events
44 register "gen1_dec" = "0x00040291"
45
Arthur Heymans6390e522016-11-21 17:11:48 +010046 device pci 1b.0 on # High Definition Audio
47 ioapic_irq 2 INTA 0x10
48 end
49 device pci 1c.0 on end # PCIe
50 device pci 1c.1 on end # PCIe
Arthur Heymansb9d25892018-06-15 22:02:28 +020051 device pci 1c.2 off end # PCIe port 3
52 device pci 1c.3 off end # PCIe port 4
Arthur Heymans6390e522016-11-21 17:11:48 +010053 device pci 1d.0 on # USB UHCI
54 ioapic_irq 2 INTA 0x10
55 end
56 device pci 1d.1 on # USB UHCI
57 ioapic_irq 2 INTB 0x11
58 end
59 device pci 1d.2 on # USB UHCI
60 ioapic_irq 2 INTC 0x12
61 end
62 device pci 1d.3 on # USB UHCI
63 ioapic_irq 2 INTD 0x13
64 end
65 device pci 1d.7 on # USB2 EHCI
66 ioapic_irq 2 INTA 0x10
67 end
68 device pci 1e.0 on end # PCI bridge
Arthur Heymansb9d25892018-06-15 22:02:28 +020069 device pci 1e.2 off end # AC'97 Audio
70 device pci 1e.3 off end # AC'97 Modem
Arthur Heymans6390e522016-11-21 17:11:48 +010071
72 device pci 1f.0 on # LPC bridge
73 ioapic_irq 2 INTA 0x10
Arthur Heymans9677fbf2016-12-25 17:52:15 +010074 chip superio/winbond/w83627dhg
75 device pnp 2e.0 on # Floppy
76 io 0x60 = 0x3f0
77 irq 0x70 = 6
78 drq 0x74 = 2
79 end
80 device pnp 2e.1 on # Parallel port
81 io 0x60 = 0x378
82 irq 0x70 = 7
83 drq 0x74 = 3
84 end
85 device pnp 2e.2 on # COM1
86 io 0x60 = 0x3f8
87 irq 0x70 = 4
88 end
89 device pnp 2e.3 on # COM2
90 io 0x60 = 0x2f8
91 irq 0x70 = 3
92 end
93 device pnp 2e.5 on # Keyboard
94 io 0x60 = 0x60
95 io 0x62 = 0x64
96 irq 0x70 = 1 # Keyboard
97 irq 0x72 = 12 # Mouse
98 end
99 device pnp 2e.6 off end # SPI
100 device pnp 2e.7 on end # GPIO6
101 device pnp 2e.8 off end # WDTO# & PLED
Arthur Heymans42315682017-05-06 00:28:12 +0200102 device pnp 2e.9 off end # GPIO2
103 device pnp 2e.109 on # GPIO3
104 irq 0xf0 = 0xf3 # BSEL straps to output
105 irq 0xf2 = 0x08 # INVERT GPIO33
106 end
107 device pnp 2e.209 on # GPIO4
108 irq 0xf5 = 0xf8
109 end
110 device pnp 2e.309 on # GPIO5
111 irq 0xe0 = 0xde
112 end
Arthur Heymans9677fbf2016-12-25 17:52:15 +0100113 device pnp 2e.a on # ACPI
114 irq 0x70 = 0
Arthur Heymans42315682017-05-06 00:28:12 +0200115 irq 0xe4 = 0x10 # VSBGATE# to power dram during S3
Arthur Heymans9677fbf2016-12-25 17:52:15 +0100116 end
117 device pnp 2e.b on # HWM
118 io 0x60 = 0x290
119 irq 0x70 = 0
120 end
121 device pnp 2e.c on end # PECI, SST
Arthur Heymans6390e522016-11-21 17:11:48 +0100122 end
123 end
124 device pci 1f.1 on # IDE
125 ioapic_irq 2 INTB 0x11
126 end
127 device pci 1f.2 on # SATA
128 ioapic_irq 2 INTC 0x12
129 end
130 device pci 1f.3 on # SMBus
131 ioapic_irq 2 INTD 0x13
132 end
133 end
134 end
135end