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