blob: f7e04367c6cdf6e34096aaef5254c61332db242e [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
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010021 chip cpu/intel/model_206ax # FIXME: check all registers
22 register "c1_acpower" = "1"
23 register "c1_battery" = "1"
24 register "c2_acpower" = "3"
25 register "c2_battery" = "3"
26 register "c3_acpower" = "5"
27 register "c3_battery" = "5"
Arthur Heymans7e6946a2019-01-21 17:55:02 +010028 device lapic 0x0 on end
Arthur Heymansb3f23232019-01-21 17:48:55 +010029 device lapic 0xacac off end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010030 end
31 end
32
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010033 device domain 0x0 on
34 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
35 register "c2_latency" = "0x0065"
36 register "docking_supported" = "1"
37 register "gen1_dec" = "0x000c15e1"
38 register "gen2_dec" = "0x007c1601"
39 register "gen3_dec" = "0x000c06a1"
40 register "gpi13_routing" = "2"
41 register "gpi1_routing" = "2"
Patrick Rudolpha7033932017-05-26 15:26:10 +020042 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010043 register "pcie_port_coalesce" = "1"
44 register "sata_interface_speed_support" = "0x3"
45 register "sata_port_map" = "0x17"
46 register "superspeed_capable_ports" = "0x0000000f"
47 register "xhci_overcurrent_mapping" = "0x04000201"
48 register "xhci_switchable_ports" = "0x0000000f"
49
50 # device specific SPI configuration
51 register "spi_uvscc" = "0x2005"
52 register "spi_lvscc" = "0x2005"
53
54 device pci 14.0 on # USB 3.0 Controller
55 subsystemid 0x17aa 0x21f3
56 end
57 device pci 16.0 on # Management Engine Interface 1
58 subsystemid 0x17aa 0x21f3
59 end
60 device pci 16.1 off # Management Engine Interface 2
61 end
62 device pci 16.2 off # Management Engine IDE-R
63 end
64 device pci 16.3 off # Management Engine KT
65 end
66 device pci 19.0 on # Intel Gigabit Ethernet
67 subsystemid 0x17aa 0x21f3
68 end
69 device pci 1a.0 on # USB2 EHCI #2
70 subsystemid 0x17aa 0x21f3
71 end
72 device pci 1b.0 on # High Definition Audio Audio controller
73 subsystemid 0x17aa 0x21f3
74 end
75 device pci 1c.0 on # PCIe Port #1
76 subsystemid 0x17aa 0x21f3
77 chip drivers/ricoh/rce822 # Ricoh cardreader
78 register "disable_mask" = "0x87"
79 register "sdwppol" = "1"
80 device pci 00.0 on # Ricoh SD card reader
81 subsystemid 0x17aa 0x21f3
82 end
83 end
84 end
85 device pci 1c.1 on # PCIe Port #2
86 subsystemid 0x17aa 0x21f3
87 end
88 device pci 1c.2 on # PCIe Port #3
89 subsystemid 0x17aa 0x21f3
Patrick Rudolph05216322019-04-12 16:14:27 +020090 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010091 end
92 device pci 1c.3 off # PCIe Port #4
93 end
94 device pci 1c.4 off # PCIe Port #5
95 end
96 device pci 1c.5 off # PCIe Port #6
97 end
98 device pci 1c.6 off # PCIe Port #7
99 end
100 device pci 1c.7 off # PCIe Port #8
101 end
102 device pci 1d.0 on # USB2 EHCI #1
103 subsystemid 0x17aa 0x21f3
104 end
105 device pci 1e.0 off # PCI bridge
106 end
107 device pci 1f.0 on # LPC bridge PCI-LPC bridge
108 subsystemid 0x17aa 0x21f3
109 chip ec/lenovo/pmh7
110 register "backlight_enable" = "0x01"
111 register "dock_event_enable" = "0x01"
112 device pnp ff.1 on # dummy
113 end
114 end
115 chip ec/lenovo/h8
116 device pnp ff.2 on # dummy
117 io 0x60 = 0x62
118 io 0x62 = 0x66
119 io 0x64 = 0x1600
120 io 0x66 = 0x1604
121 end
122 register "config0" = "0xa7"
123 register "config1" = "0x01"
124 register "config2" = "0xa0"
125 register "config3" = "0xe2"
126
127 register "has_keyboard_backlight" = "0"
128
129 register "beepmask0" = "0x02"
130 register "beepmask1" = "0x86"
131 register "has_power_management_beeps" = "1"
132 register "event2_enable" = "0xff"
133 register "event3_enable" = "0xff"
134 register "event4_enable" = "0xf0"
135 register "event5_enable" = "0x3c"
136 register "event6_enable" = "0x00"
137 register "event7_enable" = "0xa1"
138 register "event8_enable" = "0x7b"
139 register "event9_enable" = "0xff"
140 register "eventa_enable" = "0x00"
141 register "eventb_enable" = "0x00"
142 register "eventc_enable" = "0xff"
143 register "eventd_enable" = "0xff"
144 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200145
146 register "has_bdc_detection" = "1"
147 register "bdc_gpio_num" = "54"
148 register "bdc_gpio_lvl" = "0"
Patrick Rudolph7d7c6312017-08-13 12:51:27 +0200149
150 register "has_wwan_detection" = "1"
151 register "wwan_gpio_num" = "70"
152 register "wwan_gpio_lvl" = "0"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100153 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200154 chip drivers/lenovo/hybrid_graphics
155 device pnp ff.f on end # dummy
156
157 register "detect_gpio" = "21"
158
159 register "has_panel_hybrid_gpio" = "1"
160 register "panel_hybrid_gpio" = "52"
161 register "panel_integrated_lvl" = "1"
162
163 register "has_backlight_gpio" = "0"
164 register "has_dgpu_power_gpio" = "0"
165
Evgeny Zinoviev01869122018-08-30 00:23:39 +0300166 register "has_thinker1" = "1"
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200167 end
Patrick Rudolph1e96ea12018-06-03 10:15:33 +0200168 chip drivers/pc80/tpm
169 device pnp 0c31.0 on end
170 end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100171 end
172 device pci 1f.2 on # SATA Controller 1
173 subsystemid 0x17aa 0x21f3
174 end
175 device pci 1f.3 on # SMBus
176 subsystemid 0x17aa 0x21f3
177 chip drivers/i2c/at24rf08c # eeprom, 8 virtual devices, same chip
178 device i2c 54 on
179 end
180 device i2c 55 on
181 end
182 device i2c 56 on
183 end
184 device i2c 57 on
185 end
186 device i2c 5c on
187 end
188 device i2c 5d on
189 end
190 device i2c 5e on
191 end
192 device i2c 5f on
193 end
194 end
195 end
196 device pci 1f.5 off # SATA Controller 2
197 end
198 device pci 1f.6 off # Thermal
199 end
200 end
201 device pci 00.0 on # Host bridge Host bridge
202 subsystemid 0x17aa 0x21f3
203 end
204 device pci 01.0 on # PCIe Bridge for discrete graphics
205 end
206 device pci 02.0 on # Internal graphics VGA controller
207 subsystemid 0x17aa 0x21f3
208 end
209 device pci 04.0 off # Signal processing controller
210 end
211 end
212end