• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## SPDX-License-Identifier: GPL-2.0-only
2
3chip northbridge/intel/i945
4	# IGD Displays
5	register "gfx" = "GMA_STATIC_DISPLAYS(0)"
6
7	register "gpu_hotplug" = "0x00000220"
8	register "gpu_lvds_use_spread_spectrum_clock" = "true"
9	register "pwm_freq" = "180"
10	register "gpu_panel_power_up_delay" = "250"
11	register "gpu_panel_power_backlight_on_delay" = "2380"
12	register "gpu_panel_power_down_delay" = "250"
13	register "gpu_panel_power_backlight_off_delay" = "2380"
14	register "gpu_panel_power_cycle_delay" = "2"
15
16	device cpu_cluster 0 on ops i945_cpu_bus_ops end		# APIC cluster
17	register "pci_mmio_size" = "768"
18
19	device domain 0 on
20		ops i945_pci_domain_ops
21		device pci 00.0 on # Host bridge
22			subsystemid 0x8086 0x7270
23		end
24		device pci 02.0 on # VGA controller
25			subsystemid 0x8086 0x7270
26		end
27		device pci 02.1 on # display controller
28			subsystemid 0x17aa 0x201a
29		end
30		chip southbridge/intel/i82801gx
31			register "pirqa_routing" = "0x0b"
32			register "pirqb_routing" = "0x0b"
33			register "pirqc_routing" = "0x0b"
34			register "pirqd_routing" = "0x0b"
35			register "pirqe_routing" = "0x0b"
36			register "pirqf_routing" = "0x0b"
37			register "pirqg_routing" = "0x0b"
38			register "pirqh_routing" = "0x0b"
39
40			# GPI routing
41			#  0 No effect (default)
42			#  1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
43			#  2 SCI (if corresponding GPIO_EN bit is also set)
44			register "gpi1_routing" = "2"
45			register "gpi7_routing" = "2"
46
47			register "sata_ports_implemented" = "0x04"
48
49			register "gpe0_en" = "0x11000006"
50			register "alt_gp_smi_en" = "0x1000"
51
52			register "ide_enable_primary" = "true"
53			register "ide_enable_secondary" = "true"
54
55			register "c4onc3_enable" = "true"
56
57			register "c3_latency" = "0x23"
58			register "p_cnt_throttling_supported" = "true"
59
60			register "gen1_dec" = "0x000c0681"
61			register "gen2_dec" = "0x000c1641"
62			register "gen4_dec" = "0x001c0301"
63
64			device pci 1b.0 on # Audio Controller
65				subsystemid 0x8384 0x7680
66			end
67			device pci 1c.0 on end # Ethernet
68			device pci 1c.1 on end # Atheros WLAN
69			device pci 1c.2 off end # PCIe #3
70			device pci 1c.3 off end # PCIe #4
71			device pci 1c.4 off end # PCIe #5
72			device pci 1c.5 off end # PCIe #6
73
74			device pci 1d.0 on # USB UHCI
75				subsystemid 0x8086 0x7270
76			end
77			device pci 1d.1 on # USB UHCI
78				subsystemid 0x8086 0x7270
79			end
80			device pci 1d.2 on # USB UHCI
81				subsystemid 0x8086 0x7270
82			end
83			device pci 1d.3 on # USB UHCI
84				subsystemid 0x8086 0x7270
85			end
86			device pci 1d.7 on # USB2 EHCI
87				subsystemid 0x8086 0x7270
88			end
89			device pci 1e.0 on end # PCI bridge
90			device pci 1e.2 off end # AC'97 Audio
91			device pci 1e.3 off end # AC'97 Modem
92			device pci 1f.0 on # PCI-LPC bridge
93				subsystemid 0x8086 0x7270
94			end
95			device pci 1f.1 on # IDE
96				subsystemid 0x8086 0x7270
97			end
98			device pci 1f.2 on # SATA
99				subsystemid 0x8086 0x7270
100			end
101			device pci 1f.3 on # SMBUS
102				subsystemid 0x8086 0x7270
103			end
104		end
105	end
106end
107