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 | |
Angel Pons | 29e71b1 | 2021-06-23 15:50:13 +0200 | [diff] [blame] | 12 | register "dq_pins_interleaved" = "true" |
| 13 | |
Arthur Heymans | dd96ab6 | 2021-11-15 20:11:12 +0100 | [diff] [blame] | 14 | chip cpu/intel/haswell |
| 15 | device cpu_cluster 0 on ops broadwell_cpu_bus_ops end |
Patrick Georgi | 04746fc | 2015-06-05 18:53:43 +0200 | [diff] [blame] | 16 | end |
| 17 | |
| 18 | device domain 0 on |
Arthur Heymans | 4c4bd3c | 2022-11-07 13:30:29 +0100 | [diff] [blame] | 19 | ops broadwell_pci_domain_ops |
Patrick Georgi | 04746fc | 2015-06-05 18:53:43 +0200 | [diff] [blame] | 20 | device pci 00.0 on end # host bridge |
| 21 | device pci 02.0 on end # vga controller |
| 22 | device pci 03.0 on end # mini-hd audio |
Patrick Georgi | 04746fc | 2015-06-05 18:53:43 +0200 | [diff] [blame] | 23 | |
Angel Pons | 3cc2c38 | 2020-10-23 20:38:23 +0200 | [diff] [blame] | 24 | chip soc/intel/broadwell/pch |
Angel Pons | f2a295a | 2020-10-23 20:40:20 +0200 | [diff] [blame] | 25 | # SuperIO range is 0x700-0x73f |
| 26 | register "gen2_dec" = "0x003c0701" |
| 27 | |
| 28 | register "alt_gp_smi_en" = "0x0000" |
| 29 | register "gpe0_en_1" = "0x00000000" |
| 30 | register "gpe0_en_2" = "0x00000000" |
| 31 | register "gpe0_en_3" = "0x00000000" |
| 32 | register "gpe0_en_4" = "0x00000000" |
| 33 | |
| 34 | register "sata_port_map" = "0x1" |
| 35 | register "sata_devslp_disable" = "0x1" |
| 36 | |
| 37 | # Force enable ASPM for PCIe Port 4 |
| 38 | register "pcie_port_force_aspm" = "0x10" |
| 39 | |
| 40 | # Enable port coalescing |
Angel Pons | af4bd56 | 2021-12-28 13:05:56 +0100 | [diff] [blame] | 41 | register "pcie_port_coalesce" = "true" |
Angel Pons | f2a295a | 2020-10-23 20:40:20 +0200 | [diff] [blame] | 42 | |
| 43 | # Disable PCIe CLKOUT 1,5 and CLKOUT_XDP |
| 44 | register "icc_clock_disable" = "0x01220000" |
| 45 | |
| 46 | device pci 13.0 off end # Smart Sound Audio DSP |
| 47 | device pci 14.0 on end # USB3 XHCI |
| 48 | device pci 15.0 off end # Serial I/O DMA |
| 49 | device pci 15.1 off end # I2C0 |
| 50 | device pci 15.2 off end # I2C1 |
| 51 | device pci 15.3 off end # GSPI0 |
| 52 | device pci 15.4 off end # GSPI1 |
| 53 | device pci 15.5 off end # UART0 |
| 54 | device pci 15.6 off end # UART1 |
| 55 | device pci 16.0 on end # Management Engine Interface 1 |
| 56 | device pci 16.1 off end # Management Engine Interface 2 |
| 57 | device pci 16.2 off end # Management Engine IDE-R |
| 58 | device pci 16.3 off end # Management Engine KT |
| 59 | device pci 17.0 off end # SDIO |
| 60 | device pci 19.0 off end # GbE |
| 61 | device pci 1b.0 on end # High Definition Audio |
| 62 | device pci 1c.0 off end # PCIe Port #1 |
| 63 | device pci 1c.1 off end # PCIe Port #2 |
| 64 | device pci 1c.2 on end # PCIe Port #3 |
| 65 | device pci 1c.3 on end # PCIe Port #4 |
| 66 | device pci 1c.4 on end # PCIe Port #5 |
| 67 | device pci 1c.5 off end # PCIe Port #6 |
| 68 | device pci 1d.0 on end # USB2 EHCI |
| 69 | device pci 1e.0 off end # PCI bridge |
| 70 | device pci 1f.0 on |
| 71 | chip drivers/pc80/tpm |
| 72 | device pnp 0c31.0 on end |
Patrick Georgi | 04746fc | 2015-06-05 18:53:43 +0200 | [diff] [blame] | 73 | end |
Angel Pons | f2a295a | 2020-10-23 20:40:20 +0200 | [diff] [blame] | 74 | chip superio/ite/it8772f |
| 75 | # Skip keyboard init |
Elyes Haouas | 7bde4e8 | 2022-12-02 08:42:04 +0100 | [diff] [blame] | 76 | register "skip_keyboard" = "true" |
Angel Pons | f2a295a | 2020-10-23 20:40:20 +0200 | [diff] [blame] | 77 | # Enable PECI on TMPIN3 |
Joel Linn | fb51661 | 2024-03-29 14:08:35 +0100 | [diff] [blame^] | 78 | register "TMPIN3.mode" = "THERMAL_PECI" |
Angel Pons | f2a295a | 2020-10-23 20:40:20 +0200 | [diff] [blame] | 79 | # Enable Thermal Diode on TMPIN2 |
Joel Linn | fb51661 | 2024-03-29 14:08:35 +0100 | [diff] [blame^] | 80 | register "TMPIN2.mode" = "THERMAL_DIODE" |
Angel Pons | f2a295a | 2020-10-23 20:40:20 +0200 | [diff] [blame] | 81 | # Enable FAN2 |
Joel Linn | fb51661 | 2024-03-29 14:08:35 +0100 | [diff] [blame^] | 82 | register "FAN2.mode" = "FAN_SMART_SOFTWARE" |
Angel Pons | f2a295a | 2020-10-23 20:40:20 +0200 | [diff] [blame] | 83 | # Default FAN2 speed |
Joel Linn | fb51661 | 2024-03-29 14:08:35 +0100 | [diff] [blame^] | 84 | register "FAN2.smart.pwm_start" = "30" |
Angel Pons | f2a295a | 2020-10-23 20:40:20 +0200 | [diff] [blame] | 85 | |
| 86 | device pnp 2e.0 off end # FDC |
| 87 | device pnp 2e.1 on # Serial Port 1 |
| 88 | io 0x60 = 0x3f8 |
| 89 | irq 0x70 = 4 |
| 90 | end |
| 91 | device pnp 2e.4 on # Environment Controller |
| 92 | io 0x60 = 0x700 |
| 93 | io 0x62 = 0x710 |
| 94 | irq 0x70 = 0x09 |
| 95 | irq 0xf2 = 0x20 |
| 96 | irq 0xf4 = 0x0 |
| 97 | irq 0xfa = 0x12 |
| 98 | end |
| 99 | device pnp 2e.7 on # GPIO |
| 100 | io 0x60 = 0x720 |
| 101 | io 0x62 = 0x730 |
| 102 | end |
| 103 | device pnp 2e.5 off |
| 104 | io 0x60 = 0x60 |
| 105 | io 0x62 = 0x64 |
| 106 | irq 0x70 = 1 |
| 107 | end # Keyboard |
| 108 | device pnp 2e.6 off |
| 109 | irq 0x70 = 12 |
| 110 | end # Mouse |
| 111 | device pnp 2e.a off end # IR |
Patrick Georgi | 04746fc | 2015-06-05 18:53:43 +0200 | [diff] [blame] | 112 | end |
Angel Pons | f2a295a | 2020-10-23 20:40:20 +0200 | [diff] [blame] | 113 | end # LPC bridge |
| 114 | device pci 1f.2 on end # SATA Controller |
| 115 | device pci 1f.3 on end # SMBus |
| 116 | device pci 1f.6 on end # Thermal |
Angel Pons | 3cc2c38 | 2020-10-23 20:38:23 +0200 | [diff] [blame] | 117 | end |
Patrick Georgi | 04746fc | 2015-06-05 18:53:43 +0200 | [diff] [blame] | 118 | end |
| 119 | end |