Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +0100 | [diff] [blame] | 1 | chip northbridge/intel/sandybridge |
| 2 | |
| 3 | # Enable DisplayPort Hotplug with 6ms pulse |
| 4 | register "gpu_dp_d_hotplug" = "0x06" |
| 5 | |
| 6 | # Enable Panel as LVDS and configure power delays |
| 7 | register "gpu_panel_port_select" = "0" # LVDS |
| 8 | register "gpu_panel_power_cycle_delay" = "6" # T7: 500ms |
| 9 | register "gpu_panel_power_up_delay" = "100" # T1+T2: 10ms |
| 10 | register "gpu_panel_power_down_delay" = "100" # T5+T6: 10ms |
| 11 | register "gpu_panel_power_backlight_on_delay" = "2100" # T3: 210ms |
| 12 | register "gpu_panel_power_backlight_off_delay" = "2100" # T4: 210ms |
| 13 | |
| 14 | device cpu_cluster 0 on |
| 15 | chip cpu/intel/socket_rPGA989 |
| 16 | device lapic 0 on end |
| 17 | end |
| 18 | chip cpu/intel/model_206ax |
| 19 | # Magic APIC ID to locate this chip |
| 20 | device lapic 0xACAC off end |
| 21 | |
| 22 | # Coordinate with HW_ALL |
| 23 | register "pstate_coord_type" = "0xfe" |
| 24 | |
| 25 | register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1) |
| 26 | register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3) |
| 27 | register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7) |
| 28 | |
| 29 | register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1) |
| 30 | register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3) |
| 31 | register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7) |
| 32 | end |
| 33 | end |
| 34 | |
| 35 | device domain 0 on |
| 36 | device pci 00.0 on end # host bridge |
| 37 | device pci 01.0 off end # PCIe Bridge for discrete graphics |
| 38 | device pci 02.0 on end # vga controller |
| 39 | |
| 40 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
| 41 | register "pirqa_routing" = "0x8b" |
| 42 | register "pirqb_routing" = "0x8a" |
| 43 | register "pirqc_routing" = "0x8b" |
| 44 | register "pirqd_routing" = "0x8b" |
| 45 | register "pirqe_routing" = "0x80" |
| 46 | register "pirqf_routing" = "0x80" |
| 47 | register "pirqg_routing" = "0x80" |
| 48 | register "pirqh_routing" = "0x80" |
| 49 | |
| 50 | # GPI routing |
| 51 | # 0 No effect (default) |
| 52 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 53 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 54 | register "alt_gp_smi_en" = "0x0000" |
| 55 | register "gpi1_routing" = "2" |
| 56 | register "gpi8_routing" = "2" |
| 57 | |
| 58 | # Enable SATA ports 0 & 1 |
| 59 | register "sata_port_map" = "0x3" |
| 60 | # Set max SATA speed to 6.0 Gb/s |
| 61 | register "sata_interface_speed_support" = "0x3" |
| 62 | |
| 63 | register "gen1_dec" = "0x7c1601" |
| 64 | register "gen2_dec" = "0x0c15e1" |
| 65 | register "gen4_dec" = "0x0c06a1" |
| 66 | |
| 67 | # Enable zero-based linear PCIe root port functions |
| 68 | register "pcie_port_coalesce" = "1" |
| 69 | |
| 70 | device pci 14.0 on end # USB 3.0 Controller |
| 71 | device pci 16.0 on end # Management Engine Interface 1 |
| 72 | device pci 16.1 off end # Management Engine Interface 2 |
| 73 | device pci 16.2 off end # Management Engine IDE-R |
| 74 | device pci 16.3 off end # Management Engine KT |
| 75 | device pci 19.0 on end # Intel Gigabit Ethernet |
| 76 | device pci 1a.0 on end # USB2 EHCI #2 |
| 77 | device pci 1b.0 on end # High Definition Audio |
| 78 | device pci 1c.0 on end # PCIe Port #1 |
| 79 | device pci 1c.1 on end # PCIe Port #2 |
| 80 | device pci 1c.2 on end # PCIe Port #3 (expresscard) |
| 81 | device pci 1c.3 off end # PCIe Port #4 |
| 82 | device pci 1c.4 off end # PCIe Port #5 |
| 83 | device pci 1c.5 off end # PCIe Port #6 |
| 84 | device pci 1c.6 off end # PCIe Port #7 |
| 85 | device pci 1c.7 off end # PCIe Port #8 |
| 86 | device pci 1d.0 on end # USB2 EHCI #1 |
| 87 | device pci 1e.0 off end # PCI bridge |
| 88 | device pci 1f.0 on #LPC bridge |
| 89 | chip ec/lenovo/pmh7 |
| 90 | device pnp ff.1 on # dummy |
| 91 | end |
| 92 | register "backlight_enable" = "0x01" |
| 93 | register "dock_event_enable" = "0x01" |
| 94 | end |
| 95 | |
| 96 | chip ec/lenovo/h8 |
| 97 | device pnp ff.2 on # dummy |
| 98 | io 0x60 = 0x62 |
| 99 | io 0x62 = 0x66 |
| 100 | io 0x64 = 0x1600 |
| 101 | io 0x66 = 0x1604 |
| 102 | end |
| 103 | |
| 104 | register "config0" = "0xa6" |
| 105 | register "config1" = "0x09" |
| 106 | register "config2" = "0xa0" |
| 107 | register "config3" = "0xe0" |
| 108 | |
| 109 | register "has_keyboard_backlight" = "1" |
| 110 | |
| 111 | register "beepmask0" = "0x00" |
| 112 | register "beepmask1" = "0x86" |
| 113 | register "has_power_management_beeps" = "0" |
| 114 | register "event2_enable" = "0xff" |
| 115 | register "event3_enable" = "0xff" |
| 116 | register "event4_enable" = "0xd0" |
| 117 | register "event5_enable" = "0xfc" |
| 118 | register "event6_enable" = "0x00" |
| 119 | register "event7_enable" = "0x01" |
| 120 | register "event8_enable" = "0x7b" |
| 121 | register "event9_enable" = "0xff" |
| 122 | register "eventa_enable" = "0x01" |
| 123 | register "eventb_enable" = "0x00" |
| 124 | register "eventc_enable" = "0xff" |
| 125 | register "eventd_enable" = "0xff" |
| 126 | register "evente_enable" = "0x0d" |
| 127 | end |
| 128 | end # LPC bridge |
| 129 | device pci 1f.2 on end # SATA Controller 1 |
Vladimir Serbinenko | 62adc4c | 2014-01-23 09:06:08 +0100 | [diff] [blame] | 130 | device pci 1f.3 on |
| 131 | # eeprom, 8 virtual devices, same chip |
| 132 | chip drivers/i2c/at24rf08c |
| 133 | device i2c 54 on end |
| 134 | device i2c 55 on end |
| 135 | device i2c 56 on end |
| 136 | device i2c 57 on end |
| 137 | device i2c 5c on end |
| 138 | device i2c 5d on end |
| 139 | device i2c 5e on end |
| 140 | device i2c 5f on end |
| 141 | end |
| 142 | end # SMBus |
Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +0100 | [diff] [blame] | 143 | device pci 1f.5 off end # SATA Controller 2 |
| 144 | device pci 1f.6 on end # Thermal |
| 145 | end |
| 146 | end |
| 147 | end |