blob: 72425f82498b8c5bbbd109ef74fe065693c641c9 [file] [log] [blame]
Philipp Deppenwiese714baa12017-01-02 17:58:09 +01001chip northbridge/intel/sandybridge
2 register "gfx.ndid" = "3"
3 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410 }"
4
5 # Enable DisplayPort Hotplug with 6ms pulse
6 register "gpu_dp_d_hotplug" = "0x06"
7
8 # Enable Panel as LVDS and configure power delays
9 register "gpu_panel_port_select" = "0" # LVDS
10 register "gpu_panel_power_cycle_delay" = "6" # T7: 500ms
11 register "gpu_panel_power_up_delay" = "100" # T1+T2: 10ms
12 register "gpu_panel_power_down_delay" = "100" # T5+T6: 10ms
13 register "gpu_panel_power_backlight_on_delay" = "2100" # T3: 210ms
14 register "gpu_panel_power_backlight_off_delay" = "2100" # T4: 210ms
15 register "gfx.use_spread_spectrum_clock" = "1"
16 register "gfx.link_frequency_270_mhz" = "1"
17 register "gpu_cpu_backlight" = "0x1155"
18 register "gpu_pch_backlight" = "0x11551155"
19
20 device cpu_cluster 0x0 on
21 chip cpu/intel/socket_rPGA989
Arthur Heymansb3f23232019-01-21 17:48:55 +010022 device lapic 0x0 on end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010023 end
24 chip cpu/intel/model_206ax # FIXME: check all registers
25 register "c1_acpower" = "1"
26 register "c1_battery" = "1"
27 register "c2_acpower" = "3"
28 register "c2_battery" = "3"
29 register "c3_acpower" = "5"
30 register "c3_battery" = "5"
Arthur Heymansb3f23232019-01-21 17:48:55 +010031 device lapic 0xacac off end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010032 end
33 end
34
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010035 device domain 0x0 on
36 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
37 register "c2_latency" = "0x0065"
38 register "docking_supported" = "1"
39 register "gen1_dec" = "0x000c15e1"
40 register "gen2_dec" = "0x007c1601"
41 register "gen3_dec" = "0x000c06a1"
42 register "gpi13_routing" = "2"
43 register "gpi1_routing" = "2"
44 register "p_cnt_throttling_supported" = "1"
Patrick Rudolpha7033932017-05-26 15:26:10 +020045 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010046 register "pcie_port_coalesce" = "1"
47 register "sata_interface_speed_support" = "0x3"
48 register "sata_port_map" = "0x17"
49 register "superspeed_capable_ports" = "0x0000000f"
50 register "xhci_overcurrent_mapping" = "0x04000201"
51 register "xhci_switchable_ports" = "0x0000000f"
52
53 # device specific SPI configuration
54 register "spi_uvscc" = "0x2005"
55 register "spi_lvscc" = "0x2005"
56
57 device pci 14.0 on # USB 3.0 Controller
58 subsystemid 0x17aa 0x21f3
59 end
60 device pci 16.0 on # Management Engine Interface 1
61 subsystemid 0x17aa 0x21f3
62 end
63 device pci 16.1 off # Management Engine Interface 2
64 end
65 device pci 16.2 off # Management Engine IDE-R
66 end
67 device pci 16.3 off # Management Engine KT
68 end
69 device pci 19.0 on # Intel Gigabit Ethernet
70 subsystemid 0x17aa 0x21f3
71 end
72 device pci 1a.0 on # USB2 EHCI #2
73 subsystemid 0x17aa 0x21f3
74 end
75 device pci 1b.0 on # High Definition Audio Audio controller
76 subsystemid 0x17aa 0x21f3
77 end
78 device pci 1c.0 on # PCIe Port #1
79 subsystemid 0x17aa 0x21f3
80 chip drivers/ricoh/rce822 # Ricoh cardreader
81 register "disable_mask" = "0x87"
82 register "sdwppol" = "1"
83 device pci 00.0 on # Ricoh SD card reader
84 subsystemid 0x17aa 0x21f3
85 end
86 end
87 end
88 device pci 1c.1 on # PCIe Port #2
89 subsystemid 0x17aa 0x21f3
90 end
91 device pci 1c.2 on # PCIe Port #3
92 subsystemid 0x17aa 0x21f3
93 end
94 device pci 1c.3 off # PCIe Port #4
95 end
96 device pci 1c.4 off # PCIe Port #5
97 end
98 device pci 1c.5 off # PCIe Port #6
99 end
100 device pci 1c.6 off # PCIe Port #7
101 end
102 device pci 1c.7 off # PCIe Port #8
103 end
104 device pci 1d.0 on # USB2 EHCI #1
105 subsystemid 0x17aa 0x21f3
106 end
107 device pci 1e.0 off # PCI bridge
108 end
109 device pci 1f.0 on # LPC bridge PCI-LPC bridge
110 subsystemid 0x17aa 0x21f3
111 chip ec/lenovo/pmh7
112 register "backlight_enable" = "0x01"
113 register "dock_event_enable" = "0x01"
114 device pnp ff.1 on # dummy
115 end
116 end
117 chip ec/lenovo/h8
118 device pnp ff.2 on # dummy
119 io 0x60 = 0x62
120 io 0x62 = 0x66
121 io 0x64 = 0x1600
122 io 0x66 = 0x1604
123 end
124 register "config0" = "0xa7"
125 register "config1" = "0x01"
126 register "config2" = "0xa0"
127 register "config3" = "0xe2"
128
129 register "has_keyboard_backlight" = "0"
130
131 register "beepmask0" = "0x02"
132 register "beepmask1" = "0x86"
133 register "has_power_management_beeps" = "1"
134 register "event2_enable" = "0xff"
135 register "event3_enable" = "0xff"
136 register "event4_enable" = "0xf0"
137 register "event5_enable" = "0x3c"
138 register "event6_enable" = "0x00"
139 register "event7_enable" = "0xa1"
140 register "event8_enable" = "0x7b"
141 register "event9_enable" = "0xff"
142 register "eventa_enable" = "0x00"
143 register "eventb_enable" = "0x00"
144 register "eventc_enable" = "0xff"
145 register "eventd_enable" = "0xff"
146 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200147
148 register "has_bdc_detection" = "1"
149 register "bdc_gpio_num" = "54"
150 register "bdc_gpio_lvl" = "0"
Patrick Rudolph7d7c6312017-08-13 12:51:27 +0200151
152 register "has_wwan_detection" = "1"
153 register "wwan_gpio_num" = "70"
154 register "wwan_gpio_lvl" = "0"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100155 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200156 chip drivers/lenovo/hybrid_graphics
157 device pnp ff.f on end # dummy
158
159 register "detect_gpio" = "21"
160
161 register "has_panel_hybrid_gpio" = "1"
162 register "panel_hybrid_gpio" = "52"
163 register "panel_integrated_lvl" = "1"
164
165 register "has_backlight_gpio" = "0"
166 register "has_dgpu_power_gpio" = "0"
167
Evgeny Zinoviev01869122018-08-30 00:23:39 +0300168 register "has_thinker1" = "1"
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200169 end
Patrick Rudolph1e96ea12018-06-03 10:15:33 +0200170 chip drivers/pc80/tpm
171 device pnp 0c31.0 on end
172 end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100173 end
174 device pci 1f.2 on # SATA Controller 1
175 subsystemid 0x17aa 0x21f3
176 end
177 device pci 1f.3 on # SMBus
178 subsystemid 0x17aa 0x21f3
179 chip drivers/i2c/at24rf08c # eeprom, 8 virtual devices, same chip
180 device i2c 54 on
181 end
182 device i2c 55 on
183 end
184 device i2c 56 on
185 end
186 device i2c 57 on
187 end
188 device i2c 5c on
189 end
190 device i2c 5d on
191 end
192 device i2c 5e on
193 end
194 device i2c 5f on
195 end
196 end
197 end
198 device pci 1f.5 off # SATA Controller 2
199 end
200 device pci 1f.6 off # Thermal
201 end
202 end
203 device pci 00.0 on # Host bridge Host bridge
204 subsystemid 0x17aa 0x21f3
205 end
206 device pci 01.0 on # PCIe Bridge for discrete graphics
207 end
208 device pci 02.0 on # Internal graphics VGA controller
209 subsystemid 0x17aa 0x21f3
210 end
211 device pci 04.0 off # Signal processing controller
212 end
213 end
214end