blob: 06617f6aae1fb5e115e352aa4c0fbf693040fe83 [file] [log] [blame]
Elyes HAOUAS674ad922020-05-09 13:21:47 +02001# SPDX-License-Identifier: GPL-2.0-or-later
Arthur Heymansfbc508f2017-06-01 14:50:07 +02002
3chip northbridge/intel/x4x # Northbridge
Arthur Heymans1eecb8c2022-11-07 10:04:56 +01004 device cpu_cluster 0 on
5 ops x4x_cpu_bus_ops # APIC cluster
Arthur Heymansfbc508f2017-06-01 14:50:07 +02006 chip cpu/intel/socket_LGA775
7 device lapic 0 on end
8 end
Arthur Heymansfbc508f2017-06-01 14:50:07 +02009 end
Arthur Heymans1eecb8c2022-11-07 10:04:56 +010010 device domain 0 on
11 ops x4x_pci_domain_ops # PCI domain
Arthur Heymansfbc508f2017-06-01 14:50:07 +020012 subsystemid 0x1458 0x5000 inherit
13 device pci 0.0 on # Host Bridge
14 subsystemid 0x8086 0x5756
15 end
16 device pci 1.0 on end # PEG
17 device pci 2.0 on # Integrated graphics controller
18 subsystemid 0x8086 0x5756
19 end
20 chip southbridge/intel/i82801gx # Southbridge
21 register "pirqa_routing" = "0x0b"
22 register "pirqb_routing" = "0x0b"
23 register "pirqc_routing" = "0x0b"
24 register "pirqd_routing" = "0x0b"
25 register "pirqe_routing" = "0x80"
26 register "pirqf_routing" = "0x80"
27 register "pirqg_routing" = "0x80"
28 register "pirqh_routing" = "0x0b"
29 # GPI routing
30 # 0 No effect (default)
31 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
32 # 2 SCI (if corresponding GPIO_EN bit is also set)
33 register "gpi0_routing" = "2"
34 register "gpi1_routing" = "2"
35 register "gpi2_routing" = "2"
36 register "gpi3_routing" = "2"
37 register "gpi4_routing" = "2"
38 register "gpi5_routing" = "2"
39 register "gpi6_routing" = "2"
40 register "gpi7_routing" = "2"
41 register "gpi8_routing" = "2"
42 register "gpi9_routing" = "2"
43 register "gpi10_routing" = "2"
44 register "gpi11_routing" = "2"
45 register "gpi12_routing" = "2"
46 register "gpi13_routing" = "2"
47 register "gpi14_routing" = "2"
48 register "gpi15_routing" = "2"
49
Elyes Haouasdc3beea2022-11-29 17:36:51 +010050 register "ide_enable_primary" = "true"
Arthur Heymansfbc508f2017-06-01 14:50:07 +020051 register "gpe0_en" = "0x440"
52
Arthur Heymansfecf7772019-11-09 14:19:04 +010053 register "gen1_dec" = "0x00fc0a01" # HWM
54
Arthur Heymansfbc508f2017-06-01 14:50:07 +020055 device pci 1b.0 on # Audio
56 subsystemid 0x8086 0x5756
57 end
58 device pci 1c.0 on end # PCIe 1
59 device pci 1c.1 on # PCIe 2: NIC
60 device pci 00.0 on
61 subsystemid 0x8086 0x5756
62 end
63 end
64 device pci 1c.2 off end # PCIe 3
65 device pci 1c.3 off end # PCIe 4
Arthur Heymansfbc508f2017-06-01 14:50:07 +020066 device pci 1d.0 on # USB
67 subsystemid 0x8086 0x5756
68 end
69 device pci 1d.1 on # USB
70 subsystemid 0x8086 0x5756
71 end
72 device pci 1d.2 on # USB
73 subsystemid 0x8086 0x5756
74 end
75 device pci 1d.3 on # USB
76 subsystemid 0x8086 0x5756
77 end
78 device pci 1d.7 on # USB
79 subsystemid 0x8086 0x5756
80 end
81 device pci 1e.0 on end # PCI bridge
Maulik V Vaghela2aa13ef2018-05-26 15:32:28 +053082 device pci 1e.2 off end # AC'97 Audio Controller
83 device pci 1e.3 off end # AC'97 Modem Controller
Arthur Heymansfbc508f2017-06-01 14:50:07 +020084 device pci 1f.0 on # ISA bridge
85 subsystemid 0x8086 0x5756
86 chip superio/winbond/w83627dhg
87 device pnp 2e.0 on # Floppy
88 # global
89 irq 0x2c = 0x13
90 #floppy
91 io 0x60 = 0x3f0
92 irq 0x70 = 0x06
93 drq 0x74 = 0x02
94 end
95 device pnp 2e.1 on # Parallel port
96 # parallel port
97 io 0x60 = 0x378
98 irq 0x70 = 5
99 drq 0x74 = 3
100 end
101 device pnp 2e.2 on # COM1
102 io 0x60 = 0x3f8
103 irq 0x70 = 4
104 end
105 device pnp 2e.3 on # COM2, IR
106 io 0x60 = 0x2f8
107 irq 0x70 = 3
108 end
109 device pnp 2e.5 on # Keyboard, mouse
110 io 0x60 = 0x60
111 io 0x62 = 0x64
112 irq 0x70 = 1
113 irq 0x72 = 12
114 end
115 device pnp 2e.6 off end # SPI
116 device pnp 2e.7 on end # GPIO6 (all input)
117 device pnp 2e.8 off end # WDT0#, PLED
118 device pnp 2e.9 off end # GPIO2
119 device pnp 2e.109 off end # GPIO3
120 device pnp 2e.209 off end # GPIO4
121 device pnp 2e.309 on # GPIO5
122 irq 0xe0 = 0xdf
123 irq 0xf3 = 0x09 # RSVD SUSLED settings
124 end
125 device pnp 2e.a on # ACPI
126 irq 0xe0 = 0x10
127 irq 0xe1 = 0x0e
128 irq 0xe4 = 0x10 # Power dram during s3
129 irq 0xe6 = 0x8c
130 end
Martin Roth50863da2021-10-01 14:37:30 -0600131 device pnp 2e.b on # HWM, front panel LED
Arthur Heymansfbc508f2017-06-01 14:50:07 +0200132 io 0x60 = 0xa00
133 irq 0x70 = 0
134 end
135 device pnp 2e.c on # PECI, SST
136 irq 0xe0 = 0x11
137 irq 0xe1 = 0x59
138 end
139 end
140 end
Elyes HAOUAScd5f2b52018-05-28 13:35:35 +0200141 device pci 1f.1 off end # PATA/IDE
Arthur Heymansfbc508f2017-06-01 14:50:07 +0200142 device pci 1f.2 on # SATA
143 subsystemid 0x8086 0x5756
144 end
145 device pci 1f.3 on # SMbus
146 subsystemid 0x8086 0x5756
Angel Ponsa5c829d2021-05-10 13:00:35 +0200147 chip drivers/i2c/ck505
Arthur Heymansfbc508f2017-06-01 14:50:07 +0200148 register "mask" = "{ 0xff, 0xff, 0xff,
149 0xff, 0xff, 0xff, 0xff, 0xff,
150 0xff, 0xff, 0xff, 0xff, 0xff,
151 0xff, 0xff, 0xff, 0xff, 0xff,
152 0xff, 0xff, 0xff }"
153 register "regs" = "{ 0x41, 0x99, 0xff,
154 0xff, 0xff, 0x00, 0x00, 0x06,
155 0x03, 0x65, 0x83, 0x80, 0x15,
156 0xc0, 0x09, 0x00, 0x00, 0x00,
157 0x06, 0x00, 0xea }"
158 device i2c 69 on end
159 end
Arthur Heymansfbc508f2017-06-01 14:50:07 +0200160 end
161 end
162 end
163end