blob: 853a41024734f0eadcd92b4c6e466546013559d2 [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 Hui7039edd2023-07-21 10:12:05 -04005 register "max_mem_clock_mhz" = "800"
6 register "ec_present" = "1"
7
8 register "usb3.hs_port_switch_mask" = "0xf"
9 register "usb3.mode" = "3"
10 register "usb3.preboot_support" = "1"
11 register "usb3.xhci_streams" = "1"
12 register "usb_port_config" = "{
13 { 1, 0, 0x0040 },
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, 4, 0x0040 },
22 { 1, 4, 0x0040 },
23 { 1, 4, 0x0040 },
24 { 1, 4, 0x0040 },
25 { 1, 4, 0x0040 },
26 { 1, 4, 0x0040 }, }"
27
Arthur Heymanscdb26fd2021-11-15 20:12:02 +010028 chip cpu/intel/model_206ax
29 device cpu_cluster 0 on end
Nico Huberefe1fed2013-04-29 18:00:57 +020030
Arthur Heymanscdb26fd2021-11-15 20:12:02 +010031 register "acpi_c2" = "CPU_ACPI_C6"
32 register "acpi_c3" = "CPU_ACPI_DISABLED"
Nico Huberefe1fed2013-04-29 18:00:57 +020033 end
34
35 device domain 0 on
Arthur Heymansb5df65a2022-11-12 14:51:49 +010036 device ref host_bridge on end # host bridge
37 device ref peg10 on end # PCIe Bridge x16
38 device ref igd on end # vga controller
Nico Huberefe1fed2013-04-29 18:00:57 +020039
40 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
Nico Huberefe1fed2013-04-29 18:00:57 +020041 # Enable all SATA ports 0-5
42 register "sata_port_map" = "0x3f"
43 # Set max SATA speed to 6.0 Gb/s (should be the default, anyway)
44 register "sata_interface_speed_support" = "0x3"
45
46 # TODO: Enable generic LPC decodes...
47 register "gen1_dec" = "0x001c02e1"
48 #register "gen2_dec" = "0x00000000"
49 #register "gen3_dec" = "0x00000000"
50 #register "gen4_dec" = "0x00000000"
51
52 # Disable root port coalescing
Angel Ponsaf4bd562021-12-28 13:05:56 +010053 register "pcie_port_coalesce" = "false"
Nico Huberefe1fed2013-04-29 18:00:57 +020054
Nico Huberee09d9c2015-08-19 15:46:13 +020055 register "xhci_switchable_ports" = "0x0f"
56 register "superspeed_capable_ports" = "0x0f"
57
Arthur Heymansb5df65a2022-11-12 14:51:49 +010058 device ref xhci on end # USB 3.0 Controller
59 device ref mei1 on end # Management Engine Interface 1
60 device ref mei2 off end # Management Engine Interface 2
61 device ref me_ide_r off end # Management Engine IDE-R
62 device ref me_kt off end # Management Engine KT
63 device ref gbe on end # Intel Gigabit Ethernet
64 device ref ehci2 on end # USB2 EHCI #2
65 device ref hda on end # High Definition Audio
Nico Huberefe1fed2013-04-29 18:00:57 +020066
67 # Disabling 1c.0 might break IRQ settings as it enables port coalescing
68 # There are two mini PCIe x1 sockets, so one PCIe port is unrouted
Arthur Heymansb5df65a2022-11-12 14:51:49 +010069 device ref pcie_rp1 on end # PCIe Port #1 mini PCIe x1?
70 device ref pcie_rp2 on end # PCIe Port #2 mini PCIe x1?
71 device ref pcie_rp3 on end # PCIe Port #3 second Ethernet NIC
72 device ref pcie_rp4 on end # PCIe Port #4 third Ethernet NIC
73 device ref pcie_rp5 on end # PCIe Port #5 first Ethernet PHY
74 device ref pcie_rp6 on end # PCIe Port #6 FireWire
75 device ref pcie_rp7 on end # PCIe Port #7 PCIe x1
76 device ref pcie_rp8 on end # PCIe Port #8 mini PCIe x1?
Nico Huberefe1fed2013-04-29 18:00:57 +020077
Arthur Heymansb5df65a2022-11-12 14:51:49 +010078 device ref ehci1 on end # USB2 EHCI #1
79 device ref pci_bridge off end # PCI bridge
80 device ref lpc on #LPC bridge
Nico Huberefe1fed2013-04-29 18:00:57 +020081 chip superio/winbond/w83627dhg
82 device pnp 2e.0 off # Floppy
83 end
84 device pnp 2e.1 off # Parallel Port
85 end
86 device pnp 2e.2 on # Com1
87 io 0x60 = 0x3f8
88 irq 0x70 = 4
89 end
90 device pnp 2e.3 on # Com2
91 io 0x60 = 0x2f8
92 irq 0x70 = 3
93 end
94 device pnp 2e.5 off # Keyboard
95 end
96 device pnp 2e.6 off # SPI
97 end
98 device pnp 2e.307 off # GPIO 1
99 end
100 device pnp 2e.8 off # WDTO#, PLED
101 end
102 device pnp 2e.009 on # GPIO2 -- original firmware sets this on
103 end
104 device pnp 2e.109 on # GPIO3 -- original firmware sets this on
105 end
106 device pnp 2e.209 off # GPIO4
107 end
108 device pnp 2e.309 off # GPIO5
109 end
110 device pnp 2e.a off # ACPI
111 end
112 device pnp 2e.b off # HWM
113 end
114 device pnp 2e.c off # PECI, SST
115 end
116 end #superio/winbond/w83627dhg
117 chip ec/kontron/it8516e
118 # Set CPU Fan to 50°C, System Fan to 75%
119 register "default_fan_mode" = "{ IT8516E_MODE_THERMAL, IT8516E_MODE_PWM }"
120 register "default_fan_target" = "{ 50, 75 }"
121
122 # TODO: Check status when Linux runs
123 device pnp 20e.1 on # Com3
124 io 0x60 = 0x03e8
125 irq 0x70 = 4
126 end
127 device pnp 20e.2 on # Com4
128 io 0x60 = 0x02e8
129 irq 0x70 = 3
130 end
131 device pnp 20e.4 off # System Wakeup
132 end
133 device pnp 20e.5 on # Mouse
134 irq 0x70 = 12
135 end
136 device pnp 20e.6 on # Keyboard
137 io 0x60 = 0x0060
138 io 0x62 = 0x0064
139 irq 0x70 = 1
140 end
141 device pnp 20e.f off # Shared Memory
142 end
143 device pnp 20e.10 off # BRAM / RTC
144 end
145 device pnp 20e.11 on # PM channel 1
146 io 0x60 = 0x0062
147 io 0x62 = 0x0066
148 irq 0x70 = 0
149 end
150 device pnp 20e.12 on # PM channel 2
151 io 0x60 = 0x020c
152 io 0x62 = 0x020d
153 irq 0x70 = 0
154 end
155 device pnp 20e.17 off # PM channel 3
156 end
157 end #ec/kontron/it8516e
158 # TODO: TPM on 4e
159 end # LPC bridge
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100160 device ref sata1 on end # SATA Controller 1
161 device ref smbus on end # SMBus
162 device ref sata2 off end # SATA Controller 2
163 device ref thermal off end # Thermal
Nico Huberefe1fed2013-04-29 18:00:57 +0200164 end
165 end
166end