blob: e826b63bd26468f9ade59d6aa47e6eb64732a372 [file] [log] [blame]
Sven Schnellee2ca71e2011-02-14 20:02:47 +00001##
2## This file is part of the coreboot project.
3##
Sven Schnellee2ca71e2011-02-14 20:02:47 +00004##
Patrick Georgic49d7a32020-05-08 22:50:46 +02005## SPDX-License-Identifier: GPL-2.0-only
Sven Schnellee2ca71e2011-02-14 20:02:47 +00006
7chip northbridge/intel/i945
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01008 # IGD Displays
Nico Huberb0b25c82020-03-21 20:35:12 +01009 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
Sven Schnellee2ca71e2011-02-14 20:02:47 +000010
Vladimir Serbinenko26ca08c2014-06-01 00:24:05 +020011 register "gpu_hotplug" = "0x00000220"
12 register "gpu_lvds_use_spread_spectrum_clock" = "1"
Arthur Heymans8e079002017-01-14 22:31:54 +010013 register "pwm_freq" = "180"
14 register "gpu_panel_power_up_delay" = "250"
15 register "gpu_panel_power_backlight_on_delay" = "2380"
16 register "gpu_panel_power_down_delay" = "250"
17 register "gpu_panel_power_backlight_off_delay" = "2380"
18 register "gpu_panel_power_cycle_delay" = "2"
Vladimir Serbinenko26ca08c2014-06-01 00:24:05 +020019
Stefan Reinauer0aa37c42013-02-12 15:20:54 -080020 device cpu_cluster 0 on
Nico Huber4829af12019-02-27 14:23:18 +010021 chip cpu/intel/socket_m
Sven Schnelle91321022011-03-01 19:58:47 +000022 device lapic 0 on end
23 end
24 end
Sven Schnellee2ca71e2011-02-14 20:02:47 +000025
Arthur Heymans885c2892016-10-03 17:16:48 +020026 register "pci_mmio_size" = "768"
27
Stefan Reinauer4aff4452013-02-12 14:17:15 -080028 device domain 0 on
Sven Schnelle91321022011-03-01 19:58:47 +000029 device pci 00.0 on # Host bridge
30 subsystemid 0x17aa 0x2017
31 end
32 device pci 02.0 on # VGA controller
33 subsystemid 0x17aa 0x201a
34 end
35 device pci 02.1 on # display controller
36 subsystemid 0x17aa 0x201a
37 end
38 chip southbridge/intel/i82801gx
Sven Schnellee2ca71e2011-02-14 20:02:47 +000039 register "pirqa_routing" = "0x0b"
40 register "pirqb_routing" = "0x0b"
41 register "pirqc_routing" = "0x0b"
42 register "pirqd_routing" = "0x0b"
43 register "pirqe_routing" = "0x0b"
44 register "pirqf_routing" = "0x0b"
45 register "pirqg_routing" = "0x0b"
46 register "pirqh_routing" = "0x0b"
47
48 # GPI routing
49 # 0 No effect (default)
50 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
51 # 2 SCI (if corresponding GPIO_EN bit is also set)
Sven Schnelle91321022011-03-01 19:58:47 +000052 register "gpi13_routing" = "2"
Sven Schnelle8b39e072011-06-12 16:49:13 +020053 register "gpi12_routing" = "1"
Sven Schnelle91321022011-03-01 19:58:47 +000054 register "gpi8_routing" = "2"
Sven Schnellee2ca71e2011-02-14 20:02:47 +000055
Sven Schnellee572ef62011-10-27 13:10:14 +020056 register "sata_ports_implemented" = "0x01"
Sven Schnellee2ca71e2011-02-14 20:02:47 +000057
58 register "gpe0_en" = "0x11000006"
Sven Schnelle8b39e072011-06-12 16:49:13 +020059 register "alt_gp_smi_en" = "0x1000"
Sven Schnelle6eb8bef2011-10-23 16:57:50 +020060
61 register "c4onc3_enable" = "1"
Vladimir Serbinenkoab83ef02014-10-25 15:18:25 +020062
63 register "c3_latency" = "0x23"
64 register "docking_supported" = "1"
65 register "p_cnt_throttling_supported" = "1"
66
Arthur Heymansfecf7772019-11-09 14:19:04 +010067 register "gen1_dec" = "0x007c1601"
68 register "gen2_dec" = "0x000c15e1"
69 register "gen3_dec" = "0x001c1681"
70
Paul Menzel68eff4f2014-03-03 09:18:18 +010071 device pci 1b.0 on # Audio Controller
Sven Schnelle91321022011-03-01 19:58:47 +000072 subsystemid 0x17aa 0x2010
73 end
Sven Schnellee2ca71e2011-02-14 20:02:47 +000074 device pci 1c.0 on end # Ethernet
75 device pci 1c.1 on end # Atheros WLAN
Arthur Heymansb9d25892018-06-15 22:02:28 +020076 device pci 1c.2 on end # PCIe port 3
77 device pci 1c.3 on end # PCIe port 4
78 device pci 1c.4 off end # PCIe port 5
79 device pci 1c.5 off end # PCIe port 6
80
Sven Schnelle91321022011-03-01 19:58:47 +000081 device pci 1d.0 on # USB UHCI
82 subsystemid 0x17aa 0x200a
83 end
84 device pci 1d.1 on # USB UHCI
85 subsystemid 0x17aa 0x200a
86 end
87 device pci 1d.2 on # USB UHCI
88 subsystemid 0x17aa 0x200a
89 end
90 device pci 1d.3 on # USB UHCI
91 subsystemid 0x17aa 0x200a
92 end
93 device pci 1d.7 on # USB2 EHCI
94 subsystemid 0x17aa 0x200b
95 end
Arthur Heymansb9d25892018-06-15 22:02:28 +020096 device pci 1e.0 on end # PCI Bridge
97 device pci 1e.2 off end # AC'97 Audio
98 device pci 1e.3 off end # AC'97 Modem
Sven Schnellee2ca71e2011-02-14 20:02:47 +000099 device pci 1f.0 on # PCI-LPC bridge
Sven Schnelle91321022011-03-01 19:58:47 +0000100 subsystemid 0x17aa 0x2009
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000101 chip ec/lenovo/pmh7
Peter Lemenkov4ed25982020-02-06 14:51:27 +0100102 device pnp ff.1 on end # dummy
Sven Schnelle1fa61eb2011-04-11 19:43:50 +0000103 register "backlight_enable" = "0x01"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200104 register "dock_event_enable" = "0x01"
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000105 end
Sven Schnelleffcd1432011-04-11 19:43:32 +0000106 chip ec/lenovo/h8
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000107 device pnp ff.2 on # dummy
108 io 0x60 = 0x62
109 io 0x62 = 0x66
110 io 0x64 = 0x1600
111 io 0x66 = 0x1604
112 end
Sven Schnelleffcd1432011-04-11 19:43:32 +0000113
114 register "config0" = "0xa6"
115 register "config1" = "0x05"
116 register "config2" = "0xa0"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200117 register "config3" = "0x01"
Sven Schnelleffcd1432011-04-11 19:43:32 +0000118
119 register "beepmask0" = "0xfe"
120 register "beepmask1" = "0x96"
Vladimir Serbinenko9a3b9c42014-01-11 20:56:47 +0100121 register "has_power_management_beeps" = "1"
Sven Schnelleffcd1432011-04-11 19:43:32 +0000122
123 register "event2_enable" = "0xff"
124 register "event3_enable" = "0xff"
125 register "event4_enable" = "0xf4"
126 register "event5_enable" = "0x3c"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200127 register "event6_enable" = "0x80"
128 register "event7_enable" = "0x01"
Sven Schnelle8d0b86c2011-07-11 18:36:16 +0200129 register "event8_enable" = "0x01"
130 register "event9_enable" = "0xff"
131 register "eventa_enable" = "0xff"
132 register "eventb_enable" = "0xff"
133 register "eventc_enable" = "0xff"
134 register "eventd_enable" = "0xff"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200135
136 register "has_bdc_detection" = "1"
137 register "bdc_gpio_num" = "7"
138 register "bdc_gpio_lvl" = "0"
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000139 end
140 chip superio/nsc/pc87382
141 device pnp 164e.2 on # IR
142 io 0x60 = 0x2f8
143 end
144
Vladimir Serbinenkof2b3cd62014-02-15 17:00:46 +0100145 device pnp 164e.3 on # Digitizer
146 io 0x60 = 0x200
147 irq 0x29 = 0xb0
148 irq 0x70 = 0x5
149 irq 0xf0 = 0x82
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000150 end
151
152 device pnp 164e.7 on # GPIO
153 io 0x60 = 0x1680
154 end
155
156 device pnp 164e.19 on # DLPC
157 io 0x60 = 0x164c
158 end
159 end
160
161 chip superio/nsc/pc87392
Peter Lemenkov4ed25982020-02-06 14:51:27 +0100162 device pnp 2e.0 off end #FDC
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000163
164 device pnp 2e.1 on # Parallel Port
165 io 0x60 = 0x3bc
166 irq 0x70 = 7
167 end
168
169 device pnp 2e.2 off # Serial Port / IR
170 io 0x60 = 0x2f8
171 irq 0x70 = 4
172 end
173
174 device pnp 2e.3 on # Serial Port
175 io 0x60 = 0x3f8
176 irq 0x70 = 4
177 end
178
179 device pnp 2e.7 on # GPIO
180 io 0x60 = 0x1620
181 end
182
Peter Lemenkov4ed25982020-02-06 14:51:27 +0100183 device pnp 2e.a off end # WDT
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000184 end
185 end
Sven Schnelle50270b82011-04-27 19:48:05 +0000186 device pci 1f.1 on # IDE
Sven Schnelle91321022011-03-01 19:58:47 +0000187 subsystemid 0x17aa 0x200c
188 end
189 device pci 1f.2 on # SATA
190 subsystemid 0x17aa 0x200d
191 end
192 device pci 1f.3 on # SMBUS
193 subsystemid 0x17aa 0x200f
Arthur Heymans24231ac2017-06-06 09:46:01 +0200194 chip drivers/i2c/ck505
195 register "mask" = "{ 0xff, 0xff, 0xff,
196 0xff, 0xff, 0xff, 0xff, 0xff,
197 0xff, 0xff, 0xff, 0xff }"
198 register "regs" = "{ 0x2e, 0xf7, 0x3c,
199 0x20, 0x01, 0x00, 0x1b, 0x01,
200 0x54, 0xff, 0xff, 0x07 }"
Sven Schnelle6eb8bef2011-10-23 16:57:50 +0200201 device i2c 69 on end
202 end
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200203 # eeprom, 8 virtual devices, same chip
Vladimir Serbinenko62adc4c2014-01-23 09:06:08 +0100204 chip drivers/i2c/at24rf08c
205 device i2c 54 on end
206 device i2c 55 on end
207 device i2c 56 on end
208 device i2c 57 on end
209 device i2c 5c on end
210 device i2c 5d on end
211 device i2c 5e on end
212 device i2c 5f on end
213 end
Sven Schnelle91321022011-03-01 19:58:47 +0000214 end
Sven Schnellee2ca71e2011-02-14 20:02:47 +0000215 end
216 chip southbridge/ricoh/rl5c476
217 end
218 end
219end