blob: ba8167cda2ac9f5cac32d535d920d5ff4fb2feca [file] [log] [blame]
Patrick Georgi04746fc2015-06-05 18:53:43 +02001chip 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 Pons29e71b12021-06-23 15:50:13 +020012 register "dq_pins_interleaved" = "true"
13
Arthur Heymansdd96ab62021-11-15 20:11:12 +010014 chip cpu/intel/haswell
15 device cpu_cluster 0 on ops broadwell_cpu_bus_ops end
Patrick Georgi04746fc2015-06-05 18:53:43 +020016 end
17
18 device domain 0 on
Arthur Heymans4c4bd3c2022-11-07 13:30:29 +010019 ops broadwell_pci_domain_ops
Patrick Georgi04746fc2015-06-05 18:53:43 +020020 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 Georgi04746fc2015-06-05 18:53:43 +020023
Angel Pons3cc2c382020-10-23 20:38:23 +020024 chip soc/intel/broadwell/pch
Angel Ponsf2a295a2020-10-23 20:40:20 +020025 # 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 Ponsaf4bd562021-12-28 13:05:56 +010041 register "pcie_port_coalesce" = "true"
Angel Ponsf2a295a2020-10-23 20:40:20 +020042
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 Georgi04746fc2015-06-05 18:53:43 +020073 end
Angel Ponsf2a295a2020-10-23 20:40:20 +020074 chip superio/ite/it8772f
75 # Skip keyboard init
Elyes Haouas7bde4e82022-12-02 08:42:04 +010076 register "skip_keyboard" = "true"
Angel Ponsf2a295a2020-10-23 20:40:20 +020077 # Enable PECI on TMPIN3
Joel Linnfb516612024-03-29 14:08:35 +010078 register "TMPIN3.mode" = "THERMAL_PECI"
Angel Ponsf2a295a2020-10-23 20:40:20 +020079 # Enable Thermal Diode on TMPIN2
Joel Linnfb516612024-03-29 14:08:35 +010080 register "TMPIN2.mode" = "THERMAL_DIODE"
Angel Ponsf2a295a2020-10-23 20:40:20 +020081 # Enable FAN2
Joel Linnfb516612024-03-29 14:08:35 +010082 register "FAN2.mode" = "FAN_SMART_SOFTWARE"
Angel Ponsf2a295a2020-10-23 20:40:20 +020083 # Default FAN2 speed
Joel Linnfb516612024-03-29 14:08:35 +010084 register "FAN2.smart.pwm_start" = "30"
Angel Ponsf2a295a2020-10-23 20:40:20 +020085
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 Georgi04746fc2015-06-05 18:53:43 +0200112 end
Angel Ponsf2a295a2020-10-23 20:40:20 +0200113 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 Pons3cc2c382020-10-23 20:38:23 +0200117 end
Patrick Georgi04746fc2015-06-05 18:53:43 +0200118 end
119end