blob: 713ac40d2fbcceca63139b6a19a4252eae127585 [file] [log] [blame]
Michael Büchlerba49d852020-05-22 15:35:10 +02001# SPDX-License-Identifier: GPL-2.0-or-later
2
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
Michael Büchlerba49d852020-05-22 15:35:10 +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
Michael Büchlerba49d852020-05-22 15:35:10 +020015 subsystemid 0x8086 0x0028 inherit
16 device pci 0.0 on end # Host Bridge
17 device pci 2.0 on end # Integrated graphics controller
18 device pci 2.1 on end # Integrated graphics controller 2
19 device pci 3.0 off end # ME
20 device pci 3.1 off end # ME
21 chip southbridge/intel/i82801jx # Southbridge
22 register "gpe0_en" = "0x40"
23
24 # Set AHCI mode.
25 register "sata_port_map" = "0x3f"
26 register "sata_clock_request" = "0"
27
28 # Enable PCIe ports 0,1 as slots.
29 register "pcie_slot_implemented" = "0x3"
30
31 # "Additional LPC IO decode ranges": used for SuperIO's
32 # Environment Controller on 0xa15/0xa16
33 register "gen1_dec" = "0x00fc0a01"
34
35 device pci 19.0 on end # GBE
36 device pci 1a.0 on end # USB
37 device pci 1a.1 on end # USB
38 device pci 1a.2 on end # USB
39 device pci 1a.7 on end # USB
40 device pci 1b.0 on end # Audio
41 device pci 1c.0 on end # PCIe 1
42 device pci 1c.1 on end # PCIe 2
43 device pci 1c.2 off end # PCIe 3
44 device pci 1c.3 off end # PCIe 4
45 device pci 1c.4 off end # PCIe 5
46 device pci 1c.5 off end # PCIe 6
47 device pci 1d.0 on end # USB
48 device pci 1d.1 on end # USB
49 device pci 1d.2 on end # USB
50 device pci 1d.7 on end # USB
51 device pci 1e.0 on end # PCI bridge
52 device pci 1f.0 on # LPC bridge
53 chip superio/ite/it8720f # Super I/O
54 register "ec.smbus_en" = "1"
55 register "ec.smbus_24mhz" = "1"
56 register "TMPIN1.mode" = "THERMAL_DIODE"
57 register "TMPIN2.mode" = "THERMAL_RESISTOR"
58 register "TMPIN3.mode" = "THERMAL_PECI"
59 register "TMPIN3.offset" = "100"
60 register "TMPIN3.min" = "0"
61 register "TMPIN3.max" = "100"
62
63 register "FAN1.mode" = "FAN_SMART_AUTOMATIC" # CPU fan
64 register "FAN1.smart.tmpin" = "3"
65 register "FAN1.smart.tmp_off" = "0"
66 register "FAN1.smart.tmp_start" = "50"
67 register "FAN1.smart.tmp_full" = "90"
68 register "FAN1.smart.tmp_delta" = "3"
69 register "FAN1.smart.full_lmt" = "1"
70 register "FAN1.smart.smoothing" = "0"
71 register "FAN1.smart.pwm_start" = "30"
72 register "FAN1.smart.slope" = "0x0d"
73 register "FAN2.mode" = "FAN_SMART_AUTOMATIC" # System fan
74 register "FAN2.smart.tmpin" = "2"
75 register "FAN2.smart.tmp_off" = "0"
76 register "FAN2.smart.tmp_start" = "40"
77 register "FAN2.smart.tmp_full" = "90"
78 register "FAN2.smart.tmp_delta" = "2"
79 register "FAN2.smart.full_lmt" = "0"
80 register "FAN2.smart.smoothing" = "0"
81 register "FAN2.smart.pwm_start" = "48"
82 register "FAN2.smart.slope" = "0x20"
83 register "FAN3.mode" = "FAN_MODE_OFF" # Not connected
84
85 register "ec.vin_mask" = "VIN_ALL"
86
87 device pnp 2e.0 off end # Floppy
88 device pnp 2e.1 off end # COM 1
89 device pnp 2e.2 off end # COM 2
90 device pnp 2e.3 off end # Parallel port
91 device pnp 2e.4 on # Environment controller
92 io 0x60 = 0xa10
93 io 0x62 = 0xa00
94 irq 0x70 = 0x00
95 irq 0xf0 = 0x00
96 irq 0xf1 = 0x00
97 irq 0xf2 = 0x00
98 irq 0xf3 = 0x00
99 irq 0xf4 = 0x60
100 irq 0xf5 = 0x00
101 irq 0xf6 = 0x00
102 end
103 device pnp 2e.5 on # Keyboard
104 io 0x60 = 0x060
105 irq 0x70 = 0x1
106 io 0x62 = 0x064
107 irq 0xf0 = 0x00
108 end
109 device pnp 2e.6 on # Mouse
110 irq 0x70 = 0x0c
111 irq 0xf0 = 0x00
112 end
Elyes HAOUASf4f21322021-02-09 14:45:50 +0100113 device pnp 2e.7 on # GPIO
Michael Büchlerba49d852020-05-22 15:35:10 +0200114 io 0x60 = 0x000
115 io 0x62 = 0xa20
116 io 0x64 = 0xa30
117 irq 0xc0 = 0x01 # Simple IO Set 1
118 irq 0xc1 = 0x0c # Simple IO Set 2
119 irq 0xc2 = 0x70 # Simple IO Set 3
120 irq 0xc3 = 0x00 # Simple IO Set 4
121 irq 0xc8 = 0x01 # Simple IO Set 1 Output
122 irq 0xc9 = 0x0c # Simple IO Set 2 Output
123 irq 0xca = 0x00 # Simple IO Set 3 Output
124 irq 0xcb = 0x00 # Simple IO Set 4 Output
125 irq 0xf0 = 0x00
126 irq 0xf1 = 0x00
127 irq 0xf2 = 0x00
128 irq 0xf3 = 0x00
129 irq 0xf4 = 0x00
130 irq 0xf5 = 0x00
131 irq 0xf6 = 0x00
132 irq 0xf7 = 0x00
133 irq 0xf8 = 0x12
134 irq 0xf9 = 0x02
135 irq 0xfa = 0x13
136 irq 0xfb = 0x02
137 #irq 0xfc = 0xef # VID Input
138 irq 0xfd = 0x00
139 irq 0xfe = 0x00
140 end
141 device pnp 2e.a off end # CIR
142 end
143 end
144 device pci 1f.2 on end # SATA (IDE: port 0-3, AHCI/RAID: 0-5)
Elyes HAOUASf4f21322021-02-09 14:45:50 +0100145 device pci 1f.3 on # SMBus
Michael Büchlerba49d852020-05-22 15:35:10 +0200146 chip drivers/i2c/ck505 # IDT CV194
147 register "mask" = "{ 0xff, 0xff, 0xff, 0x00,
148 0xff, 0x00, 0x00, 0x00,
149 0x00, 0xff, 0xff, 0xff,
150 0x00, 0xff }"
151 register "regs" = "{ 0x57, 0xd9, 0xfe, 0xff,
152 0xff, 0x00, 0x00, 0x00,
153 0x00, 0x24, 0x7d, 0x96,
154 0x00, 0x9d }"
155 device i2c 69 on end
156 end
157 end
158 device pci 1f.4 off end
159 device pci 1f.5 off end # SATA 2 (for port 4-5 in IDE mode)
160 device pci 1f.6 off end # Thermal Subsystem
161 end
162 end
163end