blob: b9ddf75fb146c4fa49ad3886ea278ecd0845d5fc [file] [log] [blame]
Patrick Georgi0588d192009-08-12 15:00:51 +00001chip northbridge/intel/i945
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01002 # IGD Displays
3 register "gfx.ndid" = "3"
4 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
Patrick Georgi0588d192009-08-12 15:00:51 +00005
Stefan Reinauer0aa37c42013-02-12 15:20:54 -08006 device cpu_cluster 0 on
Patrick Georgi0588d192009-08-12 15:00:51 +00007 chip cpu/intel/socket_mFCPGA478
Patrick Georgi8d313682010-05-05 13:12:42 +00008 device lapic 0 on end
Patrick Georgi0588d192009-08-12 15:00:51 +00009 end
10 end
11
Stefan Reinauer4aff4452013-02-12 14:17:15 -080012 device domain 0 on
Patrick Georgi0588d192009-08-12 15:00:51 +000013 device pci 00.0 on end # host bridge
14 device pci 01.0 off end # i945 PCIe root port
Myles Watsond27c08c2009-11-06 23:42:26 +000015 device pci 02.0 on end # vga controller
Patrick Georgi0588d192009-08-12 15:00:51 +000016 device pci 02.1 on end # display controller
17
18 chip southbridge/intel/i82801gx
Vladimir Serbinenkoc746dcb2014-11-15 20:40:04 +010019 register "pirqa_routing" = "0x0b"
20 register "pirqb_routing" = "0x0b"
21 register "pirqc_routing" = "0x0b"
22 register "pirqd_routing" = "0x0b"
23 register "pirqe_routing" = "0x0b"
24 register "pirqf_routing" = "0x0b"
25 register "pirqg_routing" = "0x0b"
26 register "pirqh_routing" = "0x0b"
Patrick Georgi0588d192009-08-12 15:00:51 +000027
28 # GPI routing
29 # 0 No effect (default)
30 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
31 # 2 SCI (if corresponding GPIO_EN bit is also set)
32 register "gpi13_routing" = "1"
33
34 register "ide_legacy_combined" = "0x1"
35 register "ide_enable_primary" = "0x1"
36 register "ide_enable_secondary" = "0x1"
37 register "sata_ahci" = "0x0"
Vladimir Serbinenkoab83ef02014-10-25 15:18:25 +020038 register "c3_latency" = "85"
39 register "p_cnt_throttling_supported" = "0"
Patrick Georgi0588d192009-08-12 15:00:51 +000040
41 device pci 1b.0 on end # High Definition Audio
42 device pci 1c.0 on end # PCIe
43 device pci 1c.1 on end # PCIe
44 device pci 1c.2 on end # PCIe
45 #device pci 1c.3 off end # PCIe port 4
46 #device pci 1c.4 off end # PCIe port 5
47 #device pci 1c.5 off end # PCIe port 6
48 device pci 1d.0 on end # USB UHCI
49 device pci 1d.1 on end # USB UHCI
50 device pci 1d.2 on end # USB UHCI
51 device pci 1d.3 on end # USB UHCI
52 device pci 1d.7 on end # USB2 EHCI
53 device pci 1e.0 on end # PCI bridge
Stefan Reinauer14e22772010-04-27 06:56:47 +000054 #device pci 1e.2 off end # AC'97 Audio
Patrick Georgi0588d192009-08-12 15:00:51 +000055 #device pci 1e.3 off end # AC'97 Modem
56 device pci 1f.0 on # LPC bridge
57 chip superio/winbond/w83627thg
58 device pnp 2e.0 off # Floppy
59 end
Patrick Georgia4700192011-01-27 07:39:38 +000060 device pnp 2e.1 on # Parallel port
61 io 0x60 = 0x378
62 irq 0x70 = 5
Patrick Georgi0588d192009-08-12 15:00:51 +000063 end
64 device pnp 2e.2 on
65 io 0x60 = 0x3f8
66 irq 0x70 = 4
67 end
68 device pnp 2e.3 on
69 io 0x60 = 0x2f8
70 irq 0x70 = 3
71 irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq
72 end
73 device pnp 2e.5 on # Keyboard+Mouse
74 io 0x60 = 0x60
75 io 0x62 = 0x64
76 irq 0x70 = 1
77 irq 0x72 = 12
78 irq 0xf0 = 0x82 # HW accel A20.
79 end
80 device pnp 2e.7 on # GPIO1, GAME, MIDI
81 io 0x62 = 0x330
82 irq 0x70 = 9
83 end
84 device pnp 2e.8 on # GPIO2
85 # all default
86 end
87 device pnp 2e.9 on # GPIO3/4
88 irq 0x30 = 0x03 # does this work?
89 irq 0xf0 = 0xfb # set inputs/outputs
90 irq 0xf1 = 0x66
91 end
92 device pnp 2e.a off # ACPI
93 end
94 device pnp 2e.b on # HWM
95 io 0x60 = 0xa00
96 irq 0x70 = 0
97 end
98
99 end
100 chip superio/winbond/w83627thg
101 device pnp 4e.0 off # Floppy
102 end
103 device pnp 4e.1 off # Parport
104 end
105 device pnp 4e.2 on # COM3
106 io 0x60 = 0x3e8
Vladimir Serbinenkoc746dcb2014-11-15 20:40:04 +0100107 irq 0x70 = 6
Patrick Georgi0588d192009-08-12 15:00:51 +0000108 end
109 device pnp 4e.3 on # COM4
110 io 0x60 = 0x2e8
Vladimir Serbinenkoc746dcb2014-11-15 20:40:04 +0100111 irq 0x70 = 6
Stefan Reinauerde3206a2010-02-22 06:09:43 +0000112 irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq
Patrick Georgi0588d192009-08-12 15:00:51 +0000113 end
114 device pnp 4e.5 off # Keyboard
115 end
116 device pnp 4e.7 off # GPIO1, GAME, MIDI
117 end
118 device pnp 4e.8 off # GPIO2
119 end
120 device pnp 4e.9 off # GPIO3/4
121 end
122 device pnp 4e.a off # ACPI
123 end
124 device pnp 4e.b off # HWM
125 end
126 end
127
128 end
129 #device pci 1f.1 off end # IDE
130 device pci 1f.2 on end # SATA
131 device pci 1f.3 on end # SMBus
132 #device pci 1f.4 off end # Realtek ID Codec
133 end
134 end
135end