blob: 9dacd6d71e0dfba08441718da00acc9eac2180ca [file] [log] [blame]
Matt DeVillier81ae67a2016-11-08 15:04:30 -06001chip northbridge/intel/haswell
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 Pons8aab7872020-07-04 01:24:59 +020012 register "dq_pins_interleaved" = "true"
13
14 register "usb_xhci_on_resume" = "true"
15
Arthur Heymansdd96ab62021-11-15 20:11:12 +010016 chip cpu/intel/haswell
17 device cpu_cluster 0 on ops haswell_cpu_bus_ops end
Matt DeVillier81ae67a2016-11-08 15:04:30 -060018 end
19
20 device domain 0 on
Arthur Heymans600fa262022-11-07 08:04:59 +010021 ops haswell_pci_domain_ops
Matt DeVillier81ae67a2016-11-08 15:04:30 -060022 subsystemid 0x1ae0 0xc000 inherit
23 device pci 00.0 on end # host bridge
24 device pci 02.0 on end # vga controller
25 device pci 03.0 on end # mini-hd audio
26
27 chip southbridge/intel/lynxpoint
Matt DeVillier81ae67a2016-11-08 15:04:30 -060028 # SuperIO range is 0x700-0x73f
29 register "gen2_dec" = "0x003c0701"
30
31 register "alt_gp_smi_en" = "0x0000"
32 register "gpe0_en_1" = "0x00000000"
33 register "gpe0_en_2" = "0x00000000"
34 register "gpe0_en_3" = "0x00000000"
35 register "gpe0_en_4" = "0x00000000"
36
Matt DeVillier81ae67a2016-11-08 15:04:30 -060037 register "sata_port_map" = "0x1"
38 register "sata_devslp_disable" = "0x1"
39
Matt DeVillier81ae67a2016-11-08 15:04:30 -060040 # Force enable ASPM for PCIe Port 4
41 register "pcie_port_force_aspm" = "0x10"
42
43 # Enable port coalescing
Angel Ponsaf4bd562021-12-28 13:05:56 +010044 register "pcie_port_coalesce" = "true"
Matt DeVillier81ae67a2016-11-08 15:04:30 -060045
46 # Disable PCIe CLKOUT 1,5 and CLKOUT_XDP
47 register "icc_clock_disable" = "0x01220000"
48
49 # Route all USB ports to XHCI per default
50 register "xhci_default" = "1"
51
52 device pci 13.0 off end # Smart Sound Audio DSP
53 device pci 14.0 on end # USB3 XHCI
54 device pci 15.0 off end # Serial I/O DMA
55 device pci 15.1 off end # I2C0
56 device pci 15.2 off end # I2C1
57 device pci 15.3 off end # GSPI0
58 device pci 15.4 off end # GSPI1
59 device pci 15.5 off end # UART0
60 device pci 15.6 off end # UART1
61 device pci 16.0 on end # Management Engine Interface 1
62 device pci 16.1 off end # Management Engine Interface 2
63 device pci 16.2 off end # Management Engine IDE-R
64 device pci 16.3 off end # Management Engine KT
65 device pci 17.0 off end # SDIO
66 device pci 19.0 off end # GbE
67 device pci 1b.0 on end # High Definition Audio
68 device pci 1c.0 off end # PCIe Port #1
69 device pci 1c.1 off end # PCIe Port #2
70 device pci 1c.2 on end # PCIe Port #3
71 device pci 1c.3 on end # PCIe Port #4
72 device pci 1c.4 on end # PCIe Port #5
73 device pci 1c.5 off end # PCIe Port #6
74 device pci 1d.0 on end # USB2 EHCI
75 device pci 1e.0 off end # PCI bridge
76 device pci 1f.0 on
Matt DeVillier3044af72018-08-01 13:05:14 -050077 chip drivers/pc80/tpm
78 device pnp 0c31.0 on end
79 end
Matt DeVillier81ae67a2016-11-08 15:04:30 -060080 chip superio/ite/it8772f
81 # Skip keyboard init
Elyes Haouas7bde4e82022-12-02 08:42:04 +010082 register "skip_keyboard" = "true"
Matt DeVillier81ae67a2016-11-08 15:04:30 -060083 # Enable PECI on TMPIN3
Joel Linnfb516612024-03-29 14:08:35 +010084 register "TMPIN3.mode" = "THERMAL_PECI"
Matt DeVillier81ae67a2016-11-08 15:04:30 -060085 # Enable FAN2
Joel Linnfb516612024-03-29 14:08:35 +010086 register "FAN2.mode" = "FAN_SMART_SOFTWARE"
Matt DeVillierb8c451e2024-03-25 10:10:31 -050087 register "FAN2.smart.pwm_start" = "30"
Matt DeVillier81ae67a2016-11-08 15:04:30 -060088
89 device pnp 2e.0 off end # FDC
90 device pnp 2e.1 on # Serial Port 1
91 io 0x60 = 0x3f8
92 irq 0x70 = 4
93 end
94 device pnp 2e.4 on # Environment Controller
95 io 0x60 = 0x700
96 io 0x62 = 0x710
97 irq 0x70 = 0x09
98 irq 0xf2 = 0x20
99 irq 0xf4 = 0x0
100 irq 0xfa = 0x12
101 end
102 device pnp 2e.7 on # GPIO
103 io 0x60 = 0x720
104 io 0x62 = 0x730
105 end
106 device pnp 2e.5 off
107 io 0x60 = 0x60
108 io 0x62 = 0x64
109 irq 0x70 = 1
110 end # Keyboard
111 device pnp 2e.6 off
112 irq 0x70 = 12
113 end # Mouse
114 device pnp 2e.a off end # IR
115 end
116 end # LPC bridge
117 device pci 1f.2 on end # SATA Controller
118 device pci 1f.3 on end # SMBus
119 device pci 1f.6 on end # Thermal
120 end
121 end
122end