| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
chip northbridge/intel/i945 |
| 4 |
# IGD Displays |
| 5 |
register "gfx" = "GMA_STATIC_DISPLAYS(0)" |
| 6 |
|
| 7 |
register "gpu_hotplug" = "0x00000220" |
| 8 |
register "gpu_lvds_use_spread_spectrum_clock" = "true" |
| 9 |
register "pwm_freq" = "275" |
| 10 |
register "gpu_panel_power_up_delay" = "250" |
| 11 |
register "gpu_panel_power_backlight_on_delay" = "2380" |
| 12 |
register "gpu_panel_power_down_delay" = "250" |
| 13 |
register "gpu_panel_power_backlight_off_delay" = "2380" |
| 14 |
register "gpu_panel_power_cycle_delay" = "2" |
| 15 |
|
| 16 |
device cpu_cluster 0 on ops i945_cpu_bus_ops end # APIC cluster |
| 17 |
|
| 18 |
register "pci_mmio_size" = "768" |
| 19 |
|
| 20 |
device domain 0 on |
| 21 |
ops i945_pci_domain_ops |
| 22 |
device pci 00.0 on # Host bridge |
| 23 |
subsystemid 0x17aa 0x2015 |
| 24 |
end |
| 25 |
device pci 01.0 on # PCI-e |
| 26 |
device pci 00.0 on # VGA |
| 27 |
subsystemid 0x17aa 0x20a4 |
| 28 |
end |
| 29 |
end |
| 30 |
|
| 31 |
device pci 02.0 on # GMA Graphics controller |
| 32 |
subsystemid 0x17aa 0x201a |
| 33 |
end |
| 34 |
device pci 02.1 on # display controller |
| 35 |
subsystemid 0x17aa 0x201a |
| 36 |
end |
| 37 |
|
| 38 |
chip southbridge/intel/i82801gx |
| 39 |
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) |
| 52 |
register "gpi13_routing" = "2" |
| 53 |
register "gpi12_routing" = "2" |
| 54 |
register "gpi8_routing" = "2" |
| 55 |
|
| 56 |
register "sata_ports_implemented" = "0x01" |
| 57 |
|
| 58 |
register "gpe0_en" = "0x11000006" |
| 59 |
register "alt_gp_smi_en" = "0x1000" |
| 60 |
|
| 61 |
register "c4onc3_enable" = "true" |
| 62 |
register "c3_latency" = "0x23" |
| 63 |
register "docking_supported" = "true" |
| 64 |
register "p_cnt_throttling_supported" = "true" |
| 65 |
|
| 66 |
register "gen1_dec" = "0x007c1601" |
| 67 |
register "gen2_dec" = "0x000c15e1" |
| 68 |
register "gen3_dec" = "0x001c1681" |
| 69 |
|
| 70 |
device pci 1b.0 on # Audio Controller |
| 71 |
subsystemid 0x17aa 0x2010 |
| 72 |
end |
| 73 |
device pci 1c.0 on # Ethernet |
| 74 |
subsystemid 0x17aa 0x2001 |
| 75 |
end |
| 76 |
device pci 1c.1 on end # WLAN |
| 77 |
device pci 1c.2 on end # PCIe port 3 |
| 78 |
device pci 1c.3 on end # PCIe port 4 |
| 79 |
device pci 1c.4 off end # PCIe port 5 |
| 80 |
device pci 1c.5 off end # PCIe port 6 |
| 81 |
|
| 82 |
device pci 1d.0 on # USB UHCI |
| 83 |
subsystemid 0x17aa 0x200a |
| 84 |
end |
| 85 |
device pci 1d.1 on # USB UHCI |
| 86 |
subsystemid 0x17aa 0x200a |
| 87 |
end |
| 88 |
device pci 1d.2 on # USB UHCI |
| 89 |
subsystemid 0x17aa 0x200a |
| 90 |
end |
| 91 |
device pci 1d.3 on # USB UHCI |
| 92 |
subsystemid 0x17aa 0x200a |
| 93 |
end |
| 94 |
device pci 1d.7 on # USB2 EHCI |
| 95 |
subsystemid 0x17aa 0x200b |
| 96 |
end |
| 97 |
device pci 1e.0 on # PCI Bridge |
| 98 |
chip southbridge/ti/pci1x2x |
| 99 |
device pci 00.0 on |
| 100 |
subsystemid 0x17aa 0x2012 |
| 101 |
end |
| 102 |
register "scr" = "0x0844d070" |
| 103 |
register "mrr" = "0x01d01002" |
| 104 |
end |
| 105 |
end |
| 106 |
device pci 1e.2 off end # AC'97 Audio |
| 107 |
device pci 1e.3 off end # AC'97 Modem |
| 108 |
device pci 1f.0 on # PCI-LPC bridge |
| 109 |
subsystemid 0x17aa 0x2009 |
| 110 |
chip ec/lenovo/pmh7 |
| 111 |
device pnp ff.1 on end # dummy |
| 112 |
register "backlight_enable" = "true" |
| 113 |
register "dock_event_enable" = "true" |
| 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 |
|
| 123 |
register "config0" = "0xa6" |
| 124 |
register "config1" = "0x05" |
| 125 |
register "config2" = "0xa0" |
| 126 |
register "config3" = "0x01" |
| 127 |
|
| 128 |
register "beepmask0" = "0xfe" |
| 129 |
register "beepmask1" = "0x96" |
| 130 |
register "has_power_management_beeps" = "1" |
| 131 |
|
| 132 |
register "event2_enable" = "0xff" |
| 133 |
register "event3_enable" = "0xff" |
| 134 |
register "event4_enable" = "0xf4" |
| 135 |
register "event5_enable" = "0x3f" |
| 136 |
register "event6_enable" = "0x80" |
| 137 |
register "event7_enable" = "0x01" |
| 138 |
register "event8_enable" = "0x01" |
| 139 |
register "event9_enable" = "0xff" |
| 140 |
register "eventa_enable" = "0xff" |
| 141 |
register "eventb_enable" = "0xff" |
| 142 |
register "eventc_enable" = "0x3c" |
| 143 |
register "eventd_enable" = "0xff" |
| 144 |
end |
| 145 |
chip superio/nsc/pc87382 |
| 146 |
device pnp 164e.2 on # IR |
| 147 |
io 0x60 = 0x2f8 |
| 148 |
end |
| 149 |
|
| 150 |
device pnp 164e.3 off # Serial Port |
| 151 |
io 0x60 = 0x3f8 |
| 152 |
end |
| 153 |
|
| 154 |
device pnp 164e.7 on # GPIO |
| 155 |
io 0x60 = 0x1680 |
| 156 |
end |
| 157 |
|
| 158 |
device pnp 164e.19 on # DLPC |
| 159 |
io 0x60 = 0x164c |
| 160 |
end |
| 161 |
end |
| 162 |
|
| 163 |
chip superio/nsc/pc87384 |
| 164 |
device pnp 2e.0 off end #FDC |
| 165 |
|
| 166 |
device pnp 2e.1 on # Parallel Port |
| 167 |
io 0x60 = 0x3bc |
| 168 |
irq 0x70 = 7 |
| 169 |
end |
| 170 |
|
| 171 |
device pnp 2e.2 off # Serial Port / IR |
| 172 |
io 0x60 = 0x2f8 |
| 173 |
irq 0x70 = 4 |
| 174 |
end |
| 175 |
|
| 176 |
device pnp 2e.3 on # Serial Port |
| 177 |
io 0x60 = 0x3f8 |
| 178 |
irq 0x70 = 4 |
| 179 |
end |
| 180 |
|
| 181 |
device pnp 2e.7 on # GPIO |
| 182 |
io 0x60 = 0x1620 |
| 183 |
end |
| 184 |
|
| 185 |
device pnp 2e.a off end # WDT |
| 186 |
end |
| 187 |
end |
| 188 |
device pci 1f.2 on # SATA |
| 189 |
subsystemid 0x17aa 0x200d |
| 190 |
end |
| 191 |
device pci 1f.3 on # SMBUS |
| 192 |
subsystemid 0x17aa 0x200f |
| 193 |
chip drivers/i2c/ck505 |
| 194 |
device i2c 69 on end |
| 195 |
end |
| 196 |
# eeprom, 8 virtual devices, same chip |
| 197 |
chip drivers/i2c/at24rf08c |
| 198 |
device i2c 54 on end |
| 199 |
device i2c 55 on end |
| 200 |
device i2c 56 on end |
| 201 |
device i2c 57 on end |
| 202 |
device i2c 5c on end |
| 203 |
device i2c 5d on end |
| 204 |
device i2c 5e on end |
| 205 |
device i2c 5f on end |
| 206 |
end |
| 207 |
end |
| 208 |
end |
| 209 |
end |
| 210 |
end |