blob: a4f3463268157f3548e201099960ecfb46435fcb [file] [log] [blame]
Patrick Georgic49d7a32020-05-08 22:50:46 +02001## SPDX-License-Identifier: GPL-2.0-only
Nicolas Reineckeb165c4a2015-07-04 23:37:06 +02002
Angel Pons95de2312020-02-17 13:08:53 +01003chip northbridge/intel/ironlake
Nicolas Reineckeb165c4a2015-07-04 23:37:06 +02004 # IGD Displays
Nico Huberb0b25c82020-03-21 20:35:12 +01005 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
Nicolas Reineckeb165c4a2015-07-04 23:37:06 +02006
7 # Enable DisplayPort Hotplug with 6ms pulse
8 register "gpu_dp_d_hotplug" = "0x06"
9
10 # Enable Panel as LVDS and configure power delays
Angel Pons10575192020-09-02 19:24:59 +020011 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
Nicolas Reineckeb165c4a2015-07-04 23:37:06 +020012 register "gpu_panel_power_cycle_delay" = "1"
13 register "gpu_panel_power_up_delay" = "1"
14 register "gpu_panel_power_down_delay" = "600"
15 register "gpu_panel_power_backlight_on_delay" = "0"
16 register "gpu_panel_power_backlight_off_delay" = "0"
17 register "gpu_cpu_backlight" = "0x58d"
18 register "gpu_pch_backlight" = "0x061a061a"
Nicolas Reineckeb165c4a2015-07-04 23:37:06 +020019
20 device cpu_cluster 0 on
21 chip cpu/intel/model_2065x
22 device lapic 0 on end
23 end
24 end
25
Nicolas Reineckeb165c4a2015-07-04 23:37:06 +020026 device domain 0 on
27 device pci 00.0 on # Host bridge
28 subsystemid 0x17aa 0x2193
29 end
30 device pci 01.0 on end # PEG
31 device pci 02.0 on # VGA controller
32 subsystemid 0x17aa 0x215a
33 end
34 chip southbridge/intel/ibexpeak
35 # GPI routing
36 # 0 No effect (default)
37 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
38 # 2 SCI (if corresponding GPIO_EN bit is also set)
39 register "gpi1_routing" = "2"
40 register "gpi13_routing" = "2"
41
42 # 0:HDD Bay 1:ODD Bay 4:eSATA Combo Connector
43 register "sata_port_map" = "0x13"
44
45 register "gpe0_en" = "0x20022046"
46 register "alt_gp_smi_en" = "0x0000"
47 register "gen1_dec" = "0x7c1601" # EC
48 register "gen2_dec" = "0x0c15e1" # PMH7
49 register "gen3_dec" = "0x1c1681" # EC ?
50 register "gen4_dec" = "0x040069" # ?
51
52 register "c2_latency" = "1"
53 register "docking_supported" = "1"
54
55 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
56
57 device pci 16.0 off end # MEI
58 device pci 16.2 on # IDE/SATA
59 subsystemid 0x17aa 0x2161
60 end
61
62 device pci 19.0 on # Ethernet
63 subsystemid 0x17aa 0x2153
64 end
65
66 device pci 1a.0 on # USB2 EHCI
67 subsystemid 0x17aa 0x2163
68 end
69
70 device pci 1b.0 on # Audio Controller
71 subsystemid 0x17aa 0x215e
72 end
73
Angel Pons3269ad32021-06-03 18:41:24 +020074 device pci 1c.0 on end # PCIe Port #1: WWAN mPCIe slot
Angel Ponsd4e68eb2021-06-03 18:43:44 +020075 device pci 1c.1 on end # PCIe Port #2: WLAN mPCIe slot
76 device pci 1c.2 on end # PCIe Port #3: WUSB mPCIe slot
Angel Pons3269ad32021-06-03 18:41:24 +020077 device pci 1c.3 on end # PCIe Port #4: ExpressCard
78 device pci 1c.4 on # PCIe Port #5: Ricoh SD & FireWire
Nicolas Reineckeb165c4a2015-07-04 23:37:06 +020079 subsystemid 0x17aa 0x2133
80 chip drivers/ricoh/rce822
81 register "sdwppol" = "1"
82 register "disable_mask" = "0x87"
83 device pci 00.0 on
84 subsystemid 0x17aa 0x2134
85 end
86 end
Angel Pons3269ad32021-06-03 18:41:24 +020087 end
88 device pci 1c.5 off end # PCIe Port #6: Intel GbE PHY (not PCIe)
89 device pci 1c.6 off end # PCIe Port #7
90 device pci 1c.7 off end # PCIe Port #8
Nicolas Reineckeb165c4a2015-07-04 23:37:06 +020091
92 device pci 1d.0 on # USB2 EHCI
93 subsystemid 0x17aa 0x2163
94 end
95 device pci 1f.0 on # PCI-LPC bridge
96 subsystemid 0x17aa 0x2166
97 chip drivers/pc80/tpm
98 device pnp 0c31.0 on end
99 end
100 chip ec/lenovo/pmh7
101 device pnp ff.1 on end # dummy
102 register "backlight_enable" = "0x01"
103 register "dock_event_enable" = "0x01"
104 end
105 chip ec/lenovo/h8
106 device pnp ff.2 on # dummy
107 io 0x60 = 0x62
108 io 0x62 = 0x66
109 io 0x64 = 0x1600
110 io 0x66 = 0x1604
111 end
112
113 register "config0" = "0xa6"
114 register "config1" = "0x05"
115 register "config2" = "0xa0"
116 register "config3" = "0xe0"
117
118 register "beepmask0" = "0xfe"
119 register "beepmask1" = "0x96"
120 register "has_power_management_beeps" = "1"
121
122 register "event2_enable" = "0xff"
123 register "event3_enable" = "0xff"
124 register "event4_enable" = "0xf4"
125 register "event5_enable" = "0x3c"
126 register "event6_enable" = "0x87"
127 register "event7_enable" = "0x89"
128 register "event8_enable" = "0x7b"
129 register "event9_enable" = "0xff"
130 register "eventa_enable" = "0x83"
131 register "eventb_enable" = "0x00"
132 register "eventc_enable" = "0xff"
133 register "eventd_enable" = "0xff"
134 register "evente_enable" = "0x2d"
135 end
136 chip drivers/lenovo/hybrid_graphics
137 device pnp ff.f on end # dummy
138
139 register "detect_gpio" = "21"
140
141 register "has_panel_hybrid_gpio" = "1"
142 register "panel_hybrid_gpio" = "52"
143 register "panel_integrated_lvl" = "1"
144
145 register "has_backlight_gpio" = "1"
146 register "backlight_gpio" = "50"
147 register "backlight_integrated_lvl" = "0"
148
149 register "has_dgpu_power_gpio" = "1"
150 register "dgpu_power_gpio" = "49"
151 register "dgpu_power_off_lvl" = "0"
152
153 register "has_thinker1" = "1"
154 end
155 end
156 device pci 1f.2 on # IDE/SATA
157 subsystemid 0x17aa 0x2168
158 end
159 device pci 1f.3 on # SMBUS
160 subsystemid 0x17aa 0x2167
161 # eeprom, 8 virtual devices, same chip
162 chip drivers/i2c/at24rf08c
163 device i2c 54 on end
164 device i2c 55 on end
165 device i2c 56 on end
166 device i2c 57 on end
167 device i2c 5c on end
168 device i2c 5d on end
169 device i2c 5e on end
170 device i2c 5f on end
171 end
172 end
173 device pci 1f.6 on # Thermal Subsystem
174 subsystemid 0x17aa 0x2190
175 end
176 end
177 end
178end