• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1chip northbridge/intel/sandybridge
2	# IGD Displays
3	register "gfx" = "GMA_STATIC_DISPLAYS(0)"
4
5	# Enable DisplayPort Hotplug with 6ms pulse
6	register "gpu_dp_d_hotplug" = "0x06"
7
8	# Enable Panel as LVDS and configure power delays
9	register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
10	register "gpu_panel_power_cycle_delay" = "5"            # T4: 400ms
11	register "gpu_panel_power_up_delay" = "400"             # T1+T2: 40ms
12	register "gpu_panel_power_down_delay" = "150"           # T3: 15ms
13	register "gpu_panel_power_backlight_on_delay" = "2100"  # T5: 210ms
14	register "gpu_panel_power_backlight_off_delay" = "2100" # TD: 210ms
15
16	# For native gfx
17	register "gpu_cpu_backlight" = "0x1155"
18	register "gpu_pch_backlight" = "0x06100610"
19
20	register "spd_addresses" = "{0x50, 0, 0x52, 0}"
21	register "ec_present" = "1"
22	# FIXME: Native raminit requires reduced max clock
23	register "max_mem_clock_mhz" = "CONFIG(USE_NATIVE_RAMINIT) ? 666 : 800"
24
25	register "usb3.mode" = "2" # Auto
26	register "usb3.hs_port_switch_mask" = "3" # Ports 0 & 1
27	register "usb3.preboot_support" = "0" # No PreOS boot support
28	register "usb3.xhci_streams" = "1" # Sure, lets have streams
29
30	chip cpu/intel/model_206ax
31		device cpu_cluster 0 on end
32
33		register "tcc_offset" = "5"	# TCC of 95C
34	end
35
36	device domain 0 on
37		subsystemid 0x1ae0 0xc000 inherit
38		device ref host_bridge on end # host bridge
39		device ref igd on end # vga controller
40
41		chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
42			# GPI routing
43			#  0 No effect (default)
44			#  1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
45			#  2 SCI (if corresponding GPIO_EN bit is also set)
46			register "alt_gp_smi_en" = "0x0002"
47			register "gpi1_routing" = "1"
48			register "gpi6_routing" = "2"
49
50			register "sata_port_map" = "0x3"
51			# Set max SATA speed to 3.0 Gb/s
52			register "sata_interface_speed_support" = "0x2"
53
54			# Enable EC Port 0x68/0x6C
55			register "gen1_dec" = "0x00040069"
56
57			# EC range is 0x800-0x9ff
58			register "gen2_dec" = "0x00fc0901"
59
60			# EC range is 0x1610-0x161F
61			register "gen3_dec" = "0x0001C1611"
62
63			# Enable zero-based linear PCIe root port functions
64			register "pcie_port_coalesce" = "true"
65
66			register "usb_port_config" = "{
67				{1, 0, 0},  /* P0: USB 3.0 1  (OC0) */
68				{1, 0, 0},  /* P1: USB 3.0 2  (OC0) */
69				{0, 0, 0},  /* P2: Empty */
70				{1, 0, -1}, /* P3: Camera (no OC) */
71				{1, 0, -1}, /* P4: WLAN   (no OC) */
72				{1, 0, -1}, /* P5: WWAN   (no OC) */
73				{0, 0, 0},  /* P6: Empty */
74				{0, 0, 0},  /* P7: Empty */
75				{0, 0, 0},  /* P8: Empty */
76				{1, 0, 4},  /* P9: USB 2.0 (AUO4) (OC4) */
77				{0, 0, 0},  /* P10: Empty */
78				{0, 0, 0},  /* P11: Empty */
79				{0, 0, 0},  /* P12: Empty */
80				{1, 0, -1}, /* P13: Bluetooth (no OC) */
81			}"
82
83			device ref xhci on end # USB 3.0 Controller
84			device ref mei1 on end # Management Engine Interface 1
85			device ref mei2 off end # Management Engine Interface 2
86			device ref me_ide_r off end # Management Engine IDE-R
87			device ref me_kt off end # Management Engine KT
88			device ref gbe off end # Intel Gigabit Ethernet
89			device ref ehci2 on end # USB2 EHCI #2 (AUO4, BlueTooth)
90			device ref hda on end # High Definition Audio
91			device ref pcie_rp1 on end # PCIe Port #1
92			device ref pcie_rp2 on end # PCIe Port #2 (WLAN)
93			device ref pcie_rp3 on end # PCIe Port #3 (Card Reader)
94				register "pcie_aspm[2]" = "0x3"
95			device ref pcie_rp4 off end # PCIe Port #4
96			device ref pcie_rp5 off end # PCIe Port #5
97			device ref pcie_rp6 on end # PCIe Port #6 (LAN)
98			device ref pcie_rp7 off end # PCIe Port #7
99			device ref pcie_rp8 off end # PCIe Port #8
100			device ref ehci1 on end # USB2 EHCI #1 (Camera, WLAN, WWAN)
101			device ref pci_bridge off end # PCI bridge
102			device ref lpc on
103				chip drivers/pc80/tpm
104					device pnp 0c31.0 on end
105				end
106				chip ec/quanta/it8518
107					# 60h/64h KBC
108					device pnp ff.1 on # dummy address
109					end
110				end
111			end # LPC bridge
112			device ref sata1 on end # SATA Controller 1 (HDD/SSD)
113			device ref smbus on end # SMBus Controller
114			device ref sata2 off end # SATA Controller 2 (MSATA)
115			device ref thermal off end # Thermal
116		end
117	end
118end
119