blob: a03562842c659a9d175072b4bec0c9f3df6251be [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"
58
Arthur Heymansb5df65a2022-11-12 14:51:49 +010059 device ref xhci on end # USB 3.0 Controller
60 device ref mei1 on end # Management Engine Interface 1
61 device ref mei2 off end # Management Engine Interface 2
62 device ref me_ide_r off end # Management Engine IDE-R
63 device ref me_kt off end # Management Engine KT
64 device ref gbe on end # Intel Gigabit Ethernet
65 device ref ehci2 on end # USB2 EHCI #2
66 device ref hda on end # High Definition Audio
Nico Huberefe1fed2013-04-29 18:00:57 +020067
68 # Disabling 1c.0 might break IRQ settings as it enables port coalescing
69 # There are two mini PCIe x1 sockets, so one PCIe port is unrouted
Arthur Heymansb5df65a2022-11-12 14:51:49 +010070 device ref pcie_rp1 on end # PCIe Port #1 mini PCIe x1?
71 device ref pcie_rp2 on end # PCIe Port #2 mini PCIe x1?
72 device ref pcie_rp3 on end # PCIe Port #3 second Ethernet NIC
73 device ref pcie_rp4 on end # PCIe Port #4 third Ethernet NIC
74 device ref pcie_rp5 on end # PCIe Port #5 first Ethernet PHY
75 device ref pcie_rp6 on end # PCIe Port #6 FireWire
76 device ref pcie_rp7 on end # PCIe Port #7 PCIe x1
77 device ref pcie_rp8 on end # PCIe Port #8 mini PCIe x1?
Nico Huberefe1fed2013-04-29 18:00:57 +020078
Arthur Heymansb5df65a2022-11-12 14:51:49 +010079 device ref ehci1 on end # USB2 EHCI #1
80 device ref pci_bridge off end # PCI bridge
81 device ref lpc on #LPC bridge
Nico Huberefe1fed2013-04-29 18:00:57 +020082 chip superio/winbond/w83627dhg
83 device pnp 2e.0 off # Floppy
84 end
85 device pnp 2e.1 off # Parallel Port
86 end
87 device pnp 2e.2 on # Com1
88 io 0x60 = 0x3f8
89 irq 0x70 = 4
90 end
91 device pnp 2e.3 on # Com2
92 io 0x60 = 0x2f8
93 irq 0x70 = 3
94 end
95 device pnp 2e.5 off # Keyboard
96 end
97 device pnp 2e.6 off # SPI
98 end
99 device pnp 2e.307 off # GPIO 1
100 end
101 device pnp 2e.8 off # WDTO#, PLED
102 end
103 device pnp 2e.009 on # GPIO2 -- original firmware sets this on
104 end
105 device pnp 2e.109 on # GPIO3 -- original firmware sets this on
106 end
107 device pnp 2e.209 off # GPIO4
108 end
109 device pnp 2e.309 off # GPIO5
110 end
111 device pnp 2e.a off # ACPI
112 end
113 device pnp 2e.b off # HWM
114 end
115 device pnp 2e.c off # PECI, SST
116 end
117 end #superio/winbond/w83627dhg
118 chip ec/kontron/it8516e
119 # Set CPU Fan to 50°C, System Fan to 75%
120 register "default_fan_mode" = "{ IT8516E_MODE_THERMAL, IT8516E_MODE_PWM }"
121 register "default_fan_target" = "{ 50, 75 }"
122
123 # TODO: Check status when Linux runs
124 device pnp 20e.1 on # Com3
125 io 0x60 = 0x03e8
126 irq 0x70 = 4
127 end
128 device pnp 20e.2 on # Com4
129 io 0x60 = 0x02e8
130 irq 0x70 = 3
131 end
132 device pnp 20e.4 off # System Wakeup
133 end
134 device pnp 20e.5 on # Mouse
135 irq 0x70 = 12
136 end
137 device pnp 20e.6 on # Keyboard
138 io 0x60 = 0x0060
139 io 0x62 = 0x0064
140 irq 0x70 = 1
141 end
142 device pnp 20e.f off # Shared Memory
143 end
144 device pnp 20e.10 off # BRAM / RTC
145 end
146 device pnp 20e.11 on # PM channel 1
147 io 0x60 = 0x0062
148 io 0x62 = 0x0066
149 irq 0x70 = 0
150 end
151 device pnp 20e.12 on # PM channel 2
152 io 0x60 = 0x020c
153 io 0x62 = 0x020d
154 irq 0x70 = 0
155 end
156 device pnp 20e.17 off # PM channel 3
157 end
158 end #ec/kontron/it8516e
159 # TODO: TPM on 4e
160 end # LPC bridge
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100161 device ref sata1 on end # SATA Controller 1
162 device ref smbus on end # SMBus
163 device ref sata2 off end # SATA Controller 2
164 device ref thermal off end # Thermal
Nico Huberefe1fed2013-04-29 18:00:57 +0200165 end
166 end
167end