Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2007-2009 coresystems GmbH |
| 5 | ## Copyright (C) 2011 Sven Schnelle <svens@stackframe.org> |
| 6 | ## |
| 7 | ## This program is free software; you can redistribute it and/or |
| 8 | ## modify it under the terms of the GNU General Public License as |
| 9 | ## published by the Free Software Foundation; version 2 of |
| 10 | ## the License. |
| 11 | ## |
| 12 | ## This program is distributed in the hope that it will be useful, |
| 13 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | ## GNU General Public License for more details. |
| 16 | ## |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 17 | |
| 18 | chip northbridge/intel/i945 |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 19 | # IGD Displays |
| 20 | register "gfx.ndid" = "3" |
| 21 | register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }" |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 22 | |
Vladimir Serbinenko | 26ca08c | 2014-06-01 00:24:05 +0200 | [diff] [blame] | 23 | register "gpu_hotplug" = "0x00000220" |
| 24 | register "gpu_lvds_use_spread_spectrum_clock" = "1" |
Arthur Heymans | 8e07900 | 2017-01-14 22:31:54 +0100 | [diff] [blame] | 25 | register "pwm_freq" = "180" |
| 26 | register "gpu_panel_power_up_delay" = "250" |
| 27 | register "gpu_panel_power_backlight_on_delay" = "2380" |
| 28 | register "gpu_panel_power_down_delay" = "250" |
| 29 | register "gpu_panel_power_backlight_off_delay" = "2380" |
| 30 | register "gpu_panel_power_cycle_delay" = "2" |
Vladimir Serbinenko | 26ca08c | 2014-06-01 00:24:05 +0200 | [diff] [blame] | 31 | |
Stefan Reinauer | 0aa37c4 | 2013-02-12 15:20:54 -0800 | [diff] [blame] | 32 | device cpu_cluster 0 on |
Sven Schnelle | 9132102 | 2011-03-01 19:58:47 +0000 | [diff] [blame] | 33 | chip cpu/intel/socket_mFCPGA478 |
| 34 | device lapic 0 on end |
| 35 | end |
| 36 | end |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 37 | |
Arthur Heymans | 885c289 | 2016-10-03 17:16:48 +0200 | [diff] [blame] | 38 | register "pci_mmio_size" = "768" |
| 39 | |
Stefan Reinauer | 4aff445 | 2013-02-12 14:17:15 -0800 | [diff] [blame] | 40 | device domain 0 on |
Sven Schnelle | 9132102 | 2011-03-01 19:58:47 +0000 | [diff] [blame] | 41 | device pci 00.0 on # Host bridge |
| 42 | subsystemid 0x17aa 0x2017 |
| 43 | end |
| 44 | device pci 02.0 on # VGA controller |
| 45 | subsystemid 0x17aa 0x201a |
| 46 | end |
| 47 | device pci 02.1 on # display controller |
| 48 | subsystemid 0x17aa 0x201a |
| 49 | end |
| 50 | chip southbridge/intel/i82801gx |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 51 | register "pirqa_routing" = "0x0b" |
| 52 | register "pirqb_routing" = "0x0b" |
| 53 | register "pirqc_routing" = "0x0b" |
| 54 | register "pirqd_routing" = "0x0b" |
| 55 | register "pirqe_routing" = "0x0b" |
| 56 | register "pirqf_routing" = "0x0b" |
| 57 | register "pirqg_routing" = "0x0b" |
| 58 | register "pirqh_routing" = "0x0b" |
| 59 | |
| 60 | # GPI routing |
| 61 | # 0 No effect (default) |
| 62 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 63 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
Sven Schnelle | 9132102 | 2011-03-01 19:58:47 +0000 | [diff] [blame] | 64 | register "gpi13_routing" = "2" |
Sven Schnelle | 8b39e07 | 2011-06-12 16:49:13 +0200 | [diff] [blame] | 65 | register "gpi12_routing" = "1" |
Sven Schnelle | 9132102 | 2011-03-01 19:58:47 +0000 | [diff] [blame] | 66 | register "gpi8_routing" = "2" |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 67 | |
Sven Schnelle | e572ef6 | 2011-10-27 13:10:14 +0200 | [diff] [blame] | 68 | register "sata_ahci" = "0x1" |
| 69 | register "sata_ports_implemented" = "0x01" |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 70 | |
| 71 | register "gpe0_en" = "0x11000006" |
Sven Schnelle | 8b39e07 | 2011-06-12 16:49:13 +0200 | [diff] [blame] | 72 | register "alt_gp_smi_en" = "0x1000" |
Sven Schnelle | 6eb8bef | 2011-10-23 16:57:50 +0200 | [diff] [blame] | 73 | |
| 74 | register "c4onc3_enable" = "1" |
Vladimir Serbinenko | ab83ef0 | 2014-10-25 15:18:25 +0200 | [diff] [blame] | 75 | |
| 76 | register "c3_latency" = "0x23" |
| 77 | register "docking_supported" = "1" |
| 78 | register "p_cnt_throttling_supported" = "1" |
| 79 | |
Paul Menzel | 68eff4f | 2014-03-03 09:18:18 +0100 | [diff] [blame] | 80 | device pci 1b.0 on # Audio Controller |
Sven Schnelle | 9132102 | 2011-03-01 19:58:47 +0000 | [diff] [blame] | 81 | subsystemid 0x17aa 0x2010 |
| 82 | end |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 83 | device pci 1c.0 on end # Ethernet |
| 84 | device pci 1c.1 on end # Atheros WLAN |
Arthur Heymans | b9d2589 | 2018-06-15 22:02:28 +0200 | [diff] [blame^] | 85 | device pci 1c.2 on end # PCIe port 3 |
| 86 | device pci 1c.3 on end # PCIe port 4 |
| 87 | device pci 1c.4 off end # PCIe port 5 |
| 88 | device pci 1c.5 off end # PCIe port 6 |
| 89 | |
Sven Schnelle | 9132102 | 2011-03-01 19:58:47 +0000 | [diff] [blame] | 90 | device pci 1d.0 on # USB UHCI |
| 91 | subsystemid 0x17aa 0x200a |
| 92 | end |
| 93 | device pci 1d.1 on # USB UHCI |
| 94 | subsystemid 0x17aa 0x200a |
| 95 | end |
| 96 | device pci 1d.2 on # USB UHCI |
| 97 | subsystemid 0x17aa 0x200a |
| 98 | end |
| 99 | device pci 1d.3 on # USB UHCI |
| 100 | subsystemid 0x17aa 0x200a |
| 101 | end |
| 102 | device pci 1d.7 on # USB2 EHCI |
| 103 | subsystemid 0x17aa 0x200b |
| 104 | end |
Arthur Heymans | b9d2589 | 2018-06-15 22:02:28 +0200 | [diff] [blame^] | 105 | device pci 1e.0 on end # PCI Bridge |
| 106 | device pci 1e.2 off end # AC'97 Audio |
| 107 | device pci 1e.3 off end # AC'97 Modem |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 108 | device pci 1f.0 on # PCI-LPC bridge |
Sven Schnelle | 9132102 | 2011-03-01 19:58:47 +0000 | [diff] [blame] | 109 | subsystemid 0x17aa 0x2009 |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 110 | chip ec/lenovo/pmh7 |
| 111 | device pnp ff.1 on # dummy |
| 112 | end |
Sven Schnelle | 1fa61eb | 2011-04-11 19:43:50 +0000 | [diff] [blame] | 113 | register "backlight_enable" = "0x01" |
Sven Schnelle | 8d0b86c | 2011-07-11 18:36:16 +0200 | [diff] [blame] | 114 | register "dock_event_enable" = "0x01" |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 115 | end |
Sven Schnelle | ffcd143 | 2011-04-11 19:43:32 +0000 | [diff] [blame] | 116 | chip ec/lenovo/h8 |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 117 | device pnp ff.2 on # dummy |
| 118 | io 0x60 = 0x62 |
| 119 | io 0x62 = 0x66 |
| 120 | io 0x64 = 0x1600 |
| 121 | io 0x66 = 0x1604 |
| 122 | end |
Sven Schnelle | ffcd143 | 2011-04-11 19:43:32 +0000 | [diff] [blame] | 123 | |
| 124 | register "config0" = "0xa6" |
| 125 | register "config1" = "0x05" |
| 126 | register "config2" = "0xa0" |
Sven Schnelle | 8d0b86c | 2011-07-11 18:36:16 +0200 | [diff] [blame] | 127 | register "config3" = "0x01" |
Sven Schnelle | ffcd143 | 2011-04-11 19:43:32 +0000 | [diff] [blame] | 128 | |
| 129 | register "beepmask0" = "0xfe" |
| 130 | register "beepmask1" = "0x96" |
Vladimir Serbinenko | 9a3b9c4 | 2014-01-11 20:56:47 +0100 | [diff] [blame] | 131 | register "has_power_management_beeps" = "1" |
Sven Schnelle | ffcd143 | 2011-04-11 19:43:32 +0000 | [diff] [blame] | 132 | |
| 133 | register "event2_enable" = "0xff" |
| 134 | register "event3_enable" = "0xff" |
| 135 | register "event4_enable" = "0xf4" |
| 136 | register "event5_enable" = "0x3c" |
Sven Schnelle | 8d0b86c | 2011-07-11 18:36:16 +0200 | [diff] [blame] | 137 | register "event6_enable" = "0x80" |
| 138 | register "event7_enable" = "0x01" |
Sven Schnelle | 8d0b86c | 2011-07-11 18:36:16 +0200 | [diff] [blame] | 139 | register "event8_enable" = "0x01" |
| 140 | register "event9_enable" = "0xff" |
| 141 | register "eventa_enable" = "0xff" |
| 142 | register "eventb_enable" = "0xff" |
| 143 | register "eventc_enable" = "0xff" |
| 144 | register "eventd_enable" = "0xff" |
Patrick Rudolph | b77eec8 | 2017-05-21 09:20:39 +0200 | [diff] [blame] | 145 | |
| 146 | register "has_bdc_detection" = "1" |
| 147 | register "bdc_gpio_num" = "7" |
| 148 | register "bdc_gpio_lvl" = "0" |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 149 | end |
| 150 | chip superio/nsc/pc87382 |
| 151 | device pnp 164e.2 on # IR |
| 152 | io 0x60 = 0x2f8 |
| 153 | end |
| 154 | |
Vladimir Serbinenko | f2b3cd6 | 2014-02-15 17:00:46 +0100 | [diff] [blame] | 155 | device pnp 164e.3 on # Digitizer |
| 156 | io 0x60 = 0x200 |
| 157 | irq 0x29 = 0xb0 |
| 158 | irq 0x70 = 0x5 |
| 159 | irq 0xf0 = 0x82 |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 160 | end |
| 161 | |
| 162 | device pnp 164e.7 on # GPIO |
| 163 | io 0x60 = 0x1680 |
| 164 | end |
| 165 | |
| 166 | device pnp 164e.19 on # DLPC |
| 167 | io 0x60 = 0x164c |
| 168 | end |
| 169 | end |
| 170 | |
| 171 | chip superio/nsc/pc87392 |
| 172 | device pnp 2e.0 off #FDC |
| 173 | end |
| 174 | |
| 175 | device pnp 2e.1 on # Parallel Port |
| 176 | io 0x60 = 0x3bc |
| 177 | irq 0x70 = 7 |
| 178 | end |
| 179 | |
| 180 | device pnp 2e.2 off # Serial Port / IR |
| 181 | io 0x60 = 0x2f8 |
| 182 | irq 0x70 = 4 |
| 183 | end |
| 184 | |
| 185 | device pnp 2e.3 on # Serial Port |
| 186 | io 0x60 = 0x3f8 |
| 187 | irq 0x70 = 4 |
| 188 | end |
| 189 | |
| 190 | device pnp 2e.7 on # GPIO |
| 191 | io 0x60 = 0x1620 |
| 192 | end |
| 193 | |
| 194 | device pnp 2e.a off # WDT |
| 195 | end |
| 196 | end |
| 197 | end |
Sven Schnelle | 50270b8 | 2011-04-27 19:48:05 +0000 | [diff] [blame] | 198 | device pci 1f.1 on # IDE |
Sven Schnelle | 9132102 | 2011-03-01 19:58:47 +0000 | [diff] [blame] | 199 | subsystemid 0x17aa 0x200c |
| 200 | end |
| 201 | device pci 1f.2 on # SATA |
| 202 | subsystemid 0x17aa 0x200d |
| 203 | end |
| 204 | device pci 1f.3 on # SMBUS |
| 205 | subsystemid 0x17aa 0x200f |
Arthur Heymans | 24231ac | 2017-06-06 09:46:01 +0200 | [diff] [blame] | 206 | chip drivers/i2c/ck505 |
| 207 | register "mask" = "{ 0xff, 0xff, 0xff, |
| 208 | 0xff, 0xff, 0xff, 0xff, 0xff, |
| 209 | 0xff, 0xff, 0xff, 0xff }" |
| 210 | register "regs" = "{ 0x2e, 0xf7, 0x3c, |
| 211 | 0x20, 0x01, 0x00, 0x1b, 0x01, |
| 212 | 0x54, 0xff, 0xff, 0x07 }" |
Sven Schnelle | 6eb8bef | 2011-10-23 16:57:50 +0200 | [diff] [blame] | 213 | device i2c 69 on end |
| 214 | end |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 215 | # eeprom, 8 virtual devices, same chip |
Vladimir Serbinenko | 62adc4c | 2014-01-23 09:06:08 +0100 | [diff] [blame] | 216 | chip drivers/i2c/at24rf08c |
| 217 | device i2c 54 on end |
| 218 | device i2c 55 on end |
| 219 | device i2c 56 on end |
| 220 | device i2c 57 on end |
| 221 | device i2c 5c on end |
| 222 | device i2c 5d on end |
| 223 | device i2c 5e on end |
| 224 | device i2c 5f on end |
| 225 | end |
Sven Schnelle | 9132102 | 2011-03-01 19:58:47 +0000 | [diff] [blame] | 226 | end |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 227 | end |
| 228 | chip southbridge/ricoh/rl5c476 |
| 229 | end |
| 230 | end |
| 231 | end |