James Ye | be6fd4c | 2017-07-22 19:19:42 +1000 | [diff] [blame] | 1 | chip northbridge/intel/sandybridge |
| 2 | # IGD Displays |
| 3 | register "gfx.ndid" = "3" |
| 4 | register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410 }" |
| 5 | |
| 6 | register "gpu_dp_d_hotplug" = "0x04" |
| 7 | |
| 8 | # Enable Panel as LVDS and configure power delays |
| 9 | register "gpu_panel_port_select" = "0" |
| 10 | register "gpu_panel_power_cycle_delay" = "4" |
| 11 | register "gpu_panel_power_up_delay" = "100" |
| 12 | register "gpu_panel_power_down_delay" = "100" |
| 13 | register "gpu_panel_power_backlight_on_delay" = "3000" |
| 14 | register "gpu_panel_power_backlight_off_delay" = "2000" |
| 15 | register "gfx.use_spread_spectrum_clock" = "1" |
| 16 | register "gfx.link_frequency_270_mhz" = "1" |
| 17 | register "gpu_cpu_backlight" = "0x1155" |
| 18 | register "gpu_pch_backlight" = "0x11551155" |
| 19 | |
| 20 | device cpu_cluster 0x0 on |
James Ye | be6fd4c | 2017-07-22 19:19:42 +1000 | [diff] [blame] | 21 | chip cpu/intel/model_206ax |
| 22 | # Magic APIC ID to locate this chip |
Arthur Heymans | 7e6946a | 2019-01-21 17:55:02 +0100 | [diff] [blame^] | 23 | device lapic 0x0 on end |
James Ye | be6fd4c | 2017-07-22 19:19:42 +1000 | [diff] [blame] | 24 | device lapic 0xacac off end |
| 25 | |
| 26 | register "c1_acpower" = "1" |
| 27 | register "c2_acpower" = "3" |
| 28 | register "c3_acpower" = "5" |
| 29 | |
| 30 | register "c1_battery" = "1" |
| 31 | register "c2_battery" = "3" |
| 32 | register "c3_battery" = "5" |
| 33 | end |
| 34 | end |
| 35 | |
| 36 | register "pci_mmio_size" = "1024" |
| 37 | |
| 38 | device domain 0x0 on |
| 39 | subsystemid 0x17aa 0x21fe inherit |
| 40 | |
| 41 | device pci 00.0 on end # Host bridge |
| 42 | device pci 01.0 off end # PCIe Bridge for discrete graphics |
| 43 | device pci 02.0 on end # Internal graphics VGA controller |
| 44 | device pci 04.0 off end # Signal processing controller |
| 45 | |
| 46 | chip southbridge/intel/bd82x6x |
| 47 | # GPI routing |
| 48 | register "alt_gp_smi_en" = "0x0000" |
| 49 | register "gpi6_routing" = "2" |
| 50 | register "gpi13_routing" = "2" |
| 51 | |
| 52 | # Enable SATA ports |
| 53 | register "sata_port_map" = "0x1" |
| 54 | # Set max SATA speed to 6.0 Gb/s |
| 55 | register "sata_interface_speed_support" = "0x3" |
| 56 | |
| 57 | register "gen1_dec" = "0x007c1611" |
| 58 | register "gen2_dec" = "0x00040069" |
| 59 | register "gen3_dec" = "0x000c0701" |
| 60 | register "gen4_dec" = "0x000c06a1" |
| 61 | |
| 62 | register "xhci_switchable_ports" = "0xf" |
| 63 | register "superspeed_capable_ports" = "0xf" |
| 64 | register "xhci_overcurrent_mapping" = "0x00000c03" |
| 65 | |
| 66 | # Enable zero-based linear PCIe root port functions |
| 67 | register "pcie_port_coalesce" = "1" |
| 68 | register "c2_latency" = "0x0065" |
| 69 | register "p_cnt_throttling_supported" = "1" |
| 70 | |
| 71 | register "spi_uvscc" = "0x2005" |
| 72 | register "spi_lvscc" = "0x2005" |
| 73 | |
| 74 | device pci 14.0 on end # USB 3.0 Controller |
| 75 | device pci 16.0 off end # Management Engine Interface 1 |
| 76 | device pci 16.1 off end # Management Engine Interface 2 |
| 77 | device pci 16.2 off end # Management Engine IDE-R |
| 78 | device pci 16.3 off end # Management Engine KT |
| 79 | device pci 19.0 off end # Intel Gigabit Ethernet |
| 80 | device pci 1a.0 on end # USB2 EHCI #2 |
| 81 | device pci 1b.0 on end # High Definition Audio Audio controller |
| 82 | device pci 1c.0 on end # PCIe Port #1 |
| 83 | device pci 1c.1 on end # PCIe Port #2 (WLAN card) |
| 84 | device pci 1c.2 on end # PCIe Port #3 (Card Reader) |
| 85 | device pci 1c.3 off end # PCIe Port #4 |
| 86 | device pci 1c.4 off end # PCIe Port #5 |
| 87 | device pci 1c.5 on end # PCIe Port #6 (Ethernet controller) |
| 88 | device pci 1c.6 off end # PCIe Port #7 |
| 89 | device pci 1c.7 off end # PCIe Port #8 |
| 90 | device pci 1d.0 on end # USB2 EHCI #1 |
| 91 | device pci 1e.0 off end # PCI bridge |
| 92 | device pci 1f.0 on # LPC bridge PCI-LPC bridge |
| 93 | chip ec/lenovo/pmh7 |
| 94 | register "backlight_enable" = "0x01" |
| 95 | register "dock_event_enable" = "0x00" |
| 96 | device pnp ff.1 on end # dummy |
| 97 | end |
| 98 | |
| 99 | chip drivers/pc80/tpm |
| 100 | device pnp 0c31.0 on end |
| 101 | end |
| 102 | |
| 103 | chip ec/lenovo/h8 |
| 104 | device pnp ff.2 on # dummy |
| 105 | io 0x60 = 0x62 |
| 106 | io 0x62 = 0x66 |
| 107 | io 0x64 = 0x1600 |
| 108 | io 0x66 = 0x1604 |
| 109 | end |
| 110 | |
| 111 | register "config0" = "0xa6" |
| 112 | register "config1" = "0x04" |
| 113 | register "config2" = "0xa0" |
| 114 | register "config3" = "0x62" |
| 115 | |
| 116 | register "has_keyboard_backlight" = "0" |
| 117 | |
| 118 | register "beepmask0" = "0x00" |
| 119 | register "beepmask1" = "0x87" |
| 120 | register "has_power_management_beeps" = "0" |
| 121 | |
| 122 | register "event0_enable" = "0xff" |
| 123 | register "event1_enable" = "0xff" |
| 124 | register "event2_enable" = "0xff" |
| 125 | register "event3_enable" = "0xff" |
| 126 | register "event4_enable" = "0xff" |
| 127 | register "event5_enable" = "0xff" |
| 128 | register "event6_enable" = "0xff" |
| 129 | register "event7_enable" = "0xff" |
| 130 | register "event8_enable" = "0xff" |
| 131 | register "event9_enable" = "0xff" |
| 132 | register "eventa_enable" = "0xff" |
| 133 | register "eventb_enable" = "0xff" |
| 134 | register "eventc_enable" = "0xff" |
| 135 | register "eventd_enable" = "0xff" |
| 136 | register "evente_enable" = "0xff" |
| 137 | register "eventf_enable" = "0xff" |
| 138 | end |
| 139 | end |
| 140 | device pci 1f.2 on end # SATA Controller 1 |
| 141 | device pci 1f.3 on # SMBus |
| 142 | # eeprom, 8 virtual devices, same chip |
| 143 | chip drivers/i2c/at24rf08c |
| 144 | device i2c 54 on end |
| 145 | device i2c 55 on end |
| 146 | device i2c 56 on end |
| 147 | device i2c 57 on end |
| 148 | device i2c 5c on end |
| 149 | device i2c 5d on end |
| 150 | device i2c 5e on end |
| 151 | device i2c 5f on end |
| 152 | end |
| 153 | end |
| 154 | device pci 1f.5 off end # SATA Controller 2 |
| 155 | device pci 1f.6 off end # Thermal |
| 156 | end |
| 157 | end |
| 158 | end |