blob: d17d3735780fff42562c4b91fc53cbd2a74fb1f1 [file] [log] [blame]
Nico Huberefe1fed2013-04-29 18:00:57 +02001chip northbridge/intel/sandybridge
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01002 # IGD Displays
Nico Huberb0b25c82020-03-21 20:35:12 +01003 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
Nico Huberefe1fed2013-04-29 18:00:57 +02004
Keith Hui45e4ab42023-07-22 12:49:05 -04005 register "spd_addresses" = "{0x50, 0, 0x52, 0}"
Keith Hui7039edd2023-07-21 10:12:05 -04006 register "max_mem_clock_mhz" = "800"
7 register "ec_present" = "1"
8
9 register "usb3.hs_port_switch_mask" = "0xf"
10 register "usb3.mode" = "3"
11 register "usb3.preboot_support" = "1"
12 register "usb3.xhci_streams" = "1"
13 register "usb_port_config" = "{
14 { 1, 0, 0x0040 },
15 { 1, 0, 0x0040 },
16 { 1, 0, 0x0040 },
17 { 1, 0, 0x0040 },
18 { 1, 0, 0x0040 },
19 { 1, 0, 0x0040 },
20 { 1, 0, 0x0040 },
21 { 1, 0, 0x0040 },
22 { 1, 4, 0x0040 },
23 { 1, 4, 0x0040 },
24 { 1, 4, 0x0040 },
25 { 1, 4, 0x0040 },
26 { 1, 4, 0x0040 },
27 { 1, 4, 0x0040 }, }"
28
Arthur Heymanscdb26fd2021-11-15 20:12:02 +010029 chip cpu/intel/model_206ax
30 device cpu_cluster 0 on end
Nico Huberefe1fed2013-04-29 18:00:57 +020031
Arthur Heymanscdb26fd2021-11-15 20:12:02 +010032 register "acpi_c2" = "CPU_ACPI_C6"
33 register "acpi_c3" = "CPU_ACPI_DISABLED"
Nico Huberefe1fed2013-04-29 18:00:57 +020034 end
35
36 device domain 0 on
Arthur Heymansb5df65a2022-11-12 14:51:49 +010037 device ref host_bridge on end # host bridge
38 device ref peg10 on end # PCIe Bridge x16
39 device ref igd on end # vga controller
Nico Huberefe1fed2013-04-29 18:00:57 +020040
41 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
Nico Huberefe1fed2013-04-29 18:00:57 +020042 # Enable all SATA ports 0-5
43 register "sata_port_map" = "0x3f"
44 # Set max SATA speed to 6.0 Gb/s (should be the default, anyway)
45 register "sata_interface_speed_support" = "0x3"
46
47 # TODO: Enable generic LPC decodes...
48 register "gen1_dec" = "0x001c02e1"
49 #register "gen2_dec" = "0x00000000"
50 #register "gen3_dec" = "0x00000000"
51 #register "gen4_dec" = "0x00000000"
52
53 # Disable root port coalescing
Angel Ponsaf4bd562021-12-28 13:05:56 +010054 register "pcie_port_coalesce" = "false"
Nico Huberefe1fed2013-04-29 18:00:57 +020055
Nico Huberee09d9c2015-08-19 15:46:13 +020056 register "xhci_switchable_ports" = "0x0f"
57 register "superspeed_capable_ports" = "0x0f"
Keith Hui51a57eb2024-02-05 16:44:38 -050058 register "usb_port_config" = "{
59 { 1, 0, 0 }, /* P0: lower left USB 3.0 (OC0) */
60 { 1, 0, 0 }, /* P1: upper left USB 3.0 (OC0) */
61 { 1, 0, 0 }, /* P2: lower right USB 3.0 (OC0) */
62 { 1, 0, 0 }, /* P3: upper right USB 3.0 (OC0) */
63 { 1, 0, 0 }, /* P4: lower USB 2.0 (OC0) */
64 { 1, 0, 0 }, /* P5: upper USB 2.0 (OC0) */
65 { 1, 0, 0 }, /* P6: front panel USB 2.0 (OC0) */
66 { 1, 0, 0 }, /* P7: front panel USB 2.0 (OC0) */
67 { 1, 0, 4 }, /* P8: internal USB 2.0 (OC4) */
68 { 1, 0, 4 }, /* P9: internal USB 2.0 (OC4) */
69 { 1, 0, 4 }, /* P10: internal USB 2.0 (OC4) */
70 { 1, 0, 4 }, /* P11: internal USB 2.0 (OC4) */
71 { 1, 0, 4 }, /* P12: internal USB 2.0 (OC4) */
72 { 1, 0, 4 }, /* P13: internal USB 2.0 (OC4) */
73 }"
Nico Huberee09d9c2015-08-19 15:46:13 +020074
Arthur Heymansb5df65a2022-11-12 14:51:49 +010075 device ref xhci on end # USB 3.0 Controller
76 device ref mei1 on end # Management Engine Interface 1
77 device ref mei2 off end # Management Engine Interface 2
78 device ref me_ide_r off end # Management Engine IDE-R
79 device ref me_kt off end # Management Engine KT
80 device ref gbe on end # Intel Gigabit Ethernet
81 device ref ehci2 on end # USB2 EHCI #2
82 device ref hda on end # High Definition Audio
Nico Huberefe1fed2013-04-29 18:00:57 +020083
84 # Disabling 1c.0 might break IRQ settings as it enables port coalescing
85 # There are two mini PCIe x1 sockets, so one PCIe port is unrouted
Arthur Heymansb5df65a2022-11-12 14:51:49 +010086 device ref pcie_rp1 on end # PCIe Port #1 mini PCIe x1?
87 device ref pcie_rp2 on end # PCIe Port #2 mini PCIe x1?
88 device ref pcie_rp3 on end # PCIe Port #3 second Ethernet NIC
89 device ref pcie_rp4 on end # PCIe Port #4 third Ethernet NIC
90 device ref pcie_rp5 on end # PCIe Port #5 first Ethernet PHY
91 device ref pcie_rp6 on end # PCIe Port #6 FireWire
92 device ref pcie_rp7 on end # PCIe Port #7 PCIe x1
93 device ref pcie_rp8 on end # PCIe Port #8 mini PCIe x1?
Nico Huberefe1fed2013-04-29 18:00:57 +020094
Arthur Heymansb5df65a2022-11-12 14:51:49 +010095 device ref ehci1 on end # USB2 EHCI #1
96 device ref pci_bridge off end # PCI bridge
97 device ref lpc on #LPC bridge
Nico Huberefe1fed2013-04-29 18:00:57 +020098 chip superio/winbond/w83627dhg
99 device pnp 2e.0 off # Floppy
100 end
101 device pnp 2e.1 off # Parallel Port
102 end
103 device pnp 2e.2 on # Com1
104 io 0x60 = 0x3f8
105 irq 0x70 = 4
106 end
107 device pnp 2e.3 on # Com2
108 io 0x60 = 0x2f8
109 irq 0x70 = 3
110 end
111 device pnp 2e.5 off # Keyboard
112 end
113 device pnp 2e.6 off # SPI
114 end
115 device pnp 2e.307 off # GPIO 1
116 end
117 device pnp 2e.8 off # WDTO#, PLED
118 end
119 device pnp 2e.009 on # GPIO2 -- original firmware sets this on
120 end
121 device pnp 2e.109 on # GPIO3 -- original firmware sets this on
122 end
123 device pnp 2e.209 off # GPIO4
124 end
125 device pnp 2e.309 off # GPIO5
126 end
127 device pnp 2e.a off # ACPI
128 end
129 device pnp 2e.b off # HWM
130 end
131 device pnp 2e.c off # PECI, SST
132 end
133 end #superio/winbond/w83627dhg
134 chip ec/kontron/it8516e
135 # Set CPU Fan to 50°C, System Fan to 75%
136 register "default_fan_mode" = "{ IT8516E_MODE_THERMAL, IT8516E_MODE_PWM }"
137 register "default_fan_target" = "{ 50, 75 }"
138
139 # TODO: Check status when Linux runs
140 device pnp 20e.1 on # Com3
141 io 0x60 = 0x03e8
142 irq 0x70 = 4
143 end
144 device pnp 20e.2 on # Com4
145 io 0x60 = 0x02e8
146 irq 0x70 = 3
147 end
148 device pnp 20e.4 off # System Wakeup
149 end
150 device pnp 20e.5 on # Mouse
151 irq 0x70 = 12
152 end
153 device pnp 20e.6 on # Keyboard
154 io 0x60 = 0x0060
155 io 0x62 = 0x0064
156 irq 0x70 = 1
157 end
158 device pnp 20e.f off # Shared Memory
159 end
160 device pnp 20e.10 off # BRAM / RTC
161 end
162 device pnp 20e.11 on # PM channel 1
163 io 0x60 = 0x0062
164 io 0x62 = 0x0066
165 irq 0x70 = 0
166 end
167 device pnp 20e.12 on # PM channel 2
168 io 0x60 = 0x020c
169 io 0x62 = 0x020d
170 irq 0x70 = 0
171 end
172 device pnp 20e.17 off # PM channel 3
173 end
174 end #ec/kontron/it8516e
175 # TODO: TPM on 4e
176 end # LPC bridge
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100177 device ref sata1 on end # SATA Controller 1
178 device ref smbus on end # SMBus
179 device ref sata2 off end # SATA Controller 2
180 device ref thermal off end # Thermal
Nico Huberefe1fed2013-04-29 18:00:57 +0200181 end
182 end
183end