blob: 4237041af7f13dceeef36fa21e54f321abe8c39b [file] [log] [blame]
Elyes HAOUAS674ad922020-05-09 13:21:47 +02001# SPDX-License-Identifier: GPL-2.0-or-later
Angel Pons884dfb62018-09-18 12:09:23 +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
Angel Pons884dfb62018-09-18 12:09:23 +02006 chip cpu/intel/socket_LGA775
7 device lapic 0 on end
8 end
9 chip cpu/intel/model_1067x # CPU
10 device lapic 0xACAC off end
11 end
12 end
Arthur Heymans1eecb8c2022-11-07 10:04:56 +010013 device domain 0 on
14 ops x4x_pci_domain_ops # PCI domain
Angel Pons884dfb62018-09-18 12:09:23 +020015 subsystemid 0x1458 0x5000 inherit
16 device pci 0.0 on # Host Bridge
17 subsystemid 0x1849 0x2e30
18 end
19 device pci 1.0 on end # PEG
20
21 device pci 2.0 on # Integrated graphics controller
22 subsystemid 0x1849 0x2e32
23 end
Angel Pons884dfb62018-09-18 12:09:23 +020024 chip southbridge/intel/i82801gx # Southbridge
25 register "pirqa_routing" = "0x0b"
26 register "pirqb_routing" = "0x0b"
27 register "pirqc_routing" = "0x0b"
28 register "pirqd_routing" = "0x0b"
29 register "pirqe_routing" = "0x80"
30 register "pirqf_routing" = "0x80"
31 register "pirqg_routing" = "0x80"
32 register "pirqh_routing" = "0x0b"
33
Elyes Haouasdc3beea2022-11-29 17:36:51 +010034 register "ide_enable_primary" = "true"
Angel Pons884dfb62018-09-18 12:09:23 +020035 register "sata_ports_implemented" = "0x3"
36 register "gpe0_en" = "0x440"
37
Arthur Heymansfecf7772019-11-09 14:19:04 +010038 register "gen1_dec" = "0x000c0291" # Superio HWM
39
Angel Pons884dfb62018-09-18 12:09:23 +020040 device pci 1b.0 on # Audio
41 subsystemid 0x1849 0x3662
42 end
43 device pci 1c.0 on # PCIe 1
44 subsystemid 0x1849 0x27d0
45 end
46 device pci 1c.1 on # PCIe 2
47 subsystemid 0x1849 0x27d2
48 end
49 device pci 1c.2 off end # PCIe 3
50 device pci 1c.3 off end # PCIe 4
Angel Pons884dfb62018-09-18 12:09:23 +020051 device pci 1d.0 on # USB
52 subsystemid 0x1849 0x27c8
53 end
54 device pci 1d.1 on # USB
55 subsystemid 0x1849 0x27c9
56 end
57 device pci 1d.2 on # USB
58 subsystemid 0x1849 0x27ca
59 end
60 device pci 1d.3 on # USB
61 subsystemid 0x1849 0x27cb
62 end
63 device pci 1d.7 on # USB
64 subsystemid 0x1849 0x27cc
65 end
66 device pci 1e.0 on end # PCI bridge
67 device pci 1e.2 off end # AC'97 Audio
68 device pci 1e.3 off end # AC'97 Modem
69 device pci 1f.0 on # LPC bridge
70 subsystemid 0x1849 0x27b8
71 chip superio/winbond/w83627dhg
72 device pnp 2e.0 on # Floppy
73 io 0x60 = 0x3f0
Angel Ponse16692e2020-08-03 12:54:48 +020074 irq 0x70 = 6
75 drq 0x74 = 2
Angel Pons884dfb62018-09-18 12:09:23 +020076 end
77 device pnp 2e.1 on # Parallel port
78 # global
79 irq 0x28 = 0x70
80 irq 0x2c = 0xd2
81 # 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 off end # COM2
91 device pnp 2e.5 on # Keyboard & Mouse
92 io 0x60 = 0x60
93 io 0x62 = 0x64
94 irq 0x70 = 1
95 irq 0x72 = 0x0c
96 irq 0xf0 = 0x83
97 end
98 device pnp 2e.6 off end # SPI
99 device pnp 2e.7 off end # GPIO6
100 device pnp 2e.8 off end # WDT0#, PLED
Elyes HAOUAS967b84d2018-10-09 22:33:11 +0200101 device pnp 2e.9 on end # GPIO2
Angel Pons884dfb62018-09-18 12:09:23 +0200102 device pnp 2e.109 on # GPIO3
103 irq 0xfe = 0x07
104 end
105 device pnp 2e.209 on # GPIO4
106 irq 0xf4 = 0x74
107 end
108 device pnp 2e.309 off end # GPIO5
109 device pnp 2e.a on # ACPI
110 irq 0xe4 = 0x10 # Power dram during s3
111 end
112 device pnp 2e.b on # HWM, front panel LED
113 io 0x60 = 0x290
114 irq 0x70 = 0
115 end
116 device pnp 2e.c off end # PECI, SST
117 end
118 end
119 device pci 1f.1 on # PATA/IDE
120 subsystemid 0x1849 0x27df
121 end
122 device pci 1f.2 on # SATA
123 subsystemid 0x1849 0x27c0
124 end
125 device pci 1f.3 on # SMbus
126 subsystemid 0x1849 0x27da
127 end
Angel Pons884dfb62018-09-18 12:09:23 +0200128 end
129 end
130end