blob: d2168630ba17ce864db7ca972cc93401cdf95efe [file] [log] [blame]
Elyes HAOUAS674ad922020-05-09 13:21:47 +02001# SPDX-License-Identifier: GPL-2.0-or-later
Damien Zammitcbe7a8e2015-08-19 15:23:32 +10002
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 Pons32f2ccc2020-01-01 18:14:25 +01006 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 Pons32f2ccc2020-01-01 18:14:25 +010015 subsystemid 0x1458 0x5000 inherit
16 device pci 0.0 on # Host Bridge
17 subsystemid 0x1458 0x5000
18 end
Arthur Heymansefbf6382020-05-29 16:08:28 +020019 device pci 1.0 on end # PEG
Angel Pons32f2ccc2020-01-01 18:14:25 +010020 device pci 2.0 on # Integrated graphics controller
21 subsystemid 0x1458 0xd000
22 end
23 device pci 2.1 on # Integrated graphics controller 2
24 subsystemid 0x1458 0xd001
25 end
Angel Pons32f2ccc2020-01-01 18:14:25 +010026 chip southbridge/intel/i82801gx # Southbridge
27 register "pirqa_routing" = "0x0b"
28 register "pirqb_routing" = "0x0b"
29 register "pirqc_routing" = "0x0b"
30 register "pirqd_routing" = "0x0b"
31 register "pirqe_routing" = "0x0b"
32 register "pirqf_routing" = "0x0b"
33 register "pirqg_routing" = "0x0b"
34 register "pirqh_routing" = "0x0b"
35 register "ide_enable_primary" = "0x1"
36 register "ide_enable_secondary" = "0x0"
37 register "sata_ports_implemented" = "0x3"
38 register "gpe0_en" = "0x40"
Damien Zammitcbe7a8e2015-08-19 15:23:32 +100039
Angel Pons32f2ccc2020-01-01 18:14:25 +010040 register "gen2_dec" = "0x007c0291" # HWM
Arthur Heymansfecf7772019-11-09 14:19:04 +010041
Angel Pons32f2ccc2020-01-01 18:14:25 +010042 device pci 1b.0 on # Audio
43 subsystemid 0x1458 0xa002
44 end
45 device pci 1c.0 on end # PCIe 1
46 device pci 1c.1 on # PCIe 2 (NIC)
47 device pci 00.0 on # PCI 10ec:8168
48 subsystemid 0x1458 0xe000
49 end
50 end
51 device pci 1c.2 off end # PCIe 3
52 device pci 1c.3 off end # PCIe 4
53 device pci 1d.0 on # USB
54 subsystemid 0x1458 0x5004
55 end
56 device pci 1d.1 on # USB
57 subsystemid 0x1458 0x5004
58 end
59 device pci 1d.2 on # USB
60 subsystemid 0x1458 0x5004
61 end
62 device pci 1d.3 on # USB
63 subsystemid 0x1458 0x5004
64 end
65 device pci 1d.7 on # USB
66 subsystemid 0x1458 0x5006
67 end
68 device pci 1e.0 on end # PCI bridge
69 device pci 1e.2 off end # AC'97 Audio
70 device pci 1e.3 off end # AC'97 Modem
71 device pci 1f.0 on # ISA bridge
72 subsystemid 0x1458 0x5001
73 chip superio/ite/it8718f # Super I/O
74 register "TMPIN1.mode" = "THERMAL_RESISTOR"
75 register "TMPIN2.mode" = "THERMAL_RESISTOR"
76 register "TMPIN3.mode" = "THERMAL_DIODE"
77 register "TMPIN3.offset" = "0"
78 register "ec.vin_mask" = "VIN7 | VIN4 | VIN3 | VIN2 | VIN1 | VIN0"
Damien Zammite808fb22016-11-25 22:10:19 +110079
Angel Pons32f2ccc2020-01-01 18:14:25 +010080 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
81 register "FAN1.smart.tmpin" = "3"
82 register "FAN1.smart.tmp_off" = "25"
83 register "FAN1.smart.tmp_start" = "30"
84 register "FAN1.smart.tmp_full" = "65"
85 register "FAN1.smart.tmp_delta" = "3"
86 register "FAN1.smart.smoothing" = "1"
87 register "FAN1.smart.pwm_start" = "0"
88 register "FAN1.smart.slope" = "10"
Damien Zammite808fb22016-11-25 22:10:19 +110089
Angel Pons32f2ccc2020-01-01 18:14:25 +010090 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
91 register "FAN2.smart.tmpin" = "3"
92 register "FAN2.smart.tmp_off" = "25"
93 register "FAN2.smart.tmp_start" = "30"
94 register "FAN2.smart.tmp_full" = "65"
95 register "FAN2.smart.tmp_delta" = "3"
96 register "FAN2.smart.smoothing" = "1"
97 register "FAN2.smart.pwm_start" = "0"
98 register "FAN2.smart.slope" = "10"
Damien Zammite808fb22016-11-25 22:10:19 +110099
Angel Pons32f2ccc2020-01-01 18:14:25 +0100100 device pnp 2e.0 on # Floppy
101 io 0x60 = 0x3f0
102 irq 0x70 = 6
103 drq 0x74 = 2
104 irq 0xf0 = 0x00
105 irq 0xf1 = 0x80
106 end
107 device pnp 2e.1 on # COM1
108 io 0x60 = 0x3f8
109 irq 0x70 = 4
110 end
111 device pnp 2e.2 on # COM2
112 io 0x60 = 0x2f8
113 irq 0x70 = 3
114 end
115 device pnp 2e.3 on # Parallel port
116 io 0x60 = 0x378
117 irq 0x70 = 7
118 io 0x62 = 0x000
119 drq 0x74 = 4
120 irq 0xf0 = 0x08
121 end
122 device pnp 2e.4 on # Environment controller
123 io 0x60 = 0x290
124 irq 0x70 = 0x00
125 io 0x62 = 0x000
126 irq 0xf0 = 0x80
127 irq 0xf1 = 0x00
128 irq 0xf2 = 0x0a
129 irq 0xf3 = 0x80
130 irq 0xf4 = 0x00
131 irq 0xf5 = 0x00
132 irq 0xf6 = 0xff
133 end
134 device pnp 2e.5 on # Keyboard
135 io 0x60 = 0x60
136 irq 0x70 = 1
137 io 0x62 = 0x64
138 irq 0xf0 = 0x48
139 end
140 device pnp 2e.6 on # Mouse
141 irq 0x70 = 12
142 irq 0x71 = 2
143 irq 0xf0 = 0
144 end
145 end
146 end
147 device pci 1f.1 on # PATA/IDE
148 subsystemid 0x1458 0xb004
149 end
150 device pci 1f.2 on # SATA
151 subsystemid 0x1458 0xb005
152 end
153 device pci 1f.3 on # SMbus
154 subsystemid 0x1458 0x5001
155 end
156 end
157 end
Damien Zammitcbe7a8e2015-08-19 15:23:32 +1000158end