blob: e07cdf299e89e1c955c497c181144da12e9670ed [file] [log] [blame]
Nico Huberefe1fed2013-04-29 18:00:57 +02001chip northbridge/intel/sandybridge
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01002 # IGD Displays
Nico Huberb0b25c82020-03-21 20:35:12 +01003 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
Nico Huberefe1fed2013-04-29 18:00:57 +02004
Arthur Heymanscdb26fd2021-11-15 20:12:02 +01005 chip cpu/intel/model_206ax
6 device cpu_cluster 0 on end
Nico Huberefe1fed2013-04-29 18:00:57 +02007
Arthur Heymanscdb26fd2021-11-15 20:12:02 +01008 register "acpi_c2" = "CPU_ACPI_C6"
9 register "acpi_c3" = "CPU_ACPI_DISABLED"
Nico Huberefe1fed2013-04-29 18:00:57 +020010 end
11
12 device domain 0 on
Arthur Heymansb5df65a2022-11-12 14:51:49 +010013 device ref host_bridge on end # host bridge
14 device ref peg10 on end # PCIe Bridge x16
15 device ref igd on end # vga controller
Nico Huberefe1fed2013-04-29 18:00:57 +020016
17 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
Nico Huberefe1fed2013-04-29 18:00:57 +020018 # Enable all SATA ports 0-5
19 register "sata_port_map" = "0x3f"
20 # Set max SATA speed to 6.0 Gb/s (should be the default, anyway)
21 register "sata_interface_speed_support" = "0x3"
22
23 # TODO: Enable generic LPC decodes...
24 register "gen1_dec" = "0x001c02e1"
25 #register "gen2_dec" = "0x00000000"
26 #register "gen3_dec" = "0x00000000"
27 #register "gen4_dec" = "0x00000000"
28
29 # Disable root port coalescing
Angel Ponsaf4bd562021-12-28 13:05:56 +010030 register "pcie_port_coalesce" = "false"
Nico Huberefe1fed2013-04-29 18:00:57 +020031
Nico Huberee09d9c2015-08-19 15:46:13 +020032 register "xhci_switchable_ports" = "0x0f"
33 register "superspeed_capable_ports" = "0x0f"
34
Arthur Heymansb5df65a2022-11-12 14:51:49 +010035 device ref xhci on end # USB 3.0 Controller
36 device ref mei1 on end # Management Engine Interface 1
37 device ref mei2 off end # Management Engine Interface 2
38 device ref me_ide_r off end # Management Engine IDE-R
39 device ref me_kt off end # Management Engine KT
40 device ref gbe on end # Intel Gigabit Ethernet
41 device ref ehci2 on end # USB2 EHCI #2
42 device ref hda on end # High Definition Audio
Nico Huberefe1fed2013-04-29 18:00:57 +020043
44 # Disabling 1c.0 might break IRQ settings as it enables port coalescing
45 # There are two mini PCIe x1 sockets, so one PCIe port is unrouted
Arthur Heymansb5df65a2022-11-12 14:51:49 +010046 device ref pcie_rp1 on end # PCIe Port #1 mini PCIe x1?
47 device ref pcie_rp2 on end # PCIe Port #2 mini PCIe x1?
48 device ref pcie_rp3 on end # PCIe Port #3 second Ethernet NIC
49 device ref pcie_rp4 on end # PCIe Port #4 third Ethernet NIC
50 device ref pcie_rp5 on end # PCIe Port #5 first Ethernet PHY
51 device ref pcie_rp6 on end # PCIe Port #6 FireWire
52 device ref pcie_rp7 on end # PCIe Port #7 PCIe x1
53 device ref pcie_rp8 on end # PCIe Port #8 mini PCIe x1?
Nico Huberefe1fed2013-04-29 18:00:57 +020054
Arthur Heymansb5df65a2022-11-12 14:51:49 +010055 device ref ehci1 on end # USB2 EHCI #1
56 device ref pci_bridge off end # PCI bridge
57 device ref lpc on #LPC bridge
Nico Huberefe1fed2013-04-29 18:00:57 +020058 chip superio/winbond/w83627dhg
59 device pnp 2e.0 off # Floppy
60 end
61 device pnp 2e.1 off # Parallel Port
62 end
63 device pnp 2e.2 on # Com1
64 io 0x60 = 0x3f8
65 irq 0x70 = 4
66 end
67 device pnp 2e.3 on # Com2
68 io 0x60 = 0x2f8
69 irq 0x70 = 3
70 end
71 device pnp 2e.5 off # Keyboard
72 end
73 device pnp 2e.6 off # SPI
74 end
75 device pnp 2e.307 off # GPIO 1
76 end
77 device pnp 2e.8 off # WDTO#, PLED
78 end
79 device pnp 2e.009 on # GPIO2 -- original firmware sets this on
80 end
81 device pnp 2e.109 on # GPIO3 -- original firmware sets this on
82 end
83 device pnp 2e.209 off # GPIO4
84 end
85 device pnp 2e.309 off # GPIO5
86 end
87 device pnp 2e.a off # ACPI
88 end
89 device pnp 2e.b off # HWM
90 end
91 device pnp 2e.c off # PECI, SST
92 end
93 end #superio/winbond/w83627dhg
94 chip ec/kontron/it8516e
95 # Set CPU Fan to 50°C, System Fan to 75%
96 register "default_fan_mode" = "{ IT8516E_MODE_THERMAL, IT8516E_MODE_PWM }"
97 register "default_fan_target" = "{ 50, 75 }"
98
99 # TODO: Check status when Linux runs
100 device pnp 20e.1 on # Com3
101 io 0x60 = 0x03e8
102 irq 0x70 = 4
103 end
104 device pnp 20e.2 on # Com4
105 io 0x60 = 0x02e8
106 irq 0x70 = 3
107 end
108 device pnp 20e.4 off # System Wakeup
109 end
110 device pnp 20e.5 on # Mouse
111 irq 0x70 = 12
112 end
113 device pnp 20e.6 on # Keyboard
114 io 0x60 = 0x0060
115 io 0x62 = 0x0064
116 irq 0x70 = 1
117 end
118 device pnp 20e.f off # Shared Memory
119 end
120 device pnp 20e.10 off # BRAM / RTC
121 end
122 device pnp 20e.11 on # PM channel 1
123 io 0x60 = 0x0062
124 io 0x62 = 0x0066
125 irq 0x70 = 0
126 end
127 device pnp 20e.12 on # PM channel 2
128 io 0x60 = 0x020c
129 io 0x62 = 0x020d
130 irq 0x70 = 0
131 end
132 device pnp 20e.17 off # PM channel 3
133 end
134 end #ec/kontron/it8516e
135 # TODO: TPM on 4e
136 end # LPC bridge
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100137 device ref sata1 on end # SATA Controller 1
138 device ref smbus on end # SMBus
139 device ref sata2 off end # SATA Controller 2
140 device ref thermal off end # Thermal
Nico Huberefe1fed2013-04-29 18:00:57 +0200141 end
142 end
143end