summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t400/variants/r500/overridetree.cb
blob: 79fe00c07ea2e4e51460526569bde3233c664b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
chip northbridge/intel/gm45
	device domain 0 on
		device pci 03.0 off end
		chip southbridge/intel/i82801ix
			register "sata_clock_request"	= "1"
			# Enable PCIe ports 1,2,4,5,6 as slots (Mini * PCIe).
			register "pcie_slot_implemented"	= "0x3b"
			# Set power limits to 10 * 10^0 watts.
			# Maybe we should set less for Mini PCIe.
			register "pcie_power_limits" = "{ { 41, 0 }, { 41, 0 }, { 0, 0 }, { 41, 0 }, { 41, 0 }, { 41, 0 } }"
			register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 1, 0, 0 }"
			device pci 19.0 off end # LAN
			device pci 1c.2 off end # PCIe Port #3
			device pci 1c.4 on # PCIe Port #5
				subsystemid 0x17aa 0x20f3
			end
			device pci 1c.5 on # PCIe Port #6
				subsystemid 0x17aa 0x20f3 # Ethernet NIC
			end
			device pci 1f.0 on # LPC bridge
				subsystemid 0x17aa 0x20f5
				chip ec/lenovo/h8
					register "config1" = "0x05"
					register "config3" = "0x40"
					register "event6_enable" = "0x87"
					register "event7_enable" = "0x09"
					register "event8_enable" = "0x5b"
					register "eventa_enable" = "0x83"
					register "eventb_enable" = "0x00"
				end
			end
			device pci 1f.3 on # SMBus
				subsystemid 0x17aa 0x20f9
				ioapic_irq 2 INTC 0x12
				# eeprom, 4 virtual devices, same chip
				chip drivers/i2c/at24rf08c
					device i2c 54 on end
					device i2c 55 on end
					device i2c 56 on end
					device i2c 57 on end
				end
			end
		end
	end
end