blob: 6deff6039cdd4af11c10fc0b7c9a3d85dd5a99bc [file] [log] [blame]
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +02001chip northbridge/intel/sandybridge
2 # IGD Displays
3 register "gfx.ndid" = "3"
4 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
5
6 # Enable DisplayPort Hotplug with 6ms pulse
7 register "gpu_dp_d_hotplug" = "0x06"
8
9 # Enable Panel as LVDS and configure power delays
10 register "gpu_panel_port_select" = "0" # LVDS
11 register "gpu_panel_power_cycle_delay" = "1"
12 register "gpu_panel_power_up_delay" = "300" # T1+T2: 30ms
13 register "gpu_panel_power_down_delay" = "300" # T5+T6: 30ms
14 register "gpu_panel_power_backlight_on_delay" = "2000" # T3: 200ms
15 register "gpu_panel_power_backlight_off_delay" = "2000" # T4: 200ms
16 register "gfx.use_spread_spectrum_clock" = "1"
17 register "gfx.link_frequency_270_mhz" = "1"
18 register "gpu_cpu_backlight" = "0x1155"
19 register "gpu_pch_backlight" = "0x06100610"
20
21 device cpu_cluster 0 on
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020022 chip cpu/intel/model_206ax
23 # Magic APIC ID to locate this chip
Arthur Heymans7e6946a2019-01-21 17:55:02 +010024 device lapic 0x0 on end
Arthur Heymansb3f23232019-01-21 17:48:55 +010025 device lapic 0xacac off end
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020026
27 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
28 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
29 register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7)
30
31 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
32 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
33 register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7)
34 end
35 end
36
Patrick Rudolph266a1f72016-06-09 18:13:34 +020037 register "pci_mmio_size" = "2048"
38
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020039 device domain 0 on
40 device pci 00.0 on
41 subsystemid 0x17aa 0x21ce
42 end # host bridge
Patrick Rudolph830fdc72016-04-21 07:15:14 +020043 device pci 01.0 on end # PCIe Bridge for discrete graphics
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020044 device pci 02.0 on
45 subsystemid 0x17aa 0x21ce
46 end # Integrated Graphics Controller
47
48 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
49 # GPI routing
50 # 0 No effect (default)
51 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
52 # 2 SCI (if corresponding GPIO_EN bit is also set)
53 register "alt_gp_smi_en" = "0x0000"
54 register "gpi1_routing" = "2"
55 register "gpi13_routing" = "2"
56
Iru Cai0bca3c92016-05-06 23:05:28 +080057 # Enable SATA ports 0 (HDD bay) & 1 (ODD bay) & 2 (mSATA) & 3 (eSATA) & 4 (dock)
58 register "sata_port_map" = "0x1f"
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020059 # Set max SATA speed to 6.0 Gb/s
60 register "sata_interface_speed_support" = "0x3"
61
62 register "gen1_dec" = "0x7c1601"
63 register "gen2_dec" = "0x0c15e1"
64 register "gen4_dec" = "0x0c06a1"
65
66 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
67
68 # Enable zero-based linear PCIe root port functions
69 register "pcie_port_coalesce" = "1"
70 register "c2_latency" = "101" # c2 not supported
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020071
Patrick Rudolphc670a412017-04-28 17:28:32 +020072 # device specific SPI configuration
73 register "spi_uvscc" = "0x2005"
74 register "spi_lvscc" = "0x2005"
75
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020076 device pci 16.0 off end # Management Engine Interface 1
77 device pci 16.1 off end # Management Engine Interface 2
78 device pci 16.2 off end # Management Engine IDE-R
79 device pci 16.3 off end # Management Engine KT
80 device pci 19.0 on
81 subsystemid 0x17aa 0x21ce
82 end # Intel Gigabit Ethernet
83 device pci 1a.0 on
84 subsystemid 0x17aa 0x21ce
85 end # USB Enhanced Host Controller #2
86 device pci 1b.0 on
87 subsystemid 0x17aa 0x21ce
88 end # High Definition Audio Controller
89 device pci 1c.0 off end # PCIe Port #1
90 device pci 1c.1 on
91 subsystemid 0x17aa 0x21ce
92 end # PCIe Port #2 Integrated Wireless LAN
93 device pci 1c.2 off end # PCIe Port #3
94 device pci 1c.3 on
95 subsystemid 0x17aa 0x21ce
Patrick Rudolph05216322019-04-12 16:14:27 +020096 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020097 end # PCIe Port #4 ExpressCard
98 device pci 1c.4 on
99 subsystemid 0x17aa 0x21ce
100 chip drivers/ricoh/rce822
101 register "sdwppol" = "1"
102 register "disable_mask" = "0x87"
103 device pci 00.0 on
104 subsystemid 0x17aa 0x21ce
105 end
106 end
107 end # PCIe Port #5 (Ricoh SD & FW)
108 device pci 1c.5 off end # PCIe Port #6 Intel Gigabit Ethernet PHY (not PCIe)
109 device pci 1c.6 off end # PCIe Port #7
110 device pci 1c.7 off end # PCIe Port #8
111 device pci 1d.0 on
112 subsystemid 0x17aa 0x21ce
113 end # USB Enhanced Host Controller #1
114 device pci 1e.0 off end # PCI bridge
115 device pci 1f.0 on
116 subsystemid 0x17aa 0x21ce
117 chip ec/lenovo/pmh7
118 device pnp ff.1 on # dummy
119 end
120 register "backlight_enable" = "0x01"
121 register "dock_event_enable" = "0x01"
122 end
123
124 chip drivers/pc80/tpm
125 device pnp 0c31.0 on end
126 end
127
128 chip ec/lenovo/h8
129 device pnp ff.2 on # dummy
130 io 0x60 = 0x62
131 io 0x62 = 0x66
132 io 0x64 = 0x1600
133 io 0x66 = 0x1604
134 end
135
136 register "config0" = "0xa7"
137 register "config1" = "0x01"
138 register "config2" = "0xa0"
139 register "config3" = "0xe2"
140
141 register "has_keyboard_backlight" = "0"
142
143 register "beepmask0" = "0x02"
144 register "beepmask1" = "0x86"
145 register "has_power_management_beeps" = "1"
146 register "event2_enable" = "0xff"
147 register "event3_enable" = "0xff"
148 register "event4_enable" = "0xf0"
149 register "event5_enable" = "0x3c"
150 register "event6_enable" = "0x00"
151 register "event7_enable" = "0xa1"
152 register "event8_enable" = "0x7b"
153 register "event9_enable" = "0xff"
154 register "eventa_enable" = "0x00"
155 register "eventb_enable" = "0x00"
156 register "eventc_enable" = "0xff"
157 register "eventd_enable" = "0xff"
158 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200159
160 register "has_bdc_detection" = "1"
161 register "bdc_gpio_num" = "54"
162 register "bdc_gpio_lvl" = "0"
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +0200163 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200164 chip drivers/lenovo/hybrid_graphics
165 device pnp ff.f on end # dummy
166
167 register "detect_gpio" = "21"
168
169 register "has_panel_hybrid_gpio" = "1"
170 register "panel_hybrid_gpio" = "52"
171 register "panel_integrated_lvl" = "1"
172
173 register "has_backlight_gpio" = "0"
174 register "has_dgpu_power_gpio" = "0"
175
176 register "has_thinker1" = "1"
177 end
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +0200178 end # LPC Controller
179 device pci 1f.2 on
180 subsystemid 0x17aa 0x21ce
181 end # 6 port SATA AHCI Controller
182 device pci 1f.3 on
183 subsystemid 0x17aa 0x21ce
184 # eeprom, 8 virtual devices, same chip
185 chip drivers/i2c/at24rf08c
186 device i2c 54 on end
187 device i2c 55 on end
188 device i2c 56 on end
189 device i2c 57 on end
190 device i2c 5c on end
191 device i2c 5d on end
192 device i2c 5e on end
193 device i2c 5f on end
194 end
195 end # SMBus Controller
196 device pci 1f.5 off end # SATA Controller 2
197 device pci 1f.6 on
198 subsystemid 0x17aa 0x21ce
199 end # Thermal
200 end
201 end
202end