| 1 |
chip northbridge/intel/gm45 |
| 2 |
# IGD Displays |
| 3 |
register "gfx" = "GMA_STATIC_DISPLAYS(1)" |
| 4 |
|
| 5 |
register "gpu_panel_power_up_delay" = "250" # T1+T2: 25ms |
| 6 |
register "gpu_panel_power_down_delay" = "250" # T3: 25ms |
| 7 |
register "gpu_panel_power_backlight_on_delay" = "2500" # T5: 250ms |
| 8 |
register "gpu_panel_power_backlight_off_delay" = "2500" # Tx: 250ms |
| 9 |
register "gpu_panel_power_cycle_delay" = "3" # T4: 200ms |
| 10 |
|
| 11 |
register "slfm" = "1" |
| 12 |
|
| 13 |
device cpu_cluster 0 on ops gm45_cpu_bus_ops end |
| 14 |
|
| 15 |
register "pci_mmio_size" = "2048" |
| 16 |
|
| 17 |
device domain 0 on |
| 18 |
ops gm45_pci_domain_ops |
| 19 |
device pci 00.0 on |
| 20 |
subsystemid 0x17aa 0x20e0 |
| 21 |
end # host bridge |
| 22 |
device pci 02.0 on # VGA |
| 23 |
subsystemid 0x17aa 0x20e4 |
| 24 |
end |
| 25 |
device pci 02.1 on |
| 26 |
subsystemid 0x17aa 0x20e4 |
| 27 |
end # Display |
| 28 |
device pci 03.0 on |
| 29 |
subsystemid 0x17aa 0x20e6 |
| 30 |
end # ME |
| 31 |
device pci 03.1 off end # ME |
| 32 |
device pci 03.2 off end # ME |
| 33 |
device pci 03.3 off end # ME |
| 34 |
chip southbridge/intel/i82801ix |
| 35 |
register "pirqa_routing" = "0x0b" |
| 36 |
register "pirqb_routing" = "0x0b" |
| 37 |
register "pirqc_routing" = "0x0b" |
| 38 |
register "pirqd_routing" = "0x0b" |
| 39 |
register "pirqe_routing" = "0x80" |
| 40 |
register "pirqf_routing" = "0x80" |
| 41 |
register "pirqg_routing" = "0x80" |
| 42 |
register "pirqh_routing" = "0x80" |
| 43 |
|
| 44 |
register "gpi8_routing" = "2" |
| 45 |
register "gpe0_en" = "0x01000000" |
| 46 |
register "gpi1_routing" = "2" |
| 47 |
|
| 48 |
# Set AHCI mode, enable ports 1 and 2. |
| 49 |
register "sata_port_map" = "0x03" |
| 50 |
register "sata_clock_request" = "0" |
| 51 |
register "sata_traffic_monitor" = "0" |
| 52 |
|
| 53 |
# Set c-state support |
| 54 |
register "c4onc3_enable" = "1" |
| 55 |
register "c5_enable" = "1" |
| 56 |
register "c6_enable" = "1" |
| 57 |
|
| 58 |
# Set thermal throttling to 75%. |
| 59 |
register "throttle_duty" = "THTL_75_0" |
| 60 |
|
| 61 |
register "gen1_dec" = "0x007c1601" |
| 62 |
register "gen2_dec" = "0x000c15e1" |
| 63 |
register "gen3_dec" = "0x001c1681" |
| 64 |
|
| 65 |
device pci 19.0 on end # LAN |
| 66 |
device pci 1a.0 on # UHCI |
| 67 |
subsystemid 0x17aa 0x20f0 |
| 68 |
end |
| 69 |
device pci 1a.1 on # UHCI |
| 70 |
subsystemid 0x17aa 0x20f0 |
| 71 |
end |
| 72 |
device pci 1a.2 on # UHCI |
| 73 |
subsystemid 0x17aa 0x20f0 |
| 74 |
end |
| 75 |
device pci 1a.7 on # EHCI |
| 76 |
subsystemid 0x17aa 0x20f1 |
| 77 |
end |
| 78 |
device pci 1b.0 on # HD Audio |
| 79 |
subsystemid 0x17aa 0x20f2 |
| 80 |
end |
| 81 |
device pci 1c.0 on # PCIe Port #1 |
| 82 |
subsystemid 0x17aa 0x20f3 # WWAN |
| 83 |
end |
| 84 |
device pci 1c.1 on |
| 85 |
subsystemid 0x17aa 0x20f3 # WLAN |
| 86 |
end # PCIe Port #2 |
| 87 |
device pci 1c.2 on |
| 88 |
subsystemid 0x17aa 0x20f3 # UWB |
| 89 |
end # PCIe Port #3 |
| 90 |
device pci 1c.3 off end # PCIe Port #4 |
| 91 |
device pci 1c.4 off end # PCIe Port #5 |
| 92 |
device pci 1c.5 off end # PCIe Port #6 |
| 93 |
device pci 1d.0 on # UHCI |
| 94 |
subsystemid 0x17aa 0x20f0 |
| 95 |
end |
| 96 |
device pci 1d.1 on # UHCI |
| 97 |
subsystemid 0x17aa 0x20f0 |
| 98 |
end |
| 99 |
device pci 1d.2 on # UHCI |
| 100 |
subsystemid 0x17aa 0x20f0 |
| 101 |
end |
| 102 |
device pci 1d.7 on # EHCI |
| 103 |
subsystemid 0x17aa 0x20f1 |
| 104 |
end |
| 105 |
device pci 1e.0 on # PCI |
| 106 |
subsystemid 0x17aa 0x20f4 |
| 107 |
end |
| 108 |
device pci 1f.0 on # LPC bridge |
| 109 |
subsystemid 0x17aa 0x20f5 |
| 110 |
|
| 111 |
chip ec/lenovo/pmh7 |
| 112 |
device pnp ff.1 on end # dummy |
| 113 |
register "backlight_enable" = "true" |
| 114 |
end |
| 115 |
|
| 116 |
chip ec/lenovo/h8 |
| 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 |
| 123 |
|
| 124 |
register "config0" = "0xa6" |
| 125 |
register "config1" = "0x04" |
| 126 |
register "config2" = "0xa0" |
| 127 |
register "config3" = "0x01" |
| 128 |
|
| 129 |
register "beepmask0" = "0xfe" |
| 130 |
register "beepmask1" = "0x96" |
| 131 |
register "has_power_management_beeps" = "1" |
| 132 |
register "has_uwb" = "1" |
| 133 |
|
| 134 |
register "event2_enable" = "0xff" |
| 135 |
register "event3_enable" = "0xff" |
| 136 |
register "event4_enable" = "0xf4" |
| 137 |
register "event5_enable" = "0x3c" |
| 138 |
register "event6_enable" = "0x80" |
| 139 |
register "event7_enable" = "0x01" |
| 140 |
register "event8_enable" = "0x01" |
| 141 |
register "event9_enable" = "0xff" |
| 142 |
register "eventa_enable" = "0xff" |
| 143 |
register "eventb_enable" = "0xff" |
| 144 |
register "eventc_enable" = "0xff" |
| 145 |
register "eventd_enable" = "0xff" |
| 146 |
|
| 147 |
register "bdc_gpio_num" = "7" |
| 148 |
register "bdc_gpio_lvl" = "0" |
| 149 |
end |
| 150 |
end |
| 151 |
device pci 1f.2 on # SATA/IDE 1 |
| 152 |
subsystemid 0x17aa 0x20f8 |
| 153 |
end |
| 154 |
device pci 1f.3 on # SMBus |
| 155 |
subsystemid 0x17aa 0x20f9 |
| 156 |
# eeprom, 8 virtual devices, same chip |
| 157 |
chip drivers/i2c/at24rf08c |
| 158 |
device i2c 54 on end |
| 159 |
device i2c 55 on end |
| 160 |
device i2c 56 on end |
| 161 |
device i2c 57 on end |
| 162 |
device i2c 5c on end |
| 163 |
device i2c 5d on end |
| 164 |
device i2c 5e on end |
| 165 |
device i2c 5f on end |
| 166 |
end |
| 167 |
end |
| 168 |
device pci 1f.5 off end # SATA/IDE 2 |
| 169 |
device pci 1f.6 off end # Thermal |
| 170 |
end |
| 171 |
end |
| 172 |
end |