blob: 8caa0d1a2fcb071bb8f4fa407601ba3edafdd6d8 [file] [log] [blame]
Alexander Couzensdb508562016-10-12 04:44:19 +02001chip northbridge/intel/sandybridge
2 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
3 register "gfx.link_frequency_270_mhz" = "1"
4 register "gfx.ndid" = "3"
5 register "gfx.use_spread_spectrum_clock" = "1"
6 register "gpu_cpu_backlight" = "0x00001155"
7 register "gpu_dp_b_hotplug" = "4"
8 register "gpu_dp_c_hotplug" = "4"
9 register "gpu_dp_d_hotplug" = "4"
10 register "gpu_panel_port_select" = "0"
11 register "gpu_panel_power_backlight_off_delay" = "2000"
12 register "gpu_panel_power_backlight_on_delay" = "3000"
13 register "gpu_panel_power_cycle_delay" = "6"
14 register "gpu_panel_power_down_delay" = "300"
15 register "gpu_panel_power_up_delay" = "300"
16 register "gpu_pch_backlight" = "0x11551155"
17
Alexander Couzensdb508562016-10-12 04:44:19 +020018 device cpu_cluster 0 on
Alexander Couzensdb508562016-10-12 04:44:19 +020019 chip cpu/intel/model_206ax
20 # Magic APIC ID to locate this chip
Arthur Heymans7e6946a2019-01-21 17:55:02 +010021 device lapic 0x0 on end
Arthur Heymansb3f23232019-01-21 17:48:55 +010022 device lapic 0xacac off end
Alexander Couzensdb508562016-10-12 04:44:19 +020023
24 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
25 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
26 register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7)
27
28 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
29 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
30 register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7)
31 end
32 end
33
34 register "pci_mmio_size" = "1024"
35
36 device domain 0 on
37 device pci 00.0 on
38 subsystemid 0x17aa 0x21fa
39 end # host bridge
40 device pci 01.0 off end # PCIe Bridge for discrete graphics
41 device pci 02.0 on
42 subsystemid 0x17aa 0x21fa
43 end # vga controller
44
45 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
46 # GPI routing
47 # 0 No effect (default)
48 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
49 # 2 SCI (if corresponding GPIO_EN bit is also set)
50 register "alt_gp_smi_en" = "0x0000"
51 register "gpi1_routing" = "2"
52 register "gpi13_routing" = "2"
53
54 # Enable SATA ports 0 (HDD bay) 2 (msata)
55 register "sata_port_map" = "0x5"
56 # Set max SATA speed to 6.0 Gb/s
57 register "sata_interface_speed_support" = "0x3"
58
59 register "gen1_dec" = "0x7c1601"
60 register "gen2_dec" = "0x0c15e1"
61 register "gen3_dec" = "0x000000"
62 register "gen4_dec" = "0x0c06a1"
63
64 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
65
66 register "xhci_switchable_ports" = "0xf"
67 register "superspeed_capable_ports" = "0xf"
68 register "xhci_overcurrent_mapping" = "0x4000201"
69
70 # Enable zero-based linear PCIe root port functions
71 register "pcie_port_coalesce" = "1"
72 register "c2_latency" = "101" # c2 not supported
73 register "p_cnt_throttling_supported" = "1"
74
Patrick Rudolphc670a412017-04-28 17:28:32 +020075 register "spi_uvscc" = "0x2005"
76 register "spi_lvscc" = "0x2005"
77
Alexander Couzensdb508562016-10-12 04:44:19 +020078 device pci 14.0 on
79 subsystemid 0x17aa 0x21f9
80 end # USB 3.0 Controller
81 device pci 16.0 on
82 subsystemid 0x17aa 0x21f9
83 end # Management Engine Interface 1
84 device pci 16.1 off end # Management Engine Interface 2
85 device pci 16.2 off end # Management Engine IDE-R
86 device pci 16.3 off end # Management Engine KT
87 device pci 19.0 off end # Intel Gigabit Ethernet
88 device pci 1a.0 on
89 subsystemid 0x17aa 0x21f9
90 end # USB2 EHCI #2
91 device pci 1b.0 on
92 subsystemid 0x17aa 0x21f9
93 end # High Definition Audio
94 device pci 1c.0 on
95 subsystemid 0x17aa 0x21f9
96 chip drivers/ricoh/rce822
97 register "sdwppol" = "0"
98 register "disable_mask" = "0x87"
99 device pci 00.0 on
100 subsystemid 0x17aa 0x21f3
101 end
102 end
103 end # PCIe Port #1
104 device pci 1c.1 on
105 subsystemid 0x17aa 0x21f9
106 end # PCIe Port #2
107 device pci 1c.2 off end # PCIe Port #3
108 device pci 1c.3 off end # PCIe Port #4
109 device pci 1c.4 off end # PCIe Port #5
110 device pci 1c.5 off end # PCIe Port #6
111 device pci 1c.6 off end # PCIe Port #7
112 device pci 1c.7 off end # PCIe Port #8
113 device pci 1d.0 on
114 subsystemid 0x17aa 0x21f9
115 end # USB2 EHCI #1
116 device pci 1e.0 off end # PCI bridge
117 device pci 1f.0 on #LPC bridge
118 subsystemid 0x17aa 0x21f9
119 chip ec/lenovo/pmh7
120 device pnp ff.1 on # dummy
121 end
122 register "backlight_enable" = "0x01"
123 register "dock_event_enable" = "0x01"
124 end
125
126 chip drivers/pc80/tpm
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200127 device pnp 0c31.0 on end
Alexander Couzensdb508562016-10-12 04:44:19 +0200128 end
129
130 chip ec/lenovo/h8
131 device pnp ff.2 on # dummy
132 io 0x60 = 0x62
133 io 0x62 = 0x66
134 io 0x64 = 0x1600
135 io 0x66 = 0x1604
136 end
137
138 register "has_keyboard_backlight" = "1"
139
140 register "beepmask0" = "0x00"
141 register "beepmask1" = "0x86"
142 register "config0" = "0xa6"
143 register "config1" = "0x05"
144 register "config2" = "0xa0"
145 register "config3" = "0xc0"
146 register "event2_enable" = "0xff"
147 register "event3_enable" = "0xff"
148 register "event4_enable" = "0xc0"
149 register "event5_enable" = "0x3c"
150 register "event7_enable" = "0x01"
151 register "event8_enable" = "0x7b"
152 register "event9_enable" = "0xff"
153 register "eventc_enable" = "0xff"
154 register "eventd_enable" = "0xff"
155 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200156
157 register "has_bdc_detection" = "1"
158 register "bdc_gpio_num" = "54"
159 register "bdc_gpio_lvl" = "0"
Patrick Rudolph7d7c6312017-08-13 12:51:27 +0200160
161 register "has_wwan_detection" = "1"
162 register "wwan_gpio_num" = "70"
163 register "wwan_gpio_lvl" = "0"
Alexander Couzensdb508562016-10-12 04:44:19 +0200164 end
165 end # LPC bridge
166 device pci 1f.2 on
167 subsystemid 0x17aa 0x21f9
168 end # SATA Controller 1
169 device pci 1f.3 on
170 subsystemid 0x17aa 0x21f9
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200171 # eeprom, 8 virtual devices, same chip
Alexander Couzensdb508562016-10-12 04:44:19 +0200172 chip drivers/i2c/at24rf08c
173 device i2c 54 on end
174 device i2c 55 on end
175 device i2c 56 on end
176 device i2c 57 on end
177 device i2c 5c on end
178 device i2c 5d on end
179 device i2c 5e on end
180 device i2c 5f on end
181 end
182 end # SMBus
183 device pci 1f.5 off end # SATA Controller 2
184 device pci 1f.6 on
185 subsystemid 0x17aa 0x21f9
186 end # Thermal
187 end
188 end
189end