Patrick Georgi | 04746fc | 2015-06-05 18:53:43 +0200 | [diff] [blame] | 1 | chip soc/intel/broadwell |
| 2 | |
| 3 | # Disable eDP Hotplug |
| 4 | register "gpu_dp_d_hotplug" = "0x00" |
| 5 | |
| 6 | # Enable DisplayPort C Hotplug with 6ms pulse |
| 7 | register "gpu_dp_c_hotplug" = "0x06" |
| 8 | |
| 9 | # Enable HDMI Hotplug with 6ms pulse |
| 10 | register "gpu_dp_b_hotplug" = "0x06" |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | register "pirqa_routing" = "0x8b" |
| 16 | register "pirqb_routing" = "0x8a" |
| 17 | register "pirqc_routing" = "0x8b" |
| 18 | register "pirqd_routing" = "0x8b" |
| 19 | register "pirqe_routing" = "0x80" |
| 20 | register "pirqf_routing" = "0x80" |
| 21 | register "pirqg_routing" = "0x80" |
| 22 | register "pirqh_routing" = "0x80" |
| 23 | |
| 24 | # SuperIO range is 0x700-0x73f |
| 25 | register "gen2_dec" = "0x003c0701" |
| 26 | |
| 27 | register "alt_gp_smi_en" = "0x0000" |
| 28 | register "gpe0_en_1" = "0x00000000" |
| 29 | register "gpe0_en_2" = "0x00000000" |
| 30 | register "gpe0_en_3" = "0x00000000" |
| 31 | register "gpe0_en_4" = "0x00000000" |
| 32 | |
| 33 | register "sata_port_map" = "0x1" |
| 34 | register "sata_devslp_disable" = "0x1" |
| 35 | |
| 36 | register "sio_acpi_mode" = "0" |
| 37 | register "sio_i2c0_voltage" = "0" # 3.3V |
| 38 | register "sio_i2c1_voltage" = "0" # 3.3V |
| 39 | |
| 40 | # Force enable ASPM for PCIe Port 4 |
| 41 | register "pcie_port_force_aspm" = "0x10" |
| 42 | |
| 43 | # Enable port coalescing |
| 44 | register "pcie_port_coalesce" = "1" |
| 45 | |
| 46 | # Disable PCIe CLKOUT 1,5 and CLKOUT_XDP |
| 47 | register "icc_clock_disable" = "0x01220000" |
| 48 | |
| 49 | device cpu_cluster 0 on |
| 50 | device lapic 0 on end |
| 51 | end |
| 52 | |
| 53 | device domain 0 on |
| 54 | device pci 00.0 on end # host bridge |
| 55 | device pci 02.0 on end # vga controller |
| 56 | device pci 03.0 on end # mini-hd audio |
| 57 | device pci 13.0 off end # Smart Sound Audio DSP |
| 58 | device pci 14.0 on end # USB3 XHCI |
| 59 | device pci 15.0 off end # Serial I/O DMA |
| 60 | device pci 15.1 off end # I2C0 |
| 61 | device pci 15.2 off end # I2C1 |
| 62 | device pci 15.3 off end # GSPI0 |
| 63 | device pci 15.4 off end # GSPI1 |
| 64 | device pci 15.5 off end # UART0 |
| 65 | device pci 15.6 off end # UART1 |
| 66 | device pci 16.0 on end # Management Engine Interface 1 |
| 67 | device pci 16.1 off end # Management Engine Interface 2 |
| 68 | device pci 16.2 off end # Management Engine IDE-R |
| 69 | device pci 16.3 off end # Management Engine KT |
| 70 | device pci 17.0 off end # SDIO |
| 71 | device pci 19.0 off end # GbE |
| 72 | device pci 1b.0 on end # High Definition Audio |
| 73 | device pci 1c.0 off end # PCIe Port #1 |
| 74 | device pci 1c.1 off end # PCIe Port #2 |
| 75 | device pci 1c.2 on end # PCIe Port #3 |
| 76 | device pci 1c.3 on end # PCIe Port #4 |
| 77 | device pci 1c.4 on end # PCIe Port #5 |
| 78 | device pci 1c.5 off end # PCIe Port #6 |
| 79 | device pci 1d.0 on end # USB2 EHCI |
| 80 | device pci 1e.0 off end # PCI bridge |
| 81 | device pci 1f.0 on |
| 82 | chip superio/ite/it8772f |
| 83 | # Skip keyboard init |
| 84 | register "skip_keyboard" = "1" |
| 85 | # Enable PECI on TMPIN3 |
| 86 | register "peci_tmpin" = "3" |
| 87 | # Enable FAN2 |
| 88 | register "fan2_enable" = "1" |
| 89 | |
| 90 | device pnp 2e.0 off end # FDC |
| 91 | device pnp 2e.1 on # Serial Port 1 |
| 92 | io 0x60 = 0x3f8 |
| 93 | irq 0x70 = 4 |
| 94 | end |
| 95 | device pnp 2e.4 on # Environment Controller |
| 96 | io 0x60 = 0x700 |
| 97 | io 0x62 = 0x710 |
| 98 | irq 0x70 = 0x09 |
| 99 | irq 0xf2 = 0x20 |
| 100 | irq 0xf4 = 0x0 |
| 101 | irq 0xfa = 0x12 |
| 102 | end |
| 103 | device pnp 2e.7 on # GPIO |
| 104 | io 0x60 = 0x720 |
| 105 | io 0x62 = 0x730 |
| 106 | end |
| 107 | device pnp 2e.5 off |
| 108 | io 0x60 = 0x60 |
| 109 | io 0x62 = 0x64 |
| 110 | irq 0x70 = 1 |
| 111 | end # Keyboard |
| 112 | device pnp 2e.6 off |
| 113 | irq 0x70 = 12 |
| 114 | end # Mouse |
| 115 | device pnp 2e.a off end # IR |
| 116 | end |
| 117 | end # LPC bridge |
| 118 | device pci 1f.2 on end # SATA Controller |
| 119 | device pci 1f.3 on end # SMBus |
| 120 | device pci 1f.6 on end # Thermal |
| 121 | end |
| 122 | end |